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.

PinViewLua1

PinViewLua2

2.PinView log window shows the changes.

Pinview record

  • my1.lua – Dump SRAM data

my1.lua – Dump SRAM data

  • my.lua – Access GPIOA register to toggle IO

my.lua – Access GPIOA register to toggle IO

This website uses cookies to ensure you get the best experience on our website. Learn more
OK