; bdiGDB configuration file for estMdpBasic860 / 25MHz board ; ---------------------------------------------------------- ; [INIT] ; init core register WSPR 638 0xFF000000 ;IMMR: internal memory at 0xFF000000 WSPR 158 0x00000007 ;ICTRL: not serialized, no show cycles ; init SIU register WM32 0xFF000000 0x01600000 ;SIUMCR: WM32 0xFF000004 0xFFFFFF88 ;SYPCR: enable bus monitor, disable software watchdog WM16 0xFF000020 0x0000 ;TBSCR: stop timebase and decrementer while freeze is asserted ;WM32 0xFF000320 0x55CCAA33 ;RTCSCK: unlock real-time clock status and control register ;WM32 0xFF000324 0x55CCAA33 ;RTCK: unlock real-Time clock register ;WM32 0xFF000328 0x55CCAA33 ;RTSECK: unlock real-time alarm seconds ;WM32 0xFF00032C 0x55CCAA33 ;RTCALK: unlock real-time alarm register ;WM16 0xFF000220 0x00C2 ;RTCSC: stop real-time clock while freeze is asserted ;WM16 0xFF000240 0x0082 ;PISCR: stop periodic interrupt while freeze is asserted ;WM32 0xFF000280 0x62000000 ;SCCR: disable clock output ;WM32 0xFF000284 0x0000D000 ;PLPRCR: clear flags ; init UPM SUPM 0xFF000168 0xFF00017C ;Set address for MCR and MDR WUPM 0x00804000 0x0ff3cc24 ;UPM: singel read WUPM 0x00804001 0x0ff3cc04 ;UPM: singel read WUPM 0x00804002 0x0cf3cc04 ;UPM: singel read WUPM 0x00804003 0x00f3cc04 ;UPM: singel read WUPM 0x00804004 0x00f3cc00 ;UPM: singel read WUPM 0x00804005 0x37f7cc47 ;UPM: singel read WUPM 0x00804006 0xffffffff ;UPM: singel read WUPM 0x00804007 0xffffffff ;UPM: singel read WUPM 0x00804008 0x0ff3cc24 ;UPMB burst read WUPM 0x00804009 0x0ff3cc04 ;UPMB burst read WUPM 0x0080400A 0x08f3cc04 ;UPMB burst read WUPM 0x0080400B 0x00f3cc00 ;UPMB burst read WUPM 0x0080400C 0x00f3cc0c ;UPMB burst read WUPM 0x0080400D 0x0cf3cc44 ;UPMB burst read WUPM 0x0080400E 0x00f3ec08 ;UPMB burst read WUPM 0x0080400F 0x03f3ec04 ;UPMB burst read WUPM 0x00804010 0x00f3ec40 ;UPMB burst read WUPM 0x00804011 0x00f3cc0c ;UPMB burst read WUPM 0x00804012 0x0cf3cc44 ;UPMB burst read WUPM 0x00804013 0x00f3ec00 ;UPMB burst read WUPM 0x00804014 0x00f3ec04 ;UPMB burst read WUPM 0x00804015 0x3ff7ec47 ;UPMB burst read WUPM 0x00804016 0xfffeffff ;UPMB burst read WUPM 0x00804017 0xffffffff ;UPMB burst read WUPM 0x00804018 0x0fafcc24 ;UPMB single write WUPM 0x00804019 0x0fafcc04 ;UPMB single write WUPM 0x0080401A 0x08afcc04 ;UPMB single write WUPM 0x0080401B 0x00afcc00 ;UPMB single write WUPM 0x0080401C 0x37ffcc47 ;UPMB single write WUPM 0x0080401D 0xffffffff ;UPMB single write WUPM 0x0080401E 0xffffffff ;UPMB single write WUPM 0x0080401F 0xffffffff ;UPMB single write WUPM 0x00804020 0x0fafcc24 ;UPMB burst write WUPM 0x00804021 0x0fafcc04 ;UPMB burst write WUPM 0x00804022 0x08afcc00 ;UPMB burst write WUPM 0x00804023 0x07afcc4c ;UPMB burst write WUPM 0x00804024 0x08afcc00 ;UPMB burst write WUPM 0x00804025 0x07afcc4c ;UPMB burst write WUPM 0x00804026 0x08afcc00 ;UPMB burst write WUPM 0x00804027 0x07afcc4c ;UPMB burst write WUPM 0x00804028 0x08afcc00 ;UPMB burst write WUPM 0x00804029 0x372fcc47 ;UPMB burst write WUPM 0x0080402A 0xffffffff ;UPMB burst write WUPM 0x0080402B 0xffffffff ;UPMB burst write WUPM 0x0080402C 0xffffffff ;UPMB burst write WUPM 0x0080402D 0xffffffff ;UPMB burst write WUPM 0x0080402E 0xffffffff ;UPMB burst write WUPM 0x0080402F 0xffffffff ;UPMB burst write WUPM 0x00804030 0xe0ffcc84 ;UPMB refresh WUPM 0x00804031 0x00ffcc04 ;UPMB refresh WUPM 0x00804032 0x00ffcc04 ;UPMB refresh WUPM 0x00804033 0x0fffcc04 ;UPMB refresh WUPM 0x00804034 0x7fffcc04 ;UPMB refresh WUPM 0x00804035 0xffffcc86 ;UPMB refresh WUPM 0x00804036 0xffffcc05 ;UPMB refresh WUPM 0x00804037 0xffffffff ;UPMB refresh WUPM 0x00804038 0xffffffff ;UPMB refresh WUPM 0x00804039 0xffffffff ;UPMB refresh WUPM 0x0080403A 0xffffffff ;UPMB refresh WUPM 0x0080403B 0xffffffff ;UPMB refresh WUPM 0x0080403C 0xffffffff ;UPMB exception WUPM 0x0080403D 0xffffffff ;UPMB exception WUPM 0x0080403E 0xffffffff ;UPMB exception WUPM 0x0080403F 0xffffffff ;UPMB exception ; init memory controller WM32 0xFF000104 0xFFC00760 ;OR0: Flash 4MB, all accesses WM32 0xFF000100 0xFFC00801 ;BR0: Flash at 0xFFC00000, 16bit, R/W, no parity, use GPCM WM32 0xFF000114 0xffc00800 ;OR2: DRAM 4MB, all accesses WM32 0xFF000110 0x000000c1 ;BR2: DRAM at 0x00000000, 32bit, R/W, no parity, use UPMB WM16 0xFF00017A 0x0200 ;MPTPR : divide by 32 WM32 0xFF000174 0x61a20111 ;MBMR ; Setup MMU info ;WSPR 796 0x00000000 ;M_TWB invalidate TWB ;WM32 0x000000f0 0x00000000 ;invalidate page table pointer pointer [TARGET] CPUTYPE MPC800 ;MPC860 BDIMODE GATEWAY CPUCLOCK 25000000 ;the CPU clock rate after processing the init list INITTIME 99 [HOST] IP 10.10.0.154 FILE wien-kernel FORMAT ELF [FLASH] WORKSPACE 0xFF002000 ;workspace in target RAM for fast programming algorithm CHIPTYPE AM29F ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x400000 ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000) BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) ; FILE E:\tornado\target\config\mbx860\bootrom.hex ;The file to program ; ERASE 0xFE000000 ;erase sector 0 of flash ; ERASE 0xFE040000 ;erase sector 1 of flash ; ERASE 0xFE080000 ;erase sector 2 of flash ; ERASE 0xFE0C0000 ;erase sector 3 of flash ; ERASE 0xFE100000 ;erase sector 4 of flash ; ERASE 0xFE140000 ;erase sector 5 of flash ; ERASE 0xFE180000 ;erase sector 6 of flash ; ERASE 0xFE1C0000 ;erase sector 7 of flash [REGS] DMM1 0xFF000000 FILE reg860.def