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:
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 Memory base Address: 0xff800000
Device: S29JL064H (modified from the S29GL064M definition)
Sector FFD00000 - FFD01FFF (working)
Sector FFD10000 - FFD11FFF (not working)
File Type: ELF format
Restrict Address Range: yes
The program intended to be loaded to the target begins at 0xFFD00000 and is 0x156270 bytes in size.
Anybody have experience with this issue?