unfortunately di success hu3... nabasa ko yung help option ng ZDS II program... hirap gamitin yung Flash memory ng slimboard MCU.....

sino dito magaling sa IRC slimboard MCU w/ z8f6421? he3. paturo paano makagamit ng internal memory ng MCU in-case magbrownout...
pero eto yung instruction ng zilog na binabasa ko ngayon, baka makatulong kayo hirap kasi intindihin... need ko para isave yung password at remaining value ng kilowatthour na natira sa load ng Prepaid kilowatthourmeter namin in case of brownout. Ty ty sa makakatulong...

:
WRITE_FLASH
The WRITE_FLASH function is a Zilog function that writes a value to Flash memory at the specified address.
Synopsis
#include <ez8.h>
void reentrant WRITE_FLASH(rom const void *addr,char val);
Returns
If successful, the function returns zero; otherwise, it returns a nonzero value.
Example
#include <eZ8.h>
char x;
void main()
{
INIT_FLASH(_DEFFREQ); /* Target clock frequency */
WRITE_FLASH((rom const *)0x2f00,x); /* write to Flash */
x = READ_FLASH((rom const *)0x2f00); /* read from Flash */
}
NOTE: Do not write to Flash memory more than twice. To write to Flash memory more than twice, you need to do a page erase.
When you use the WRITE_FLASH function to write to Flash, the target clock frequency needs to be initialized using the INIT_FLASH function (see INIT_FLASH).
Beginning with the ZDS II for Z8 Encore! release 4.8, there is a slight change in the function prototype for WRITE_FLASH.
Previous Prototype
#if defined(_Z8F642)
void reentrant WRITE_FLASH(rom const void *addr,char val);
#else
void intrinsic reentrant WRITE_FLASH(rom const void *addr,char val);
#endif
New Prototype
void reentrant WRITE_FLASH(rom const void *addr,char val);
For most Z8 Encore! microcontroller variants, the intrinsic keyword has been deleted in the ZDS II release 4.8.0. This change is taken care of automatically as long as you are using the standard Zilog library version of WRITE_FLASH and including the standard header file ez8.h. However, since the new standard header uses the new prototype, if you have customized WRITE_FLASH in your application, you need to make modifications so that the header and function declarations agree.
Next: WRITE_NVDS
Previous: TDI