EM_write Function (ROM Call 0x167)

flash.h

void EM_write (const void *src, void *dest, unsigned long size);

Writes a block into the extended memory.

EM_write is mostly identical as FL_write, except an error will be thrown if dest points out of the archive memory (i.e. user portion of the Flash ROM).

Note: For anybody who wants to write something into the archive memory, the following information may be useful:

Function EM_findEmptySlot may be used for finding an empty space in the archive memory of a given size. Of course, if you are not an experienced programmer, avoid direct writing in the archive memory. Use safe high-level functions like EM_moveSymToExtMem instead.


Uses: FL_write, ROM Call 0x3CF
Used by: EM_abandon, EM_findEmptySlot, EM_moveSymFromExtMem, EM_moveSymToExtMem