Wireless bootloader

19 Dec 2011

Hi all, I'm designing an autonomous robot and it'd be nice if I could change the program on the go, wirelessly. I'm planning to upload the new binary on the Mbed's flash disk, then delete the previous binary and finally reset the mbed. Right now I simply can't remove any file from the disk. The C function - remove("FileName.FileExtension") - just does not work. Is it something the mbed library does not cover or is it the flash disk that is not accessible for this operation? Regards, Audren

25 Dec 2011

Hi,

"it'd be nice if I could change the program on the go, wirelessly."

Try this.

http://mbed.org/cookbook/FirmwareUpdater

When I have new code to install on the MBED in my shop (100 meters away) , I place code on the MBED web space and code is automatically downloaded in to the USB disk space, rebooted and uploaded into the MBED system Flash. New MBED firmware remotly updated.

Shin did a very good job explaining the application code that you can incorporate into your Robot project for remote code update.

Good luck!

Jeff