
Flash Development Toolkit
Method for Using the User Program Mode (SH7086 Application)
REJ06J0071-0100 /Rev.1.00 2009.2 Page 91 of 106
(3) Macro definitions (FDTUMain.h, KAIg.h)
Defines the labels used in the program.
• FDTUMain.h
/* D E F I N E */
enum {
FmatsUserBootMat = 0xaa,
FmatsUserMat = 0x00,
WriteMode = 0x01,
EraseMode = 0x01,
FkeyEnable = 0xA5
};
• KAlg.h
/* D E F I N E S */
#define LOOP_END 1
#define bufSize 0x80
#define BLOCK_NO_ERROR 0x09
#define ERASE_END 0xFF
#define WRITE_END 0xFFFFFFFF
#define ADDRESS_ERROR 0x03
#define WRITE_ERASE_ENABLE 0x5A
Comentarios a estos manuales