P2020, Flash programmer error: alwys: "Executing program ...."

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

P2020, Flash programmer error: alwys: "Executing program ...."

1,316 Views
tianli1
Contributor II

Dear

      experts!

we designed a customized P2020 board. we want to flash burn the u-boot to S29GL256P NOR FLASH. but it seems not successful!

the print are as follows;

 

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

fl::target -b 0x2000 0x30000

fl::target -v off -l off

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

cmdwin::fl::image -f "E:\\tl\\ppc_work\\p2020_nor\\P2020RDB_nor_flash_image.bin" -t "Auto Detect" -re on -r 0xfe000000 0xffffffff -oe on -o 0xff000000

cmdwin::fl::erase image

Beginning Operation ...   

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

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

Performing target initialization ...   

Downloading Flash Device Driver ...  

Reading flash ID ...

Erasing Sector 0xFF000000 to 0xFF01FFFF  

Erasing Sector 0xFF020000 to 0xFF03FFFF  

Erasing Sector 0xFF040000 to 0xFF05FFFF  

Erasing Sector 0xFF060000 to 0xFF07FFFF  

Erasing Sector 0xFF080000 to 0xFF09FFFF  

Erasing Sector 0xFF0A0000 to 0xFF0BFFFF  

Erasing Sector 0xFF0C0000 to 0xFF0DFFFF  

Erasing Sector 0xFF0E0000 to 0xFF0FFFFF  

Erasing Sector 0xFF100000 to 0xFF11FFFF  

Erasing Sector 0xFF120000 to 0xFF13FFFF  

Erasing Sector 0xFF140000 to 0xFF15FFFF  

Erasing Sector 0xFF160000 to 0xFF17FFFF  

Erasing Sector 0xFF180000 to 0xFF19FFFF  

Erasing Sector 0xFF1A0000 to 0xFF1BFFFF  

Erasing Sector 0xFF1C0000 to 0xFF1DFFFF  

Erasing Sector 0xFF1E0000 to 0xFF1FFFFF  

Erasing Sector 0xFF200000 to 0xFF21FFFF  

Erasing Sector 0xFF220000 to 0xFF23FFFF  

Erasing Sector 0xFF240000 to 0xFF25FFFF  

Erasing Sector 0xFF260000 to 0xFF27FFFF  

Erasing Sector 0xFF280000 to 0xFF29FFFF  

Erasing Sector 0xFF2A0000 to 0xFF2BFFFF  

Erasing Sector 0xFF2C0000 to 0xFF2DFFFF  

Erasing Sector 0xFF2E0000 to 0xFF2FFFFF  

Erasing Sector 0xFF300000 to 0xFF31FFFF  

Erasing Sector 0xFF320000 to 0xFF33FFFF  

Erasing Sector 0xFF340000 to 0xFF35FFFF  

Erasing Sector 0xFF360000 to 0xFF37FFFF  

Erasing Sector 0xFF380000 to 0xFF39FFFF  

Erasing Sector 0xFF3A0000 to 0xFF3BFFFF  

Erasing Sector 0xFF3C0000 to 0xFF3DFFFF  

Erasing Sector 0xFF3E0000 to 0xFF3FFFFF  

Erasing Sector 0xFF400000 to 0xFF41FFFF  

Erasing Sector 0xFF420000 to 0xFF43FFFF  

Erasing Sector 0xFF440000 to 0xFF45FFFF  

Erasing Sector 0xFF460000 to 0xFF47FFFF  

Erasing Sector 0xFF480000 to 0xFF49FFFF  

Erasing Sector 0xFF4A0000 to 0xFF4BFFFF  

Erasing Sector 0xFF4C0000 to 0xFF4DFFFF  

Erasing Sector 0xFF4E0000 to 0xFF4FFFFF  

Erasing Sector 0xFF500000 to 0xFF51FFFF  

Erasing Sector 0xFF520000 to 0xFF53FFFF  

Erasing Sector 0xFF540000 to 0xFF55FFFF  

Erasing Sector 0xFF560000 to 0xFF57FFFF  

Erasing Sector 0xFF580000 to 0xFF59FFFF  

Erasing Sector 0xFF5A0000 to 0xFF5BFFFF  

Erasing Sector 0xFF5C0000 to 0xFF5DFFFF  

Erasing Sector 0xFF5E0000 to 0xFF5FFFFF  

Erasing Sector 0xFF600000 to 0xFF61FFFF  

Erasing Sector 0xFF620000 to 0xFF63FFFF  

Erasing Sector 0xFF640000 to 0xFF65FFFF  

Erasing Sector 0xFF660000 to 0xFF67FFFF  

Erasing Sector 0xFF680000 to 0xFF69FFFF  

Erasing Sector 0xFF6A0000 to 0xFF6BFFFF  

Erasing Sector 0xFF6C0000 to 0xFF6DFFFF  

Erasing Sector 0xFF6E0000 to 0xFF6FFFFF  

Erasing Sector 0xFF700000 to 0xFF71FFFF  

Erasing Sector 0xFF720000 to 0xFF73FFFF  

Erasing Sector 0xFF740000 to 0xFF75FFFF  

Erasing Sector 0xFF760000 to 0xFF77FFFF  

Erasing Sector 0xFF780000 to 0xFF79FFFF  

Erasing Sector 0xFF7A0000 to 0xFF7BFFFF  

Erasing Sector 0xFF7C0000 to 0xFF7DFFFF  

Erasing Sector 0xFF7E0000 to 0xFF7FFFFF  

Erasing Sector 0xFF800000 to 0xFF81FFFF  

Erasing Sector 0xFF820000 to 0xFF83FFFF  

Erasing Sector 0xFF840000 to 0xFF85FFFF  

Erasing Sector 0xFF860000 to 0xFF87FFFF  

Erasing Sector 0xFF880000 to 0xFF89FFFF  

Erasing Sector 0xFF8A0000 to 0xFF8BFFFF  

Erasing Sector 0xFF8C0000 to 0xFF8DFFFF  

Erasing Sector 0xFF8E0000 to 0xFF8FFFFF  

Erasing Sector 0xFF900000 to 0xFF91FFFF  

Erasing Sector 0xFF920000 to 0xFF93FFFF  

Erasing Sector 0xFF940000 to 0xFF95FFFF  

Erasing Sector 0xFF960000 to 0xFF97FFFF  

Erasing Sector 0xFF980000 to 0xFF99FFFF  

Erasing Sector 0xFF9A0000 to 0xFF9BFFFF  

Erasing Sector 0xFF9C0000 to 0xFF9DFFFF  

Erasing Sector 0xFF9E0000 to 0xFF9FFFFF  

Erasing Sector 0xFFA00000 to 0xFFA1FFFF  

Erasing Sector 0xFFA20000 to 0xFFA3FFFF  

Erasing Sector 0xFFA40000 to 0xFFA5FFFF  

Erasing Sector 0xFFA60000 to 0xFFA7FFFF  

Erasing Sector 0xFFA80000 to 0xFFA9FFFF  

Erasing Sector 0xFFAA0000 to 0xFFABFFFF  

Erasing Sector 0xFFAC0000 to 0xFFADFFFF  

Erasing Sector 0xFFAE0000 to 0xFFAFFFFF  

Erasing Sector 0xFFB00000 to 0xFFB1FFFF  

Erasing Sector 0xFFB20000 to 0xFFB3FFFF  

Erasing Sector 0xFFB40000 to 0xFFB5FFFF  

Erasing Sector 0xFFB60000 to 0xFFB7FFFF  

Erasing Sector 0xFFB80000 to 0xFFB9FFFF  

Erasing Sector 0xFFBA0000 to 0xFFBBFFFF  

Erasing Sector 0xFFBC0000 to 0xFFBDFFFF  

Erasing Sector 0xFFBE0000 to 0xFFBFFFFF  

Erasing Sector 0xFFC00000 to 0xFFC1FFFF  

Erasing Sector 0xFFC20000 to 0xFFC3FFFF  

Erasing Sector 0xFFC40000 to 0xFFC5FFFF  

Erasing Sector 0xFFC60000 to 0xFFC7FFFF  

Erasing Sector 0xFFC80000 to 0xFFC9FFFF  

Erasing Sector 0xFFCA0000 to 0xFFCBFFFF  

Erasing Sector 0xFFCC0000 to 0xFFCDFFFF  

Erasing Sector 0xFFCE0000 to 0xFFCFFFFF  

Erasing Sector 0xFFD00000 to 0xFFD1FFFF  

Erasing Sector 0xFFD20000 to 0xFFD3FFFF  

Erasing Sector 0xFFD40000 to 0xFFD5FFFF  

Erasing Sector 0xFFD60000 to 0xFFD7FFFF  

Erasing Sector 0xFFD80000 to 0xFFD9FFFF  

Erasing Sector 0xFFDA0000 to 0xFFDBFFFF  

Erasing Sector 0xFFDC0000 to 0xFFDDFFFF  

Erasing Sector 0xFFDE0000 to 0xFFDFFFFF  

Erasing Sector 0xFFE00000 to 0xFFE1FFFF  

Erasing Sector 0xFFE20000 to 0xFFE3FFFF  

Erasing Sector 0xFFE40000 to 0xFFE5FFFF  

Erasing Sector 0xFFE60000 to 0xFFE7FFFF  

Erasing Sector 0xFFE80000 to 0xFFE9FFFF  

Erasing Sector 0xFFEA0000 to 0xFFEBFFFF  

Erasing Sector 0xFFEC0000 to 0xFFEDFFFF  

Erasing Sector 0xFFEE0000 to 0xFFEFFFFF  

Erasing Sector 0xFFF00000 to 0xFFF1FFFF  

Erasing Sector 0xFFF20000 to 0xFFF3FFFF  

Erasing Sector 0xFFF40000 to 0xFFF5FFFF  

Erasing Sector 0xFFF60000 to 0xFFF7FFFF  

Erasing Sector 0xFFF80000 to 0xFFF9FFFF  

Erasing Sector 0xFFFA0000 to 0xFFFBFFFF  

Erasing Sector 0xFFFC0000 to 0xFFFDFFFF  

Erasing Sector 0xFFFE0000 to 0xFFFFFFFF  

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

 

Erasing ..  

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

Erase Command Succeeded   

cmdwin::fl::write

Beginning Operation ...   

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

Using restricted address range 0xFE000000 to 0xFFFFFFFF  

Programming file E:\tl\ppc_work\p2020_nor\P2020RDB_nor_flash_image.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 0xFF000000  

Downloading 0x00010000 bytes to be programmed at 0xFF010000  

Executing program ....  

Executing program .....  

Executing program ......  

Executing program .......  

Executing program ........  

Executing program .........  

Executing program ..........  

Executing program ...........  

Executing program ............  

Executing program .............  

Executing program ..............  

Executing program ...............  

Executing program ................  

Executing program .................  

Executing program ..................  

Executing program ...................  

Executing program ....................  

Executing program .....................  

Executing program ......................  

Executing program .......................  

Executing program ........................  

Executing program .........................  

Executing program ..........................  

Executing program ...........................  

Executing program ............................  

Executing program .............................  

Executing program ..............................  

Executing program ...............................  

Executing program ................................  

Executing program .................................  

Executing program ..................................  

Executing program ...................................  

Executing program ....................................  

Executing program .....................................  

Executing program ......................................  

Executing program .......................................  

Executing program ........................................  

Executing program .........................................  

Executing program ..........................................  

Executing program ...........................................  

Executing program ............................................  

Executing program .............................................  

Executing program ..............................................  

Executing program ...............................................  

Executing program ................................................  

Executing program .................................................  

Executing program ..................................................  

Executing program ...................................................  

Executing program ....................................................  

Executing program .....................................................  

Executing program ......................................................  

Executing program .......................................................  

Executing program ........................................................  

Executing program .........................................................  

Executing program ..........................................................  

Executing program ...........................................................  

Executing program ............................................................  

Executing program .............................................................  

Executing program ..............................................................  

 

Executing program ...  

Executing program ....  

...

 

 

It never stops!

 

can anybody help me ! what is the error!

 

many thanks

kind regards.

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

802 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Li Tian,

Not noticing that you are programming the whole flash image.

It should take some time to flash the whole flash image, previously I have done a verification, it took about 3 minutes to flash u-boot to P2020DS Nor Flash.  So you should wait for a moment to flash the whole image, maybe 20 to 30 minutes.




Have a great day,
Yiping

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

0 Kudos
Reply

802 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Li Tian,

According to the programer log, the applied address offset in "Add Program/Verify Action" is not correct. U-boot is often placed at the end of NOR Flash, you need to specify the Offset address at "fff40000" according to SDK 1.6 document.


Have a great day,
Yiping

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

0 Kudos
Reply

802 Views
addiyi
NXP Employee
NXP Employee

Check the "Restrict to Addresses in this Range" option from Program/Verify Action. This option should be clear, else the access to that range of addresses will be restricted.

Adrian

0 Kudos
Reply