Hi everyone!
In out custom board we are using two flash chips are connected with T4240 as shown in below attachment. we tried to flash it using amd16x2.elf (64Mx16x2) via flash programmer, It provides sector protect error But Erase , Dump and Diagnose test are performed successfully during write operation it reports error.
used IDE: codewarrior 10.5
Give us your suggestion Thank you,
Regards,
K dhanasekaran
Add new device to the CodeWarrior Flash Programmer for your Flash configuration.
See the "AppNote-FlashProgrammer-PowerArchitecture.pdf" file in CodeWarrior folder:
C:\Freescale\CW_PA_v10.5.1\PA\PA_Tools\FlashToolKit\Documentation
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi pavel!
Can u share source of amd16x1.elf and amd16x2.elf files?
Regards,
K dhanasekaran
Hi pavel!
Do you think that amd16x2.elf (64Mx16x2) not suitable to program our flash as connected(as per screenshot). Because almost all operation works fine except write operation.
As you suggested we took AMD16x1Example and just compile it then used the created .elf on T4240RDB. In this process we got following error.
fl::target -lc "AMD16x1Example Flash Algo Development "
fl::target -b 0x0 0x180000
fl::target -v off -l off
cmdwin::fl::device -d "S29GL01GP-cor" -o "64Mx16x1" -a 0xe8000000 0xefffffff
cmdwin::fl::diagnose
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Diagnostics Driver ...
Reading flash ID .......
Error: The algorithm was not able to run on the target or the flash is not configured properly.
Error: Getting flash ID failed
Error: The algorithm was not able to run on the target or the flash is not configured properly.
This should be work first because this is tested on T4240RDB board having only one S29GL01GS(AMD16x1). If it works then we make corresponding changes for our flash configuration or can you give us corresponding algorithm.
Thanks and Regards,
K dhanasekaran