On Thu, Apr 20, 2017 at 4:16 PM, marko kiiskila <[email protected]> wrote:
> Does flash erase disable interrupts? > Yes. I first thought that might be the issue, but if I remove those lines, I still get the same disconnect so I think not https://github.com/apache/incubator-mynewt-core/blob/master/hw/mcu/nordic/nrf51xxx/src/hal_flash.c#L161 Im not so worried about battery as holding a connection and erasing a bunch of flash is also battery intensive. I can totally see negotiating 'worse' parameters in order to upload a new image, then resetting that after you're done.
