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

本網站使用cookie作為與網站互動時識別瀏覽器之用,瀏覽本網站即表示您同意本網站對cookie的使用及相關隱私權政策
OK