Flash memory failure

928 Views Asked by At

I'm working on a XScale PXA270 with NOR Flash on Chip select 0. due to the obsolescence of the previous flash, my company change it for an AMD/Spansion compatible MX29GL128.

I'm trying to write on it using Lauterbach JTAG.

here is my script : https://pastebin.com/jcjsbwE3

; reset the FLASH declaration
FLASH.CFI 0x00000000 L
; declare FLASH sectors via
; CFI query
;FLASH.CHANGEtype ALL AM29F100
; change type to AM29F100 to use "word wise" mode
FLASH.UNLOCK ALL
; unlock FLASH if required
FLASH.ReProgram ALL
; enable the FLASH for programming
;Data.LOAD.auto /home/lai/devel/uboot-2017-01/u-boot.bin
Data.LOAD.binary /tftpboot/u-boot-rioms-pxa270.bin D:0x00000000--0x1FFFF
; load the programming file
FLASH.ReProgram off
; program the FLASH and disable
; the FLASH programming

But get an error.

Flash programming error around address SD:0x7C.

On this picture, you can see the commands on the bus and the error.

Have you some idea ? I'm stuck on it since many days

0

There are 0 best solutions below