]> git.sur5r.net Git - openocd/blob - src/target/target/omap5912.cfg
Rick Altherr <kc8apf@kc8apf.net> - update syntax
[openocd] / src / target / target / omap5912.cfg
1 #TI OMAP5912 dual core processor - http://www.ti.com 
2 #on a OMAP5912 OSK board http://www.spectrumdigital.com.
3
4 #use combined on interfaces or targets that can't set TRST/SRST separately
5 reset_config trst_and_srst
6
7 #jtag scan chain
8 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
9 jtag_device 38 0x0 0x0 0x0
10 jtag_device 4  0x1 0x0 0xe
11 jtag_device 8  0x0 0x0 0x0
12
13 target create target0 arm926ejs -endian little -chain-position 1 -variant arm926ejs
14 [new_target_name] configure -event reset-init { script event/omap5912_reset.script }
15
16 # omap5912 lcd frame buffer as working area
17 [new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x3e800 -work-area-backup 0
18
19 #flash bank <driver> <base> <size> <chip_width> <bus_width>
20 flash bank cfi 0x00000000 0x1000000 2 2 0