;EP8245 ;---------------------------------- ;written by Steven Blakeslee ; ; [INIT] ; ;WM32 0xfec00000 0x80000000 WM32 0xfec00000 0x00000080 ;WM32 0xfec00000 0x800000E0 WM32 0xfec00000 0xE0000080 ;************************************************************* ; Program Memory Starting Address Registers (MSAR1, MSAR2) ;************************************************************* ;WM32 0xfec00000 0x80000080 ;WM32 0xfee00000 0x00000000 ;WM32 0xfec00000 0x80000080 WM32 0xfec00000 0x80000080 WM32 0xfee00000 0x00000000 WM32 0xfec00000 0x80000080 ;WM32 0xfec00000 0x80000084 ;WM32 0xfee00000 0x00000000 ;WM32 0xfec00000 0x80000084 WM32 0xfec00000 0x84000080 WM32 0xfee00000 0x00000000 WM32 0xfec00000 0x84000080 ;************************************************************* ; Program Memory Ending Address Registers (MEAR1, MEAR2) ;************************************************************* ;WM32 0xfec00000 0x80000090 ;WM32 0xfee00000 0x0000007f ;WM32 0xfec00000 0x80000090 WM32 0xfec00000 0x90000080 WM32 0xfee00000 0x7f000000 WM32 0xfec00000 0x90000080 ;WM32 0xfec00000 0x80000094 ;WM32 0xfee00000 0x00000000 ;WM32 0xfec00000 0x80000094 WM32 0xfec00000 0x94000080 WM32 0xfee00000 0x00000000 WM32 0xfec00000 0x94000080 ;************************************************************* ; Program Memory Bank Enable Register (MBEN) ; and Memory Page Mode Register (MPMR) ;************************************************************* ;WM32 0xfec00000 0x800000A0 ;WM32 0xfee00000 0x32000001 ;WM32 0xfec00000 0x800000A0 WM32 0xfec00000 0xa0000080 WM32 0xfee00000 0x01000032 WM32 0xfec00000 0xa0000080 ;************************************************************* ; Program Processor Interface Configuration 2 Register (PICR2) ;************************************************************* ;WM32 0xfec00000 0x800000AC ;WM32 0xfee00000 0x00000000 ;WM32 0xfec00000 0x800000AC WM32 0xfec00000 0xac000080 WM32 0xfee00000 0x00000000 WM32 0xfec00000 0xac000080 ;************************************************************* ; Program Memory Control Configuration Register (MCCR1) ;************************************************************* ;WM32 0xfec00000 0x800000F0 ;WM32 0xfee00000 0x88440000 ;WM32 0xfec00000 0x800000F0 WM32 0xfec00000 0xf0000080 WM32 0xfee00000 0x00004488 WM32 0xfec00000 0xf0000080 ;************************************************************* ; Program Memory Control Configuration Register (MCCR2) ;************************************************************* ;WM32 0xfec00000 0x800000F4 ;WM32 0xfee00000 0x044019e4 ;WM32 0xfec00000 0x800000F4 WM32 0xfec00000 0xf4000080 WM32 0xfee00000 0xe4194004 WM32 0xfec00000 0xf4000080 ;************************************************************* ; Program Memory Control Configuration Register (MCCR3) ;************************************************************* ;WM32 0xfec00000 0x800000F8 ;WM32 0xfee00000 0x71300000 ;WM32 0xfec00000 0x800000F8 WM32 0xfec00000 0xf8000080 WM32 0xfee00000 0x00003071 WM32 0xfec00000 0xf8000080 ;************************************************************* ; Program Memory Control Configuration Register (MCCR4) ;************************************************************* ;WM32 0xfec00000 0x800000FC ;WM32 0xfee00000 0x25302235 ;WM32 0xfec00000 0x800000FC WM32 0xfec00000 0xfc000080 WM32 0xfee00000 0x35223025 WM32 0xfec00000 0xfc000080 ;************************************************************* ; Program memgo bit ;************************************************************* ;WM32 0xfec00000 0x800000F0 ;WM32 0xfee00000 0x884C0000 ;WM32 0xfec00000 0x800000F0 WM32 0xfec00000 0xf0000080 WM32 0xfee00000 0x00004c88 WM32 0xfec00000 0xf0000080 ;WM32 0x100 0x12345678 WM32 0x100 0x87563412 ;************************************************************* ; Set RCS2 ;************************************************************* ; ERCR1 ;WM32 0xfec00000 0x800000D0 ;WM32 0xfee00000 0x85FF8000 WM32 0xfec00000 0xd0000080 WM32 0xfee00000 0x0080ff85 ; ERCR3 ;WM32 0xfec00000 0x800000D8 ;WM32 0xfee00000 0x00000000 WM32 0xfec00000 0xd8000080 WM32 0xfee00000 0x00000000 ;************************************************************* ; Set EUMB Register ;************************************************************* ;WM32 0xfec00000 0x80000078 ;WM32 0xfee00000 0xFC000000 ;WM32 0xfec00000 0x80000078 WM32 0xfec00000 0x78000080 WM32 0xfee00000 0x000000FC WM32 0xfec00000 0x78000080 ;************************************************************* ; Set PICR1 Register ;************************************************************* ;WM32 0xfec00000 0x800000A8 ;WM32 0xfee00000 0x00141b98 ;WM32 0xfec00000 0x800000A8 WM32 0xfec00000 0xa8000080 WM32 0xfee00000 0x981b1400 WM32 0xfec00000 0xa8000080 ;************************************************************* ; Device ID ;************************************************************* ;WM32 0xfec00000 0x80000000 WM32 0xfec00000 0x00000080 ;************************************************************* ; Revision ID ;************************************************************* ;WM32 0xfec00000 0x80000008 WM32 0xfec00000 0x08000080 ; ; ; [TARGET] CPUTYPE 8240 ;the CPU type (603EV,750,8240,8260) JTAGCLOCK 0 ;use 16 MHz JTAG clock ;WORKSPACE 0x00000000 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT | GATEWAY) BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints STEPMODE HWBP VECTOR CATCH ;catch unhandled exceptions DCACHE NOFLUSH ;data cache flushing (FLUSH | NOFLUSH) ; ; [HOST] IP 10.0.0.168 FILE PCB82xx102.ep FORMAT SREC LOAD MANUAL ;load code MANUAL or AUTO after reset ; ; [REGS] DMM1 0xF0000000 ;DMM1 0x0 FILE defs/reg8260.def