how to debug boot loaded rcw by usb tap

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

how to debug boot loaded rcw by usb tap

Jump to solution
4,376 Views
jiachaozhang
Contributor II

Hi NXP: 

        I  use jtag usb tap to debug T2080 rdb boot,   I load rcw by usb tap, 

        but ,  the rcw  readed by boot is not equal to the rcw loaded by usb tap;

       please look up attachment for more detail;

        I want to know how to debug boot loaded rcw by usb tap; 

       thinks a lot!

1 Solution
3,965 Views
ufedor
NXP Employee
NXP Employee

Why in the "Attach" configuration you have enabled initialization script???

Please note that "Attach" should establish connection with already initialized processor - in your case it should be done by U-Boot.

View solution in original post

0 Kudos
9 Replies
3,965 Views
jiachaozhang
Contributor II

thinks ufedor;

I can attach T2080 by usb tap to debug uboot step by step

0 Kudos
3,965 Views
jiachaozhang
Contributor II

in attachment ,  "boot-log.txt "  is uboot log

0 Kudos
3,965 Views
jiachaozhang
Contributor II

please look up attachment

thinks a lot!

0 Kudos
3,966 Views
ufedor
NXP Employee
NXP Employee

Why in the "Attach" configuration you have enabled initialization script???

Please note that "Attach" should establish connection with already initialized processor - in your case it should be done by U-Boot.

0 Kudos
3,965 Views
jiachaozhang
Contributor II

thinks a lot!

now I want to debug uboot  by usb tap,    using rcw in flash.

 while I direct start  uboot , the uboot log print rcw is right, and uboot start  ok;

but while i use usb tap to debug uboot,  using rcw in flash, the uboot can not start ; and uboot log print error(ddr error), please look up attachment

how do i debug uboot using usb tap ? 

thinks a lot!

0 Kudos
3,965 Views
ufedor
NXP Employee
NXP Employee

> but while i use usb tap to debug uboot,  using rcw in flash, the uboot can not start

What exactly you have done in this case?

There is no attachment.

0 Kudos
3,965 Views
ufedor
NXP Employee
NXP Employee

You wrote:

>  the rcw  readed by boot is not equal to the rcw loaded by usb tap

If you describe the RCW override, then the described behaviour is by design.

What exactly you want to debug?

0 Kudos
3,965 Views
jiachaozhang
Contributor II

HI ufedor:

          I want to debug boot with rcw loaded by usb tap;

          but I find the rcw loaded by usb tap can not    become effective;   

          could  you tell me how to load rcw by usb tap to debug boot ? 

           thinks a lot!

0 Kudos
3,965 Views
ufedor
NXP Employee
NXP Employee

Please refer to the attached screenshot for the RCW override configuring.