; Configuration file for the M5223EVB ; ----------------------------------- ; ; the initialistion list used to setup the target system [INIT] ; ; Init SCM/Clock Module WCREG 0xC05 0x20000021 ;RAMBAR: Internal SRAM at 0x20000000 WM8 0x40120008 0x04 ;CCHR : PLL input = 1/5 ext. Clock WM16 0x40120000 0x4003 ;SYNCR : change PLL to 60MHz DELAY 100 ;let PLL lock WM16 0x40120000 0x4007 ;SYNCR : set fsys to 60MHz ; ; Init Flash Module WCREG 0xC04 0x00000121 ;FLASHBAR: Internal Flash at 0x00000000 ;WM8 0x401D0002 0x3E ;CFMCLKD : Flash clock divider for fsys=25MHz WM8 0x401D0002 0x52 ;CFMCLKD : Flash clock divider for fsys=60MHz WM32 0x401D0010 0x00000000 ;CFMPROT : disable flash protection ; [TARGET] CPUTYPE MCF5223 CPUCLOCK 6000000 ;the CPU clock rate after processing the init list ;CPUCLOCK 25000000 ;the CPU clock rate after processing the init list BREAKMODE HARD ;SOFT or HARD ;WAKEUP 1000 ;SIO 8023 19200 [HOST] IP 151.120.25.119 FILE E:\cygwin\home\demo\mcf\fibo.x FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT 5223> [FLASH] WORKSPACE 0x20000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE CFM ;MCF5223 internal flash BUSWIDTH 32 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE E:\cygwin\home\bdidemo\coldfire\m5223evb.bin FORMAT BIN 0x44020000 ;ERASE 0x44000000 MASS [REGS] DMM1 0x40000000 FILE $reg5223.def