Hello,
I am currently working on a software based on NXP5504 with IAR and J-link
I have a strange issue. If i launch the software from the development tool, then the software start.
But if the software is launch in stand alone mode (not in debug mode from the development tool), then the software doesn’t start.
The +3V3 power supply is correct. The external Reset Pin is not used.
Do you have any idea about the possible cause of this issue ?
Regards,
Not very much specific information, but you can try the following approaches.
1. Is it the same firmware, i.e. not one a debug and the other a release build ? If it is not the same, check for differences.
2. Check the startup code. I know at least one toolchain that has implemented an infinite wait loop in the reset handler, to catch the debugger. Such debug versions don't run standalone.
3. There might be real issues, probably related to timing. Often, this is clock setup or Flash init (speed and waitstates). You can add instrumentation code (GPIO toggle, UART, ...) to see were it gets stuck without a debugger, and gradually narrow down the responsible code line(s).