Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Execute Code in RAM?

2005-03-10 by ateichtmann

Hi,

for an in-system update of the firmware i have the following idea:
1. store the new firmware in an external serial flash
2. allocate memory in RAM with malloc() for the update function
3. copy update-function from ROM to RAM
4. call update-function in RAM
5. update-function copies firmware from external serial flash to 
internal flash with IAP commands

My question is, how code can be executed in RAM.
How can i call a function in RAM?
Thanks for all hints.

Regards
Arvid

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.