Flashing external Flash Over The Air?

At the moment I use dfu-util to flash the external flash with the USB cable. Is it possible to flash the external flash Over The Air (OTA) in the same way as we can do for the application?


1 Like

It’s not a out-of-the-box feature and you would need to modify possibly the bootloader or main firmware to get this working.

This is a feature we’ve been discussing internally. Since we’ve already built a system for pushing binaries to external flash for OTA firmware updates, I think it wouldn’t be too hard to add another message type for writing to other regions of flash and expose it via the API. If this is something you guys would like us to prioritize, please feel free to cast your vote here! :smile:


1 Like

Maybe the priority should be the user-functions to access the external flash or even CC3000 EEPROM? That’s a long over due function though this might be much easier to implement :smiley:

1 Like

Hmm, I agree better support for that would be awesome. I don’t know the status of that feature, but I can check with the firmware guys. :slight_smile:

so squeeze them :smiley: Would also love to hear about the other spark core versions in the planning (even is it’s just conceptual) and the china photos @dave :stuck_out_tongue:


I would definitely like the feature of OTA writing to the external flash memory.

How soon can we expect such a feature?

The PR to support such a feature is over here:

core-common-lib changes:

core-communication-lib changes:

core-firmware changes:

Following additions have been made:
1)Serial flashing firmware via USB/USART (Serial/Serial1/Serial2) using YMODEM protocol.
2)Serial flashing files to any location on External Flash.
3)OTA flashing files to any location on External Flash.

There’s some work to be done on the cloud-server side for 3) to test this feature end-to-end. Hopefully we’ll surely get this feature available in our next release cycle.

@satishgn, I’m just wondering what’s the motivation behind implementing the Serial flash protocol instead of bugfixes? :slight_smile:

@kennethlimcp, we’ve been working on both new feature additions and bug-fixes together, but as you said we’ll giving now more priority to fix the backlog issues. Will discuss with the team on this. Thanks for the reminder :smile:


Any update? Flashing over the air from my own filesystem is of particular interest to me.