I am using a PEmicro Multilink to develop and flash code into my target board with IAR Embedded Workbench. This works fine when the debugger is connected, and I get a UART prompt and some flashing LEDs (to let me know the firmware is running).
If I remove the debugger and cycle power the code does not appear to work: no UART prompt and no flashing LEDs.
When flashing I get the warning below, so I assume that I've got something improperly set in either my linker command file or project settings. Most of the code I'm using, at least for start-up, is from NXP's RTD (version 4.4.2.0.0) for the processor I'm using.
Any insight into how to resolve this would be appreciated. Thank you in advance.
Hi Andy_B,
Looks more related to IAR, please contact IAR's technical support. I'm not familiar with the use of IAR, but maybe you can refer to this: https://www.iar.com/knowledge/support/technical-notes/general/creating-a-bootloader-for-cortex-m/
Also, have you tried the 'Attach to Running Target' feature to see where the program goes wrong?
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------