; Configuration file for a M5272C3 board ; -------------------------------------- ; ; the initialistion list used to setup the target system [INIT] ; ; Init SIM Module WCREG 0xC0F 0x10000001 ;MBAR: SIM registers at 0x10000000 WCREG 0xC04 0x20000001 ;SRAMBAR: Internal SRAM at 0x20000000 ; ; Init Chip-Select Module WM32 0x10000040 0xFFE00201 ;CSBR0: Flash WM32 0x10000044 0xFFE00014 ;CSOR0: Flash WM32 0x10000050 0x30000001 ;CSBR2: Ext SRAM WM32 0x10000054 0xFFF80000 ;CSOR2: Ext SRAM WM32 0x10000078 0x00000701 ;CSBR7: SDRAM WM32 0x1000007C 0xFFC0007C ;CSOR7: SDRAM ; ; Init SDRAM Controller WM16 0x10000186 0xF539 ;SDTR: SDRAM Timing Register WM16 0x10000182 0x4210 ;SDCR: SDRAM Configuration Register WM16 0x10000182 0x4211 ;SDCR: Set INIT Bit WM32 0x00000000 0x12345678 ;Access SDRAM to start initialization ; WAREG 7 0x000ffff0 ;set initial SP WAREG 6 0x000ffff0 ;set initial FP ; [TARGET] CPUTYPE MCF5272 CPUCLOCK 66000000 ;the PSTCLK clock rate after processing the init list 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 PROMPT 5272> [FLASH] WORKSPACE 0x20000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE AM29BX16 ;Flash type is AM29PL160C 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 FILE E:\cygwin\home\bdidemo\coldfire\reg5272.def