; Configuration file for a MCF5485EVB board ; ----------------------------------------- ; [INIT] ; ; === Set Memory Map === WCREG 0xC0F 0x10000001 ;MBAR : map internal REGS to 0x10000000 WCREG 0x008 0x11000001 ;MMUBAR : map MMU registers to 0x11000000 WCREG 0xC04 0x000020AB ;RAMBAR0: map internal SRAM to 0x00002000 (code only) WCREG 0xC05 0x00004035 ;RAMBAR1: map internal SRAM to 0x00004000 (data only) ; ; === Flash Chipselect === WM16 0x10000500 0x7E00 ;CSAR0: Flash at 0x7E000000 WM32 0x10000508 0x003ffd00 ;CSCR0: Flash 63 waits, 32bit, WM32 0x10000504 0x01FF0001 ;CSMR0: Flash 32MB, R/W, valid ; WAREG 7 0x00004ff0 ;set initial SP WAREG 6 0x00004ff0 ;set initial FP ; [TARGET] CPUTYPE MCF5480 CPUCLOCK 120000000 ;the PSTCLK clock rate after processing the init list WAKEUP 10 ;M5485EVB board requires a reset wakeup delay for robust reset ;This may not be required for other boards using this processor ;BREAKMODE HARD ;SOFT or HARD BREAKMODE SOFT ;SOFT or HARD [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 DUMP E:\temp\dump.bin PROMPT MCF5485> [FLASH] WORKSPACE 0x10010000 ;workspace in internal SRAM CHIPTYPE MIRRORX16 ;Flash type is AM29LV128MH CHIPSIZE 0x01000000 ;The size of one flash chip in bytes BUSWIDTH 32 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE E:\cygwin\home\bdidemo\coldfire\mcf5485.cfg FORMAT BIN 0x7E000000 [REGS] CMM1 0xC0F 0xfffc0000 ;MBAR CMM2 0x008 0xffff0000 ;MMUBAR FILE $reg5485.def