Hello everybody.
I'm new to MCUXpresso.
I have set up a project in MCUXpresso for our custom hardware which comprises a LPC54005 MCU.
I have downloaded an imported the LPC54005 SDK, made a project.
I can build the "Hello World" example that is provided with the SDK without errors.
USB enumeration works, the LPC is visible in the Windows device manager (LPC resp. target HW is connected via USB).
DFU-UTIL does see the DFU device when the Board/LPC is connected and powered.
But so far I have not been able to run the program. There is a "launching failed" error:
Question: Is it correct that I should be able to download and run the program using just the USB connection to the target and MCUXpresso ?
I don't need any other external Debugger or Programming HW, correct ?
What are possible causes/reasons that prohibit the launch of the program ?
Thanks
Hello
I hope you are well.
Is it correct that I should be able to download and run the program using just the USB connection to the target and MCUXpresso ?
>> You will need some tools for this(blhost) is this mode USB will be able to connect to ROM boot. You can refer to this document: [LPC54XXX]: How To Use USB Port To Update Firmware... - NXP Community
The difference of the document and what you are doing is that you are entering ISP mode at power-up so you only need to load the binary.
I don't need any other external Debugger or Programming HW, correct ?
>>Not necessarily, although it is recommended if you want to debug/program directly through MCUxPresso however you can program your HW with other tools; MCUXpresso only to create the image.
What are possible causes/reasons that prohibit the launch of the program ?
>>Image not written correctly, MCUXpresso needs a debugger.
Best regards,
Omar