Hi @KAVIN7
Based on the information you provided, I understand that you first flash the application using Debug Configurations, where the code runs correctly, and afterward you attempt to flash it again using a Run Configuration.
Since the application behaves as expected when launched in Debug mode, a possible cause of the issue could indeed be an incorrect Run Configuration.
Another important point to consider is what happens after resetting the MCU. If the program runs only while debugging but stops working after a reset, it is possible that the code is being loaded into RAM instead of Flash. When code is placed in RAM, it does not persist after a reset or power cycle, which would explain why it works immediately after flashing in Debug mode but not afterward.
Lastly, because you are using an EVB and, as I understand, relying on the onboard debugger (OpenSDA), please keep in mind that OpenSDA uses PEmicro firmware. This is important because, as you can see in your project’s Run Configurations, there is no existing Run Configuration for PEmicro, unlike the default Debug Configuration automatically generated for the PEmicro interface.
BR, VaneB