Hi
I am trying to Re-Flash the NOR-FLASH...... using the codewarrior 10.3.3 and i have followed the following steps
Window > Show View > Other--->Debug-->Target Task-->ok
then imported the P1020RDB_NOR FLASH.xml file
I didnt change the s29gl128p base address
then I added the the vsc2bin file using Add program/verify action from add action. Here i selected the Erase sectors before program and verify after program --> then i set the address offset value as FF7FE000,---> add program action
then I added the the u-boot_nor.bin file using Add program/verify action from add action. Here i selected the Erase sectors before program and verify after program --> then i set the address offset value as FFF80000,---> add program action
then i excute it
fl::target -lc "FLASH-core00_RAM_P1020_Download"
fl::target -b 0x2000 0x30000
fl::target -v on -l off
cmdwin::fl::device -d "S29GL128P" -o "8Mx16x1" -a 0xff000000 0xffffffff
cmdwin::fl::image -f "C:\\Freescale\\BSP image\\P1020RDB_Images\\P1020RDB\\Pre_Build_images\\vsc2bin" -t "Binary/Raw Format" -re off -oe on -o 0xff7fe000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0xFF7E0000 to 0xFF7FFFFF
Erasing ...
Erase Command Succeeded
cmdwin::fl::write verify
Beginning Operation ...
-------------------------
Programming file C:\Freescale\BSP image\P1020RDB_Images\P1020RDB\Pre_Build_images\vsc2bin
Downloading Flash Device Driver ...
Reading flash ID ...
Downloading 0x00001FF8 bytes to be programmed at 0xFF7FE000
Executing program with verify ....
Program with Verify Command Succeeded
cmdwin::fl::image -f "C:\\Freescale\\BSP image\\P1020RDB_Images\\P1020RDB\\Pre_Build_images\\u-boot_nor.bin" -t "Binary/Raw Format" -re off -oe on -o 0xfff80000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0xFFF80000 to 0xFFF9FFFF
Erasing Sector 0xFFFA0000 to 0xFFFBFFFF
Erasing Sector 0xFFFC0000 to 0xFFFDFFFF
Erasing Sector 0xFFFE0000 to 0xFFFFFFFF
Erasing .....
Erase Command Succeeded
cmdwin::fl::write verify
-------------------------
Programming file C:\Freescale\BSP image\P1020RDB_Images\P1020RDB\Pre_Build_images\u-boot_nor.bin
Downloading Flash Device Driver ...
Reading flash ID ...
Downloading 0x00010000 bytes to be programmed at 0xFFF80000
Downloading 0x00010000 bytes to be programmed at 0xFFF90000
Executing program with verify ....
Program with Verify Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0xFFFA0000
Downloading 0x00010000 bytes to be programmed at 0xFFFB0000
Executing program with verify ....
Program with Verify Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0xFFFC0000
Downloading 0x00010000 bytes to be programmed at 0xFFFD0000
Executing program with verify ....
Executing program with verify .....
Program with Verify Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0xFFFE0000
Downloading 0x00010000 bytes to be programmed at 0xFFFF0000
Executing program with verify ....
Program with Verify Command Succeeded
But our board is not bring-up some junk data is show in flash.....
Please can u help me how to solve this problem......