flash commands

Discussion to talk about hardware related topics only.
Post Reply
WiebeFloris
Posts: 2
Joined: Tue Jul 01, 2014 4:55 am

flash commands

Post by WiebeFloris »

Hello,

I need to write protect parts of the 32Mb flash.
I checked the Macronix MX29GL256F documentation and found the needed commands.
But before i brick my device, i would like to know why the netburner system functions use different addressesfor the
flash commands to arase and write . (file: MOD5441X/system/flash.c)
As first cycle for arase, (data 0x00AA) flash.c uses 0xC000AAAA, where the documentation indicates 0xC0000555
For the second cycle (data 0x0055) flash.c uses 0xC0005554, where the documentation indicates 0xC00002AA
If i change these adresses to the ones mentioned in the documentation it does NOT work, this scares me.

Any suggestions ?

- Wiebe
roland.ames

Re: flash commands

Post by roland.ames »

From previous experience with 16-bit flash, I'm guessing, the 16 bit flash has processor A1 connected to flash A0, (pA2-fA1, pA3-fA2, ...) and that this is why the address values are shifted by 1
WiebeFloris
Posts: 2
Joined: Tue Jul 01, 2014 4:55 am

Re: flash commands

Post by WiebeFloris »

Thanks, this really helps.
The extra A or 5 do not make a difference, probably these are dont care addres lines in write acces.

-Wiebe
Post Reply