; bdiGDB configuration for TI OMAP3430 ; ------------------------------------ ; ; Commands supported in the SCANINIT and SCANPOST strings: ; ; I=<...b2b1b0> write IR, b0 is first scanned ; D=<...b2b1b0> write DR, b0 is first scanned ; n : the number of bits 1..256 ; bx : a data byte, two hex digits ; W wait for n (decimal) micro seconds ; T1 assert TRST ; T0 release TRST ; R1 assert RESET ; R0 release RESET ; CH clock TCK n (decimal) times with TMS high ; CL clock TCK n (decimal) times with TMS low ; ; [INIT] ;WGPR 11 0x40200020 ;set frame pointer to free RAM ;WM32 0x40200020 0x40200028 ;dummy stack frame ; [TARGET] CPUTYPE OMAP3430 CLOCK 2 ;JTAG clock POWERUP 5000 ;power-up delay TRST PUSHPULL ;TRST driver type (OPENDRAIN | PUSHPULL) RESET SOFT ;NONE | SOFT | HARD (ms) ;STARTUP HALT STARTUP STOP 5000 ;let boot code setup the system ENDIAN LITTLE ;memory model (LITTLE | BIG) ;WAKEUP 100 MEMACCESS CORE 1 ;memory access via core (8 TCK's access delay) ;MEMACCESS AHB 1 ;memory access via AHB (8 TCK's access delay) ;DCC 7 ;DCC I/O via TCP port 7 SCANPRED 1 6 ;count for ICEPick TAP SCANSUCC 0 0 ;no device after Cortex-A8 ; Configure ICEPick module to make Cortex-A8 DAP-TAP visible SCANINIT t1:w1000:t0:w1000: ;toggle TRST, SCANINIT ch10:w1000: ;clock TCK with TMS high and wait SCANINIT i6=07:d8=89:i6=02: ;connect and select router SCANINIT d32=81000080: ;IP control: KeepPowered SCANINIT d32=a3002048: ;TAP3: DebugConnect, ForcePower, ForceActive SCANINIT d32=81000081: ;IP control: KeepPowered, SysReset SCANINIT d32=a3002148:cl10: ;enable TAP3, clock 10 times in RTI SCANINIT i10=ffff ;scan bypass ; [HOST] IP 151.120.25.119 FILE E:/temp/dump1024k.bin FORMAT BIN 0x80000000 LOAD MANUAL ;load file MANUAL or AUTO after reset PROMPT OMAP3430> [FLASH] ; only to test helper code execution WORKSPACE 0x80001000 ;workspace at 0x1000 CHIPTYPE AM29BX16 CHIPSIZE 0x400000 BUSWIDTH 16 FILE E:/temp/dump1024k.bin FORMAT BIN 0x80300000 [REGS] FILE $regOMAP3430.def