diff options
author | Perry Hung <iperry@gmail.com> | 2011-05-26 20:21:36 -0400 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2011-05-26 20:44:47 -0400 |
commit | 2bd55903033d1ff8b3dc5082c80c18c877460bc3 (patch) | |
tree | 8ea9a4cc6030e422ed7138ed6159b1fee4b59967 /docs | |
parent | d9f2a93159df96eef0d8084b96df7268533177ff (diff) | |
download | librambutan-2bd55903033d1ff8b3dc5082c80c18c877460bc3.tar.gz librambutan-2bd55903033d1ff8b3dc5082c80c18c877460bc3.zip |
openocd: Fix repeated JTAG flash failure, use alternate reset config
1) Reset, halt, and unprotect the the flash before writing to it.
This fixes a bug in which every other flash attempt would fail.
2) Maple R5 and below have NRST and JTNRST erroneously tied together,
resulting in a full TAP and system reset when a reset is asserted.
This prevents the 'reset halt' command from working.
This can be fixed hard-hack style by cutting the trace out of JTNRST.
Users of the Leaf Maple JTAG adapter will also need to cut the trace
between TRST and SRST.
3) Assuming you have a functioning 'reset halt' setup (see 2),
the 'make debug' command now halts the chip and waits for a gdb
connection before proceeding execution.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions