38ac08c1c2
Avoid annoying "deprecated" messages while running the scripts distributed with OpenOCD code. Change automatically created with commands sed -i 's/adapter_khz/adapter speed/g' $(find tcl/ -type f) sed -i 's/adapter_nsrst_delay/adapter srst delay/g' $(find tcl/ -type f) sed -i 's/adapter_nsrst_assert_width/adapter srst pulse_width/g' $(find tcl/ -type f) Minor indentation issue fixed manually in tcl/board/at91sam9g20-ek.cfg tcl/target/at91sam9260_ext_RAM_ext_flash.cfg Change-Id: I425fd56c0c88cd6b06124621306eeb89166dfe71 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5284 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
23 lines
780 B
INI
23 lines
780 B
INI
######################################
|
|
# Target: Atmel AT91SAM9G20
|
|
######################################
|
|
|
|
if { [info exists CHIPNAME] } {
|
|
set AT91_CHIPNAME $CHIPNAME
|
|
} else {
|
|
set AT91_CHIPNAME at91sam9g20
|
|
}
|
|
|
|
source [find target/at91sam9.cfg]
|
|
|
|
# Set fallback clock to 1/6 of worst-case clock speed (which would be the 32.768 kHz slow clock).
|
|
|
|
adapter speed 5
|
|
|
|
# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
|
|
# AT91SAM9G20 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.
|
|
# Both areas are 16 kB long.
|
|
|
|
#$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 1
|
|
$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1
|