2018-07-27 04:04 AM
The device used to work fine even when not in debug mode. However, after some tweaks in the clock configuration, the device all of a sudden stopped working even the simplest of the program like toggling a GPIO pin. The same program works well fine in debug mode. Even the clock configuration has been set right(verified it with calculated timer interrupt) and works fine when in debug mode. However, when the chip is brought out of debug mode the output stops working as intended. What might have gone wrong here?