AnsweredAssumed Answered

Problem at P1023 nand flashing

Question asked by sarath chandra on Jun 27, 2014
Latest reply on Jul 1, 2014 by sarath chandra

Hi all,

 

          I have a P1023 based board with a nand flash.

 

         Using codewarrior flash programmer I tried to flash u-boot at address 0xff800000 (my nand location).

 

         I am getting the following :

**************************************************************************************************

fl::target -lc "LC for Simple Flash"

fl::target -b 0x2000 0x80000

fl::target -v on -l off

cmdwin::fl::device -d "MT29F2G08ABAEA-eLBC" -o "256Mx8x1" -a 0x0 0xfffffff

cmdwin::fl::image -f "/home/mani/Desktop/u-boot.bin" -t "Auto Detect" -re on -r 0x0 0xfffffff -oe on -o 0xff800000

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

Performing target initialization ...   

  + e500 Special Purpose Registers

    PIR=<r>0</r>

Erase Command Succeeded.  

cmdwin::fl::write

Beginning Operation ...   

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

Using restricted address range 0x00000000 to 0x0FFFFFFF  

Programming file /home/mani/Desktop/u-boot.bin  

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

0 Bytes Programmed, Check Restricted Address Range  

Program Command Succeeded  

    *****************************************************************************************************

 

         If I flashed from 0x00000000, I am getting this :

 

*****************************************************************************************************

fl::target -lc "LC for Simple Flash"

fl::target -b 0x2000 0x80000

fl::target -v on -l off

cmdwin::fl::device -d "MT29F2G08ABAEA-eLBC" -o "256Mx8x1" -a 0x0 0xfffffff

cmdwin::fl::image -f "/home/mani/Desktop/u-boot.bin" -t "Auto Detect" -re on -r 0x0 0xfffffff -oe off

cmdwin::fl::erase image

Beginning Operation ...   

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

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

Performing target initialization ...   

  + e500 Special Purpose Registers

    PIR=<r>0</r>

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 ...

Erase Command Succeeded   

cmdwin::fl::write

Beginning Operation ...   

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

Using restricted address range 0x00000000 to 0x0FFFFFFF  

Programming file /home/mani/Desktop/u-boot.bin  

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

Downloading Flash Device Driver ...  

Reading flash ID ...

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

Downloading 0x00010000 bytes to be programmed at 0x00000000  

Downloading 0x00010000 bytes to be programmed at 0x00010000  

Downloading 0x00010000 bytes to be programmed at 0x00020000  

Downloading 0x00010000 bytes to be programmed at 0x00030000  

Error:  Program failed.  Can not read target memory at location: 0x           36700.Please make sure that the chip selects are properly configured.

The CWPP response code is: #@!.

Error: Program failed.Can not read target memory at location: 0x           36700.

Please make sure that the chip selects are properly configured.

The CWPP response code is: #@!.

*******************************************************************************************************************************

 

Any how I am not able to flash. Can any one help me out.

 

 

Regards,

Sarath

Outcomes