rpi3008
Posts: 7
Joined: Wed Jan 02, 2013 9:13 am

ARM JTAG Debugging Anyone?

Thu Jan 24, 2013 11:40 am

Hey Forum,

Has anyone tried debugging linux kernel via Lauterbach's Hardware ICD ??

I could hack the signals to GPIO pins (setting the proper alternate functions via a linux module) , and was able to perform the basic "STOP" , "GO" commands via T32 (Trace32) IDE.

When I stop the target using the F7 (STOP) key, the ARM core halts...
and when I run the target again via F8 (GO)...the ARM core is in "running" state.....
However, the problem I face is , at this time..the GUI updates have stopped. My Keyboard and Mouse are still alive (confirmed by checking the LED of my mouse still glowing)

My query / doubt is ........although the T32 IDE shows that the target (Raspberry Pi) is running..then why isn't the UI frames (so to say mouse pointer on screen) being updated on the screen when i move my mouse??

Any help / pointers to the root cause is deeply appreciated.
Thanks
-=-
Br,
./rpi3008

rpi3008
Posts: 7
Joined: Wed Jan 02, 2013 9:13 am

Re: ARM JTAG Debugging Anyone?

Mon Jan 28, 2013 6:05 am

Hey Forum,

Fortunately, I found the solution to the problem I had posted here....Had to go thru T32 (Trace32's help files)

It seems , the problem happened only in the older T32 software distribution. The one I had been using was quite old (around 3 years old).

I tried using a newer distribution, and it worked seamlessly on the latest T32 software. :mrgreen: :geek:

-=-
Br.
./rpi3008

Heythem
Posts: 1
Joined: Mon Oct 21, 2013 9:26 am

Re: ARM JTAG Debugging Anyone?

Wed Oct 30, 2013 12:44 am

Hi

I'm trying to do JTAG debugging at kernel level using openocd, however I'm having trouble setting the gpio's in the right alternate functions

could you please provide the code for the module you used to do this

Thanks

Return to “General discussion”