[uClinux-dev] coldfire 5275 memory addressing

Aitor Calderón aitor at garper-teleco.es
Thu Jan 11 06:41:16 EST 2007


Hi there,

I am trying to boot a new board with a mcf5275. I have flashed it through BDM 
with CFflasher, but sometimes, when I read the flash with CFflasher, and 
always with bdmflash, it reads 2 bytes ok, and 2 bytes wrong.

So, if I flash all the memory with A2A2A2A2....... I read this: 

FFC00000: A2A2 0000 A2A2 0000 A2A2 0000 A2A2 0000
FFC00010: A2A2 0000 A2A2 0000 A2A2 0000 A2A2 0000

2 bytes ok, and 2 bytes with 0.

The flash has the correct values, because sometimes I can read it with 
CFflasher, and I dont think that it can create the correct values from 
nothing :-P

The flash is S29AL032D70TFI040 from Spansion.
Its a 4M flash, configured x16 bits wide. 

It looks to me like the CPU is trying to read 32 bits, but it only reads 16. 
But I dont know why.

  Thanks,
  Aitor.


More information about the uClinux-dev mailing list