Examples for EasyKit XC878 
V1.0, May 2008
(c) Infineon Technologies AG


Description of Software Examples of EEPROM emulation
note: all examples were using following tools:
- Dave XC878 dip v1.1
- Keil uVision v8.14a
- SDCC 2.5.4 B4
- MiniIDE r1.0.2
- Hitop	v5.20.416

###################################################################

- Using XC800 Flash Handler with configuration for XC878
- simple in-application programming of DFLASH using polling method (global interrupts disabled)
- software statemachine in main.c with user interface thru terminal
- terminal settings: 9600 baud, DTR/RTS off

Note: this example does not work with a debugger --- use XC800_FLOAD for downloading code.


Note: the device selection is done in FlashHandlerConfig.h like below

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// User Configuration Section Begin //
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Select general device type       //
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
//#define XC866
//#define XC88x
//#define XC878_13FF	// 52K device
#define	XC878_16FF	// 64K device		

	  
###################################################################


