EmbeddedRelated.com
Forums

Help with programming the external flash on the phytec phyCORE-MPC555

Started by Aakash Jain October 8, 2004
Hey,

I have the phyCORE-MPC555 with 1 MB RAM, 512 KB Flash. I would like to
store some program variables in this external flash on the phytec
board. is this possible, and if so can someone provide me with
pointers on how to go about it?

thanks,
Aakash
Hello Aakash,

"Aakash Jain" <aakashj@gmail.com> schrieb im Newsbeitrag 
news:d150cab0.0410072348.19746f2d@posting.google.com...
> Hey, > > I have the phyCORE-MPC555 with 1 MB RAM, 512 KB Flash. I would like to > store some program variables in this external flash on the phytec > board. is this possible, and if so can someone provide me with > pointers on how to go about it?
For some of their modules Phytec has some demo code available for download on their website concerning the necessary technique if it is possible at all. (www.phytec.de) In most cases, it is more efficent to use EEPROM memory or FRAM (battery-buffered RAM) for storing permanet data. The MPC555 can have up to 8kBytes for that purpose. Normaly, the flash memory is connected in a way the controller can not directly write to the device. But by changing the access mode, often the adress and/or bank changes (e.g. on 8051 devices and C16x derivatives the memory has to be mapped from "code bank" to "memory bank"), which means that you have to use a different chip for program execution during the write period of the device, you can not execute the code from the same device you are writing to. Greetings, Axel -------------------------------------------------- For replies please eleminate dot from name!