Seven Tips for Debugging like a PRO: (1) Enter Debug Mode without Chip Reset
Scenario
An unexpected error occurs and …
- It takes a long time to recreate the product failure.
- Not sure how to recreate the failure situation.
- MCU runs into an unexpected loop caused by unexpected input value from external components (e.g. over spec input value from a sensor).
Debug Tips
Keep the running state and then enter debug mode to check the PC counter in KEIL μVision IDE.
- Reset Options choose “Reset: None”
- Disable “Update Target before Debugging”