Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
bc08a1bb
Commit
bc08a1bb
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Add a working OpenOCD config for JTAG debugging
parent
a4879b8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
firmware/openocd.cfg
+29
-0
29 additions, 0 deletions
firmware/openocd.cfg
with
29 additions
and
0 deletions
firmware/openocd.cfg
0 → 100644
+
29
−
0
View file @
bc08a1bb
#
# OpenOCD configuration for JTAG debugging on the Kinetis K20.
#
# Use the OpenOCD patch from:
# https://forum.sparkfun.com/viewtopic.php?f=18&t=36393
#
# # checkout code from OpenOCD master branch
# git clone git://git.code.sf.net/p/openocd/code openocd
#
# # apply patch, this info is given on the gerrit page for the patch.
# git fetch http://openocd.zylin.com/openocd refs/changes/08/1508/1 && git checkout FETCH_HEAD
#
# ./bootstrap
# ./configure --enable-ftdi
# make
#
source
[find interface/ftdi/olimex-arm-usb-ocd-h.cfg]
# Freescale Kinetis K20 device. Should be compatible with K40,
# just set a custom name.
set
CHIPNAME
k20
source
[find target/k40.cfg]
adapter_khz
1000
reset_config
srst_only
# One 128K flash bank
flash
bank
pflash.0
kinetis
0x00000000
0x20000
0
4
$_TARGETNAME
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment