flash commands
Posted: Tue Aug 26, 2014 2:34 am
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
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