Can anyone help me to get the KwikStik running? Is it right that I need my own
config files?
Regards,
K. Dohmann
I've attached two of the configuration files for the KwikStik. Be
advised that
this is still work-in-progress and the writing of the on-chip flash does not
work. I'm in the process of writing the code for that and I hope to submit
that soon.
Hope this helps,
Jim
#
# Freescale Kinetis K40 devices
#
#
# K40 devices support both JTAG and SWD transports.
#
source [find target/swj-dp.tcl]
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME k40
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}
if { [info exists CPUTAPID ] } {
set _CPUTAPID $CPUTAPID
} else {
set _CPUTAPID 0x4ba00477
}
set _TARGETNAME $_CHIPNAME.cpu
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id
$_CPUTAPID
target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu
#
# Freescale KwikStik development board
#
#
# JLINK interface is onboard
#
interface jlink
jtag_rclk 10
source [find ./k40.cfg]
#
# Bank definition for the 'program flash' (instructions and/or data)
#
flash bank $_CHIPNAME.pflash kinetis 0x00000000 0x40000 0 0 $_TARGETNAME
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development