11 years, 9 months ago.

mbed files

If I look at the files in the mbed and I see 2 files e.g. file_a.bin and file_b.bin, is there a way to select and run them from the mbed directly? At present I am always downloading a file to the mbed, pressing the reset button to run it.

Thank you.

2 Answers

11 years, 9 months ago.

If they are the only 2 files on the mbed, you could change the extension on the one you don't want to boot, then reset the mbed with the mbed_reset() function. The inbuilt file system doesn't set timestamps which is very inconvenient.

Accepted Answer
11 years, 9 months ago.

mbed will use newest timestamp binary. So, I don't know how to select from the mbed directory. If you want to select, you should better to "touch" the binary file from your PCs.