AnsweredAssumed Answered

we used CW 10.5.1 program uboot image(512kbytes) into P1010RDB NOR flash, but cw show "Image size is 0 bytes, nothing to erase."

Question asked by chu xiankai on Jun 16, 2016
Latest reply on Jun 21, 2016 by chu xiankai

the logInfo of CW:

 

fl::target -lc "P1010RDB-NOR-Bootrom-PROGRAM"

fl::target -b 0x2000 0x30000

fl::target -v off -l off

cmdwin::fl::device -d "JS28F256M29EWL" -o "16Mx16x1" -a 0xfe000000 0xffffffff

cmdwin::fl::protect all off

Beginning Operation ...   

-------------------------

Performing target initialization ...   

Downloading Flash Diagnostics Driver ...  

Reading flash ID ...

Unprotecting all sectors...  

Unprotecting ...  

Unprotecting ....  

Unprotecting .....  

Unprotecting ......  

Unprotect Command Succeeded   

cmdwin::fl::image -f "F:/C00136699/workspace/P1010RDB0-core00/uboot.bin" -t "Auto Detect" -re on -r 0xfe000000 0xffffffff -oe on -o 0x1f80000

cmdwin::fl::erase image

Beginning Operation ...   

-------------------------

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

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 0xFE000000 to 0xFFFFFFFF  

Programming file F:/C00136699/workspace/P1010RDB0-core00/uboot.bin  

  File is of type Binary/Raw Format.  

 

0 Bytes Programmed, Check Restricted Address Range  

Program Command Succeeded  

Outcomes