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.

  1. Reset Options choose “Reset: None”
  2. Disable “Update Target before Debugging”

7 advanced tips one-1

7 advanced tips one-2