we designed a board with P2020 processor!
the nor flash is s29GL256p, we cann't flash into it a bin file ,we can even not erase the chip:
we use codewarrior 10.3. in the flash programmer,we select erase whole device. it completed with errors!
the print is 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::erase all
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing entire flash ...
Erasing ...
Erase Command Succeeded
cmdwin::fl::blankcheck all
-------------------------
Downloading Flash Utility Driver ...
Performing Blank Check from 0xFE000000 to 0xFFFFFFFF ...
Blank Checking ...
Error: Blank Check failed.
Error: Blank Check failed.
by the way we use CPLD to latch the multiplexd LAD0~~LAD15 address to Nor.
Hello Li Tian,
Probably problem exists in DDR controller configuration, please enable "Verify Target Memory Writes" in PA Flash Programmer Task panel, if the memory type error is encountered, please try to use SRAM initialization file in Freescale\CW PA v10.3\PA\PA_Support\Initialization_Files\QorIQ_P2.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------