debug iMX.6 with trace32

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

debug iMX.6 with trace32

2,118 Views
xiechangwu
Contributor I

I'm using Lauterbach Trace32 debugger to debug iMX6Q, linux 3.0.35;

The linux sytsem startup with uboot&uImag,  then load vmlinux with /nocde option;

System may cause prefetch abort at many normal breakpoints, anyone can help me?

Errors before kernel crash:Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x2ab05354

T32 scripts:

SYStem.down

SYStem.CPU

IMX6QUAD CORE.ASSIGN 1

SYStem.Option ResBreak OFF

SYStem.Option WaitReset 1.3s

SYStem.Option DACR ON ; give Debugger global write permissions

TrOnchip.Set DABORT OFF ; used by Linux for page miss!

TrOnchip.Set PABORT OFF ; used by Linux for page miss!

TrOnchip.Set UNDEF OFF ; my be used by Linux for FPU detection ;

SYStem.Option MMUSPACES ON ; enable space ids to virtual addresses

system.JtagClock 1MHz

Trace.METHOD Onchip

SYStem.attach

SETUP.IMASKASM ON ; lock interrupts while single stepping

0 Kudos
Reply
2 Replies

1,885 Views
mahi
Contributor IV

You have paid a lot of money for your debug interface and also for support, so you are free to make use of it.

--> TRACE32® Technical Support Contacts 

--> TRACE32® Support Request / Bug Report Form 

I have always got really good help from them (mostly more than I expected).

0 Kudos
Reply

1,885 Views
b36401
NXP Employee
NXP Employee

We can suggest you common Lauterbach documentation:
http://www2.lauterbach.com/pdf/app_t32start.pdf

0 Kudos
Reply