; Configuration file for a M5249C3 board ; -------------------------------------- ; ; the initialistion list used to setup the target system [INIT] ; ; === Init SIM Module === WCREG 0xC0F 0x10000001 ;MBAR: map registers to 0x10000000 WCREG 0xC0E 0x80000001 ;MBAR2: map registers to 0x80000000 WCREG 0xC04 0x20000021 ;RAMBAR0: map 32K SRAM0 to 0x20000000 WCREG 0xC05 0x20010021 ;RAMBAR1: map 64K SRAM1 to 0x20010000 ; ; === Define the valid memory map === MMAP 0x00000000 0x007FFFFF ;Memory range for 8MB SDRAM MMAP 0x10000000 0x100004FF ;Memory map for Internal Register MMAP 0x20000000 0x20007FFF ;Memory map for On-chip SRAM0 MMAP 0x20010000 0x2001FFFF ;Memory map for On-chip SRAM1 MMAP 0x80000000 0x800004FF ;Memory map for Internal Register 2 MMAP 0xFFE00000 0xFFFFFFFF ;Memory range for Flash ROM (CS0) MMAP 0xE0000000 0xE01FFFFF ;Memory range for Ethernet (CS1) [TARGET] CPUTYPE MCF5249 ;CPUCLOCK 132000000 ;the CPU clock rate after processing the init list CPUCLOCK 11000000 ;the CPU clock rate after processing the init list STARTUP STOP 2000 BREAKMODE SOFT ;SOFT or HARD ;VECTOR CATCH ;catch unhandled exceptions [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 [FLASH] WORKSPACE 0x20000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE AM29BX16 ;Flash type is AM29LV160DB CHIPSIZE 0x200000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE D:\abatron\bdi360\ColdFire\pro\m5272c3.sss ;ERASE 0xFFE00000 ;erase sector 0 of flash ;ERASE 0xFFE04000 ;erase sector 1 of flash ;ERASE 0xFFE06000 ;erase sector 2 of flash ;ERASE 0xFFE08000 ;erase sector 3 of flash ERASE 0xFFE40000 ;erase sector 4 of flash ERASE 0xFFE80000 ;erase sector 5 of flash ERASE 0xFFEC0000 ;erase sector 6 of flash ERASE 0xFFF00000 ;erase sector 7 of flash ERASE 0xFFF40000 ;erase sector 8 of flash ERASE 0xFFF80000 ;erase sector 9 of flash ERASE 0xFFFC0000 ;erase sector 10 of flash [REGS] DMM1 0x10000000 DMM2 0x80000000 FILE E:\cygwin\home\bdidemo\coldfire\reg5249.def