Sector Erase/Programming issue

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

Sector Erase/Programming issue

656 Views
nicholasschultz
Contributor I

Background: My target is the MPC8347 processor with a Spansion S29JL064H flash.  I'm using the CodeWarrior USB TAP and Codewarrior 8.8.

 

I am attempting to erase/program certain sectors of this flash and find that some (0xFFD00000 for example) erase and blank check without issue.  Others (0xFFD1000 for example) simply sit at the "Erasing ........." stage indefinitely.  I've let this sit for hours without any success.  Programming has the same result.  I've tweaked the 8349ITX_rev3_init.cfg initialization file to fit my board's attributes, and am using the following settings:

 

Target Configuration:

     Processor Family: 83xx

     Target Processor: 8347

     Connection: CodeWarrior USB TAP

     Use Target Initialization: 8349ITX_rev5_init.cfg

     Target Memory Buffer Address: 0x00010000

     Target Memory Buffer Size: 0x00300000

     Enable Logging - yes

     Verify Target Memory Writes - yes

 

Flash Configuration:

     Flash Memory base Address: 0xff800000

     Device: S29JL064H     (modified from the S29GL064M definition)

     Organization: 8Mx8x1

 

Erase/Blank Check:

     Sector FFD00000 - FFD01FFF (working)

     Sector FFD10000 - FFD11FFF (not working)

 

Program/Verify Flash:

     File: *.elf

     File Type: ELF format

     Restrict Address Range: yes

          Start: 0xff800000

          end: 0xffffffff

 

The program intended to be loaded to the target begins at 0xFFD00000 and is 0x156270 bytes in size.

 

Anybody have experience with this issue?

Labels (1)
0 Kudos
Reply
1 Reply

328 Views
trytohelp
NXP Employee
NXP Employee

Hi Nicholas,

By default we don't provide other Flash Algorithms that the devices supported on the CodeWarrior Installation.
We could support new devices if a new "Freescale Designed" board will use them.
In this case the next release will add them.

If a customer is looking for a specific device, it's possible to create it using the AN.
Please have a look to the link:

        http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4349.pdf

For Power Architecture only:  refer to the documentation under:
  \CW_PA_v10.4.0\PA\PA_Tools\FlashToolKit\Documentation\AppNote-FlashProgrammer-PowerArchitecture.pdf

May be a community member using the same flash could provide you more information.

Hope this will help you.

Have a great day,
Pascal
NXP Technical Support

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

0 Kudos
Reply