hi all,
iam currently working on powerpc mpc8321E board and iam facing problem at programming into the s29gl256p flash through codewarrior 8.8. the log file of code warrior shows like this
: -------------------------
Using restricted address range 0xFE000000 to 0xFFFFFFFF
Programming file C:\Documents and Settings\nomus\Desktop\new\u-boot.bin
Trying auto-detect...
File is NOT of type Motorola S-Record Format.
File is NOT of type Elf Format.
Auto-detection is successful.
File is of type Binary/Raw Format.
Using Algorithm: amd16x1.elf
======================================================================
=== Target Configuration Settings
=== Connection: CodeWarrior USB TAP
=== Target Processor: 8321
=== Target Init File: E:\u_boot\UBOOT\832xMDS_init.cfg
======================================================================
Connecting......Connected
======================================================================
=== Execute: Program
=== Timestamp: Wed Sep 23 15:19:11 2015
=== Flash Device: S29GL256P
=== Flash Organization: 16Mx16x1
=== Flash Mem Start Addr: 0xFE000000
=== Flash Mem End Addr: 0xFFFFFFFF
======================================================================
Informing other connection clients that the target is being 'clobbered'.
Loading Flash Device Driver at: 0x00002000
Flash Driver Buffer is at: 0x00003D70
Flash Driver Buffer Size is: 0x0000E290
Done
Initialization Command Succeeded
Trying auto-detect...
File is NOT of type Motorola S-Record Format.
File is NOT of type Elf Format.
Auto-detection is successful.
File is of type Binary/Raw Format.
Programming 0x00010000 bytes of Target Memory at 0xFFF00000
after this nothing will happend i am unable to find the reason of this, could anybody help me in finding the reason behind this ?
thanks & regards
praveen
Hello konduri praveen,
I didn't fine erase action in your flash programming log, is the above a whole log, the first step of flash programming algorithm should be reading the flash ID, this is not included in the above log either.
The initialization file provided in CodeWarrior 8.8 is only used for Freescale demo board, you need to customize the .cfg file according to your target board.
Would you please also provide 832xMDS_init.cfg which you used?
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hello Yiping Wang
please give reply to question.
Thankyou
K.Praveen
Hello konduri praveen,
I didn't find obvious problem in your initialization file, but I found another problem, you use the algorithm amd16x1.elf to do flash programming, please refer to the following section of s29gl256p device definition from CodeWarrior 8.8, the algorithm S29GL-P_16x1.elf is used rather than amd16x1.elf. Actually the device s29gl256p has already been included in CodeWarrior 8.8, no need to define its configuration in CodeWarrior 8.8 by yourself.
<organizationcount>6</organizationcount>
<organization>32Mx8x1</organization>
<organization>32Mx8x2</organization>
<organization>32Mx8x4</organization>
<organization>16Mx16x1</organization>
<organization>16Mx16x2</organization>
<organization>16Mx16x4</organization>
<id>22</id>
<id>22</id>
<id>22</id>
<id>227E</id>
<id>227E</id>
<id>227E</id>
<algorithm>amd8x1alt.elf</algorithm>
<algorithm>amd8x2alt.elf</algorithm>
<algorithm>amd8x4alt.elf</algorithm>
<algorithm>S29GL-P_16x1.elf</algorithm>
<algorithm>amd16x2.elf</algorithm>
<algorithm>amd16x4.elf</algorithm>
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hello Yiping Wang,
thanks for your reply , while programming into the flash i am not erasing it through the freescale codewarrior tool for that i am using the console code of bootloader, these are some of the observations that i observed in codewarrior,
1. while reading from hardware diagnostics i am able to read that all the content is been cleared (FFFF).
2. erase the complete flash is sucessful but while doing the blank check its getting struck at some sector which is not fixed.
3. erasing the particular sector and blank check is sucessful.
4. its getting struck after
Programming 0x00010000 bytes of Target Memory at 0xFFF00000
while programming through codewarrior
please find the attached 832xMDS_init.cfg file.
thanks again for your reply
Thanks & Regards
Konduri Praveen