Dear all,
First, i hope i am in the correct section of the forum, and i apologize if that's not the case.
For a project, i am developing using MBED for a NXP LPC54114 MCU. I am able to download MBED-based binaries on the LPCXpresso 54114 evaluation board (after updating the firmware of the on-board Link2 probe based on the LPC43xx).
However, my code will finally be deployed on a custom board that includes the LPC54114 but not the LPC43xx. So, i have tried downloading some code on the target without using the Link2 probe, but i didn't succeed.
More specifically, I am trying to download a simple "blinky LED" example following these steps:
1. I reset my board while holding switch ISP0 to boot in "USB Mass Storage" mode.
2. Doing that, the "CRP_DISABLD" volume is automatically mounted on my system, and contains a "firmware.bin" file.
3. I delete the old firmware.bin and copy the new binary generated by MBED CLI on the volume (after renaming it to "firmware.bin" as well).
4. I unplug/safely disconnect/reset the board (i tried all three ways) and restart it.
However, the downloading clearly fails as the board restarts in "USB Mass Storage" mode again.
Notice that, following exactly the same method, i am able to download a similar blink LED example compiled within the original "LPCXpresso IDE" library, without using MBED.
So, the problem is definitely related to the compilation performed by MBED CLI. However, i don't know what i should change in my compilation options (mbed_app.json, targets.json, etc.) to make it work. Do you have any suggestion?
Thanks in advance.
Daniele
Dear all,
First, i hope i am in the correct section of the forum, and i apologize if that's not the case.
For a project, i am developing using MBED for a NXP LPC54114 MCU. I am able to download MBED-based binaries on the LPCXpresso 54114 evaluation board (after updating the firmware of the on-board Link2 probe based on the LPC43xx).
However, my code will finally be deployed on a custom board that includes the LPC54114 but not the LPC43xx. So, i have tried downloading some code on the target without using the Link2 probe, but i didn't succeed.
More specifically, I am trying to download a simple "blinky LED" example following these steps:
1. I reset my board while holding switch ISP0 to boot in "USB Mass Storage" mode.
2. Doing that, the "CRP_DISABLD" volume is automatically mounted on my system, and contains a "firmware.bin" file.
3. I delete the old firmware.bin and copy the new binary generated by MBED CLI on the volume (after renaming it to "firmware.bin" as well).
4. I unplug/safely disconnect/reset the board (i tried all three ways) and restart it.
However, the downloading clearly fails as the board restarts in "USB Mass Storage" mode again.
Notice that, following exactly the same method, i am able to download a similar blink LED example compiled within the original "LPCXpresso IDE" library, without using MBED.
So, the problem is definitely related to the compilation performed by MBED CLI. However, i don't know what i should change in my compilation options (mbed_app.json, targets.json, etc.) to make it work. Do you have any suggestion?
Thanks in advance.
Daniele