What is the recommended syntax for pointers to flash addresses (for example, 555 and 2AA)? You may be aware that ap note 138 evades the issue of flash programming code in C language; and 942.htm fails to give an example of using pointers to flash variables. (For example, in AMD Am29F002(N)BB some of the key memory locations are 0x2AA and 0x555.)
Why not use the predefined macros from absacc.h for memory access? For instance: // write 0x12 to 0x2AA MVAR(0x2AA) = 0x12; Regards, Mike
See AMD's utility code at; http://www.amd.com/us-en/FlashMemory/ProductInformation/0,,37_1447_1457_1780^1830,00.html It supports a different but similar family.