Skip to main content

Raw register dump analysis with Trace32 - Community / Debugging - Lauterbach Support

0

Raw register dump analysis with Trace32 Resolved

Hello,

We’re encountering a very rare issue that occurs so infrequently that we cannot rely solely on the few JTAG-wired devices available for debugging.

To work around this, we collect a raw register dump (approximately 2MB of data) whenever the issue arises.

I’ve noticed that Trace32 provides a very convenient register view showing register names and values, which works well when connected to a live device via JTAG.

My question is: is it possible to generate the same register view from a raw register dump file, without requiring a live JTAG connection?

We attempted to flash the register values into a JTAG-wired device, but this approach proved difficult since not all registers are writable.

Do you have any suggestions or recommended workflows for visualizing or analyzing raw register dumps in Trace32?

Thank you in advance for your support.

Best regards,
Martin

Comments (4)

Khaled Jmal

Hello Martin,

you can use a TRACE32 Instruction Set Simulator. Refer to How can I start TRACE32 in Simulator Mode?

Regards,

Khaled


Maxime ABOUT
Hello Khaled, Thanks you for the link, It was helpful but I still have a hard time to make it works. Here what I tried: "C:\Program Files\T32\bin\windows64\t32marm64.exe" -c "C:\Program Files\T32\configsim.t32" Then I ran the following script : SYStem.CPU LS1046A SYStem.Option TRST OFF SYStem.CONFIG SLAVE OFF ; this instance controls the resets CORE.ASSIGN 1. ; select only master core Trace.DISable SYStem.JtagClock CTCK 1MHz SYStem.mode Attach Data.LOAD.Binary "C:\Users\Desktop\freeze_dpaa_05092025.tar\freeze_dpaa_05092025\freeze\qman_freeze.bin.boot" 0x1880000-0x188FFFF PER.view But when I navigate into the memory view, every value seems to be by default. Did I miss something ? Can you help us please ? Best regards. Maxime
Khaled Jmal

Hello Maxime,

the Data.LOAD.Binary commands downloads the binary to teh given memory address. You are using 0x1880000-0x188FFF with a single dash as a parameter, this is a substraction and not a range i.e. TRACE32 will compute the operation 0x1880000 minus 0x188FFF then downloads the data there.

Try: Data.LOAD.Binary "C:\Users\Desktop\freeze_dpaa_05092025.tar\freeze_dpaa_05092025\freeze\qman_freeze.bin.boot" 0x1880000

Regards,

Khaled


Martin VENÇON
Hello Khaled, Thank you for your help. We got everything we wanted, you can close the ticket! Have a nice day. Best regards, Martin