This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I on-fly programm external FLASH

I need to store a data in to Flash, also I need change (rewrite) the data while application is running and store it again.
How can I on-fly programm external FLASH?
Pease, advise me.

Parents
  • Assuming you are using an AMD-compatible flash, you have to keep in mind that execution of code from the flash whilst programmming is not possible. So you have to keep your programming code in external ram or in internal cpu ram. If you are using this for reloading firmware, you may simply restart your whole system after programming. If you want to store data you have to make sure that the erase operation prior to the program operation does not erase parts of your firmware. The data must reside in different sectors in this case. Flash drivers in 'C' are avaliable on the flash manufacturer's websites.

    HHK

Reply
  • Assuming you are using an AMD-compatible flash, you have to keep in mind that execution of code from the flash whilst programmming is not possible. So you have to keep your programming code in external ram or in internal cpu ram. If you are using this for reloading firmware, you may simply restart your whole system after programming. If you want to store data you have to make sure that the erase operation prior to the program operation does not erase parts of your firmware. The data must reside in different sectors in this case. Flash drivers in 'C' are avaliable on the flash manufacturer's websites.

    HHK

Children
No data