Problems when CodeWarrior flash u-boot to P2020RDB-PCA

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

Problems when CodeWarrior flash u-boot to P2020RDB-PCA

Jump to solution
1,335 Views
baijack
Contributor II

Hi there.

We accidentally got uboot erasred from our p2020rdb-pca board.

And we got a CodeWarrior USB TAP, so we flash the uboot.bin file to p2020rdb-pca by codewarrior.

We follow the steps in cheatsheet but in the end we got a error as the image below:

6307_6307.jpgerror.jpg

It says Core not responding, is there any problem with our board or we dont do it right on software?

Thx.

Labels (1)
1 Solution
848 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

3. You can make directly the connect target from GUI. Basically, this will only run the tcl initialization file on the target (no application is made/built or downloaded).

P2020RDB_ConnectTarget.png

4. This is not so good. The ASLEEP led should be ON only during reset operation, just after that this should be OFF. Please try and the attached jed file for CPLD and let me know the results.

Regards,

Marius

View solution in original post

0 Kudos
5 Replies
848 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

1. What CW version are you using?

2. Did you make a P2020RDB-PC project?

3. Please use the connect target and the default P2020RDB-PC flash programmer target task.

4. Please double-check the DIP SW settings to be according with the ones from README file.

Let me know the results,

Marius

0 Kudos
848 Views
baijack
Contributor II

Hi,

Thanks for your reply.

   1. The CW version is 10.3

   2. Yes,we did.

   3. We don't know what do you mean about the "connect target"

   4. We checked the SW settings and reflash the CPLD JED file.

     There seems to have some new problem, the ASLEEP LED is on and we got a new error, display as below:

aaaaa.jpg

It seems that p2020 is on sleep mode, how can we wake it up? or there is other reason for this?

Thx again.

0 Kudos
849 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

3. You can make directly the connect target from GUI. Basically, this will only run the tcl initialization file on the target (no application is made/built or downloaded).

P2020RDB_ConnectTarget.png

4. This is not so good. The ASLEEP led should be ON only during reset operation, just after that this should be OFF. Please try and the attached jed file for CPLD and let me know the results.

Regards,

Marius

0 Kudos
848 Views
baijack
Contributor II

Hi,

Thanks for your reply.

3. We did as you showed but still the same error.

4. The jed file you attached can't be flashed, says ' The data file may not be valid for the device selected.'

     The jed file we used before is p1021combo_rev4.1.jed, and that is fine to flash.

Regards,

Bai

0 Kudos
848 Views
marius_grigoras
NXP Employee
NXP Employee

So, indeed seems to be a hardware issue regarding your custom board. You can check the steps suggested by Heinz here [1].

Regards,

Marius

[1] https://community.freescale.com/message/351886?et=watches.email.thread#351886

0 Kudos