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

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

Reply to
Aakash Jain
Loading thread data ...

Hello Aakash,

"Aakash Jain" schrieb im Newsbeitrag news: snipped-for-privacy@posting.google.com...

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.

formatting link

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!

Reply to
Axel Farr

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.