Seven Tips for Debugging like a PRO: (7) Use PinView to Check Register Status
Scenario
-I’m debugging a customer project but cannot access the source project.
-Customers use IAR EWARM to develop projects but I only have KEIL μVision right now.
Debug Tips
-Use PinView with lua file to access MCU memory without using KEIL μVision or IAR EWARM.
- Access register to verify hardware circuit
- Dump SRAM data
- Support lua language to quickly implement test program
- https://www.lua.org/
1.Run the lua file script.
2.PinView log window shows the changes.
- my1.lua – Dump SRAM data
- my.lua – Access GPIOA register to toggle IO