X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Fboard%2Fcsb337.cfg;h=5e225f5f549de04f21d3dabe413cbe130d36ad26;hb=8f779cf66bf459616b7dad88e871c2f4a7315371;hp=1157cb826aa8a6ff41069b299b5a9fc082c218d7;hpb=594abeb82bdcbd4bd079ec1a80c092076c55ccae;p=openocd.git diff --git a/tcl/board/csb337.cfg b/tcl/board/csb337.cfg index 1157cb826a..5e225f5f54 100644 --- a/tcl/board/csb337.cfg +++ b/tcl/board/csb337.cfg @@ -4,7 +4,8 @@ source [find target/at91rm9200.cfg] # boots from NOR on CS0: 8 MBytes CFI flash, 16-bit bus -flash bank cfi 0x10000000 0x00800000 2 2 $_TARGETNAME +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x10000000 0x00800000 2 2 $_TARGETNAME # ETM9 trace port connector present on this board, 16 data pins. if { [info exists ETM_DRIVER] } { @@ -18,7 +19,7 @@ if { [info exists ETM_DRIVER] } { proc csb337_clk_init { } { # CPU is in Slow Clock Mode (32KiHz) ... needs slow JTAG clock - jtag_khz 8 + adapter_khz 8 # CKGR_MOR: start main oscillator (3.6864 MHz) mww 0xfffffc20 0xff01 @@ -36,7 +37,7 @@ proc csb337_clk_init { } { sleep 20 # CPU is in Normal Mode ... allows faster JTAG clock speed - jtag_khz 40000 + adapter_khz 40000 } proc csb337_nor_init { } { @@ -108,11 +109,9 @@ proc csb337_reset_init { } { # I(12) = 1 # - Reserved/ones # 6:3 = 1 - # - Alignment traps enabled - # A(1) = 1 - arm920t cp15 2 0xc000107a + arm920t cp15 2 0xc0001078 } $_TARGETNAME configure -event reset-init {csb337_reset_init} -# vim:syntax tcl +arm7_9 fast_memory_access enable