; Configuration file for Cogent CSB360 ; ------------------------------------ ; ; the initialisation 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 0xFF800201 ;CSBR0: Flash WM32 0x10000044 0xFF800030 ;CSOR0: Flash WM32 0x10000078 0x00000701 ;CSBR7: SDRAM WM32 0x1000007C 0xFF00007C ;CSOR7: SDRAM ; ; Init SDRAM Controller WM16 0x10000186 0xF539 ;SDTR: SDRAM Timing Register WM16 0x10000182 0x6410 ;SDCR: SDRAM Configuration Register WM16 0x10000182 0x6411 ;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 ;RESET 500 ;WAKEUP 500 ;delay time in ms after releasing reset 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 CSB360> [FLASH] WORKSPACE 0x20000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE STRATAX16 ;Flash type CHIPSIZE 0x800000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE E:\cygwin\home\bdidemo\coldfire\csb360.bin FORMAT BIN 0xFF900000 ERASE 0xFF900000 ERASE 0xFF920000 ERASE 0xFF940000 ERASE 0xFF960000 [REGS] DMM1 0x10000000 FILE E:\cygwin\home\bdidemo\coldfire\reg5272.def