Hello colleagues!
I move step by step into the world of Mbed OS.
I mastered esp8266 support and decided to move on to more complex things, for which I decided to master Mbed - remote firmware download (FOTA, IAP).
I downloaded and compiled the projects mbed-os-example-pelion-5 and mbed-os-example-pelion under Mbed OS versions 5.xx and 6.xx.
When I download the program to the NUCLEO-F411RE board, I see only one message in the serial terminal window: Mbed Bootloader.
From my point of view, Bootloader does not transfer control to the main program. Perhaps Bootloader is waiting for some kind of external influence (command, button)?
I tried to compile the project under Mbed IDE and Keil Studio - the result is the same.
I can’t compile the project under Keil uVision5, more than 100 errors.
Someone successfully made a project with Mbed Bootloader in Pelion for NUCLEO-F411RE or any NUCLEO board and what could be the reason?
I know there is a separate forum for Pelion, but Pelion doesn’t seem to have anything to do with it yet!
Why is …/mbed-os-example-pelion-5.NUCLEO_F411RE_header.hex file and not * .bin file? .
Here’s a post from Keil Studio:
Using ROM regions bootloader, header, application in this build.
Region bootloader: size 0x8000, offset 0x8000000
Region header: size 0x70, offset 0x8008000
Region application: size 0x77c00, offset 0x8008400
link mbed-os-example-pelion-5.NUCLEO_F411RE
L3912W: Option ‘legacyalign’ is deprecated.
elf2bin mbed-os-example-pelion-5.NUCLEO_F411RE
Merging regions
Filling region bootloader with /tmp/chroots/ch-cc4ac89c-cbf1-48d5-852a-daecd5f7cc5f/src/bootloader/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.1.0.bin
Filling region header with /tmp/chroots/ch-cc4ac89c-cbf1-48d5-852a-daecd5f7cc5f/build/mbed-os-example-pelion-5.NUCLEO_F411RE_header.hex
Filling region application with /tmp/chroots/ch-cc4ac89c-cbf1-48d5-852a-daecd5f7cc5f/build/mbed-os-example-pelion-5.NUCLEO_F411RE_application.bin
Space used after regions merged: 0x609e0
Merging regions
Filling region application with /tmp/chroots/ch-cc4ac89c-cbf1-48d5-852a-daecd5f7cc5f/build/mbed-os-example-pelion-5.NUCLEO_F411RE_application.bin
Space used after regions merged: 0x585e0
Build succeeded
BR, Vadim