Flash file to target using Codewarrior in T2080RDB

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

Flash file to target using Codewarrior in T2080RDB

1,201 Views
anshulkhare
Contributor III

Hello,

I am trying to flash a binary in NOR flash using Code warrior  tap on board "T2080-RDB"

I have selected a file to dump but fail to do so please find the below logs for reference.

fl::target -lc "manoj2"
fl::target -b 0x2000 0x30000
fl::target -v off -l off
cmdwin::fl::device -d "JS28F00AM29EWL" -o "64Mx16x1" -a 0xe8000000 0xefffffff
cmdwin::fl::protect all off
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Diagnostics Driver ...
Reading flash ID ...
Unprotecting all sectors...
Unprotecting ...
Unprotecting ....
Unprotecting .....
Unprotecting ......
Unprotecting .......
Unprotect Command Succeeded
cmdwin::fl::image -f "D:\\SPDP\\uImage--4.1-r0-t2080rdb-64b-20180918125200.bin" -t "Binary/Raw Format" -re on -r 0xe8000000 0xefffffff -oe on -o 0x0
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Image size is 0 bytes, nothing to erase.
Nothing to erase. No sectors selected
Erase Command Succeeded.
cmdwin::fl::write
Beginning Operation ...
-------------------------
Using restricted address range 0xE8000000 to 0xEFFFFFFF
Programming file D:\SPDP\uImage--4.1-r0-t2080rdb-64b-20180918125200.bin
0 Bytes Programmed, Check Restricted Address Range
Program Command Succeeded

Even though the size of the binary is 5107005 bytes but still the image size in the above logs shows zero 

bytes.

Thanks in advance.

Labels (1)
0 Kudos
3 Replies

951 Views
talktowendys
Contributor I

The talktowendys Survey is your consumer care questionnaire form the talktowendys to get the customer feedback. Even the talktowendys talktowendys Survey is situated at the speech. Com. You can fill the talktowendys Survey and endure a chance to win $1000 cash prize! talktowendys talktowendys Survey is a stage to speak out your brain regarding your adventure at the talktowendys store. You can tell how disappointed or happy you were during your visit.

0 Kudos

951 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Anshul khare,

The offset address which you specified is not correct, which should start from 0xE8000000.

In PA Flash Programmer Task panel, please click "Add Action" to add "Program/Verify" Action, please check "Apply Address Offset" and specify the offset address at 0xe8020000 (Linux.uImage address) according to Linux SDK document.

Thanks,

Yiping

0 Kudos

951 Views
vinothkumars
Senior Contributor IV

Hi,

You want to provide offset address under program/verify section.

Regards,
Vinothkumar Sekar
0 Kudos