code warrior 10.4.0 down uboot

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

code warrior 10.4.0 down uboot

510 Views
威杨
Contributor III

  Hello,

   i use code warrior 10.4.0, i down uboot ,but the type information display as fallow 

168503_168503.pngpastedImage_1.png

console message as fallow

fl::target -lc "ktppc5043-core00_RAM_8309_Download"
fl::target -b 0x2000 0x60000
fl::target -v on -l off
cmdwin::fl::device -d "NAND02GW-eLBC" -o "256Mx8x1" -a 0x0 0xfffffff
cmdwin::fl::image -f "C:\\Users\\Administrator\\Desktop\\down\\u-boot-nandzhu.bin" -t "Binary/Raw Format" -re on -r 0x0 0xfffffff -oe off
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Performing target initialization ...
Error: Connect Failed.
Could not connect to the probe (or other debug link)
[CCS last error: CC config string is invalid ](CCSProtocolPlugin)
Error: Connect Failed.
fl::target -lc "ktppc5043-core00_RAM_8309_Download"
fl::target -b 0x2000 0x60000
fl::target -v on -l off
cmdwin::fl::device -d "NAND02GW-eLBC" -o "256Mx8x1" -a 0x0 0xfffffff
cmdwin::fl::image -f "C:\\Users\\Administrator\\Desktop\\down\\u-boot-nandzhu.bin" -t "Binary/Raw Format" -re on -r 0x0 0xfffffff -oe off
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0x00000000 to 0x0001FFFF
Erasing Sector 0x00020000 to 0x0003FFFF
Erasing Sector 0x00040000 to 0x0005FFFF
Erasing Sector 0x00060000 to 0x0007FFFF
Erasing ...
操作被取消。fl::target -lc "ktppc5043-core00_RAM_8309_Download"
fl::target -b 0x2000 0x60000
fl::target -v on -l off
cmdwin::fl::device -d "NAND02GW-eLBC" -o "256Mx8x1" -a 0x0 0xfffffff
cmdwin::fl::image -f "C:\\Users\\Administrator\\Desktop\\down\\u-boot-nandzhu.bin" -t "Binary/Raw Format" -re on -r 0x0 0xfffffff -oe off
cmdwin::fl::erase image
Error: Failed reading return status. Can not read target memory at location: 0x00000000000094D0.Please make sure that the chip selects are properly configured.
The CWPP response code is: CCSProtocolPlugin : Error reading memory
[CCS last error: Core not responding ].
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0x00000000 to 0x0001FFFF
Erasing Sector 0x00020000 to 0x0003FFFF
Erasing Sector 0x00040000 to 0x0005FFFF
Erasing Sector 0x00060000 to 0x0007FFFF
Erasing .............................................................

Erasing ..
Erasing .............................................................

Erasing ..
Erasing .............................................................

Erasing ..
Erasing .............................................................

Erasing ..
Erasing .............................................................

Erasing ..
Erasing .............................................................

Erasing ..
Erasing .............................................................

Erasing ..
Erasing ............................  

could you tell me how to solve it .

 

 

 

Thanks.

Labels (1)
0 Kudos
3 Replies

331 Views
Carlos_Mendoza
NXP Employee
NXP Employee


Hi Wei Yang,

Could you tell us which MCU are you using?

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos

331 Views
威杨
Contributor III

MPC8309

0 Kudos

331 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Wei Yang,

1. Please select "Apply Address offset" and specify the u-boot location in the flash programming task configuration panel. You could refer to the document Flash Programmer for CodeWarrior Power Architecture .

2. Have you modified DDR controller configuration in CW configuration file according to your target board? Please create a sample "Downlaod" CodeWarrior project for MPC8309 demo board, and configure the initialization file as yours from Run->Debug Configuration-><project>-core00_RAM_8309_Download->Edit->Edit->Initialization, then verify whether this sample program can be executed on your target board successfully.

3. Have you modified the local bus configuration section in CW initialization file according to your target board?


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos