openocd.git
14 years agoFw: [PATCH] OpenRD board configuration
Wookey [Wed, 14 Oct 2009 13:27:41 +0000 (14:27 +0100)]
Fw: [PATCH] OpenRD board configuration

Ofrwarded from Ron, who's not subscribed.

----- Forwarded message from Ron <ron@debian.org> -----

From: Ron <ron@debian.org>
Date: Wed, 14 Oct 2009 04:50:17 +1030
To: wookey@debian.org
Subject: [PATCH] OpenRD board configuration
X-Spam-Status: No, score=-3.6 required=4.5 tests=BAYES_00,RCVD_IN_DNSWL_LOW
autolearn=ham version=3.2.5

This piggybacks on the 'sheevaplug' layout which uses the same Kirkwood SoC.

Signed-off-by: Ron Lee <ron@debian.org>
14 years agoS29WS-N CFI query fix is to try 0x555 if 0x55 fails.
Øyvind Harboe [Wed, 14 Oct 2009 10:01:52 +0000 (12:01 +0200)]
S29WS-N CFI query fix is to try 0x555 if 0x55 fails.

14 years agoWork in progress on arm11 reset. Assert srst.
Øyvind Harboe [Wed, 14 Oct 2009 09:14:04 +0000 (11:14 +0200)]
Work in progress on arm11 reset. Assert srst.

14 years agoiMX target config script's ported from Freescale BSP.
Øyvind Harboe [Wed, 14 Oct 2009 08:34:41 +0000 (10:34 +0200)]
iMX target config script's ported from Freescale BSP.

14 years agoFix problems building xscale_debug.S
David Brownell [Wed, 14 Oct 2009 07:32:42 +0000 (09:32 +0200)]
Fix problems building xscale_debug.S

14 years agoomap2420.cfg updates
David Brownell [Wed, 14 Oct 2009 09:00:34 +0000 (02:00 -0700)]
omap2420.cfg updates

Remove ircapture/mask attributes.  Add "srst_nogate".

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agofix detection of PLD instructions
Lennert Buytenhek [Tue, 13 Oct 2009 20:48:18 +0000 (22:48 +0200)]
fix detection of PLD instructions

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agofix pass_condition() LE condition code check
Lennert Buytenhek [Tue, 13 Oct 2009 18:27:03 +0000 (20:27 +0200)]
fix pass_condition() LE condition code check

The LE check is obviously buggy (as easily triggered during some
testing), but I didn't audit the rest of the cases.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agocosmetic cleanup in TMS tables
David Brownell [Tue, 13 Oct 2009 17:55:24 +0000 (10:55 -0700)]
cosmetic cleanup in TMS tables

Cleanup comments and layout/whitespace in the TMS tables.
Table contents stayed the same (ignoring whitespace).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoCleanup: nuke trailling whitespaces
Yauheni Kaliuta [Tue, 13 Oct 2009 17:00:46 +0000 (20:00 +0300)]
Cleanup: nuke trailling whitespaces

Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
14 years agoDo not replace virt2phys with the default one if it was assigned
Yauheni Kaliuta [Sun, 11 Oct 2009 15:27:27 +0000 (18:27 +0300)]
Do not replace virt2phys with the default one if it was assigned

Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
14 years agoRetired gdb_attach. gdb-detach event covers this functionality.
Øyvind Harboe [Tue, 13 Oct 2009 11:44:15 +0000 (13:44 +0200)]
Retired gdb_attach. gdb-detach event covers this functionality.

14 years agoMissing type for eCos.
Øyvind Harboe [Tue, 13 Oct 2009 11:13:29 +0000 (13:13 +0200)]
Missing type for eCos.

14 years agoFix warning.
Øyvind Harboe [Tue, 13 Oct 2009 10:22:23 +0000 (12:22 +0200)]
Fix warning.

14 years agoDelete commented out code. Add a bit of error checking.
Øyvind Harboe [Tue, 13 Oct 2009 10:06:55 +0000 (12:06 +0200)]
Delete commented out code. Add a bit of error checking.

14 years agoarm11 seems to gate JTAG when srst is asserted
Øyvind Harboe [Tue, 13 Oct 2009 10:02:09 +0000 (12:02 +0200)]
arm11 seems to gate JTAG when srst is asserted

14 years agoPropagate error from assert, deassert and halt on tcl target object.
Øyvind Harboe [Tue, 13 Oct 2009 09:29:05 +0000 (11:29 +0200)]
Propagate error from assert, deassert and halt on tcl target object.

14 years agoxscale: stackframe corruption bugfix
David Brownell [Tue, 13 Oct 2009 08:21:24 +0000 (01:21 -0700)]
xscale: stackframe corruption bugfix

Resolve a "FIX" comment; yes that was superfluous given that the
JTAG core does that check by default.  It was also buggy since it
wrote to a stack frame that went away before the write happened!!

Other fixes:  remove pointless malloc(); zero-init scan_field_t
values wherever they appear; whitespace scrub; spelling fix.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoMore error propagation fixes.
Øyvind Harboe [Mon, 12 Oct 2009 13:25:00 +0000 (15:25 +0200)]
More error propagation fixes.

14 years agoarm11 burst writes are now only enabled for writes larger than 1 word. Single word...
Øyvind Harboe [Mon, 12 Oct 2009 13:13:44 +0000 (15:13 +0200)]
arm11 burst writes are now only enabled for writes larger than 1 word. Single word writes are frequently used from reset init scripts to non-memory peripherals.

14 years agoXilinx xcr3256.cfg basic config script
Wookey [Mon, 12 Oct 2009 13:12:35 +0000 (15:12 +0200)]
Xilinx xcr3256.cfg basic config script

14 years agoRetire arm11 no_increment. Intended for future expansion to read/write to ports....
Øyvind Harboe [Mon, 12 Oct 2009 12:21:38 +0000 (14:21 +0200)]
Retire arm11 no_increment. Intended for future expansion to read/write to ports. New arm11 commands would have to be added to exploit it.

14 years agoPropagate wDTR/rDTR failure immediately, otherwise it's followed up by timeout errors.
Øyvind Harboe [Mon, 12 Oct 2009 12:10:49 +0000 (14:10 +0200)]
Propagate wDTR/rDTR failure immediately, otherwise it's followed up by timeout errors.

14 years agoFix warning and improve error message upon burst transfer failure
Øyvind Harboe [Mon, 12 Oct 2009 12:09:10 +0000 (14:09 +0200)]
Fix warning and improve error message upon burst transfer failure

14 years agoburst writes work fine. clean up junk.
Øyvind Harboe [Mon, 12 Oct 2009 12:08:29 +0000 (14:08 +0200)]
burst writes work fine. clean up junk.

14 years agoFix bogus 'transfer errors' with arm11 'memwrite burst enable'. A regression introduc...
Øyvind Harboe [Mon, 12 Oct 2009 09:57:59 +0000 (11:57 +0200)]
Fix bogus 'transfer errors' with arm11 'memwrite burst enable'. A regression introduced in b8103660fa36a77158bd77379572c09913d85c00

14 years agosimplify XScale debug handler installation
David Brownell [Mon, 12 Oct 2009 09:39:18 +0000 (02:39 -0700)]
simplify XScale debug handler installation

Load the XScale debug handler from the read-only data section
instead of from a separate file that can get lost or garbaged.
This eliminates installation and versioning issues, and also
speeds up reset handling a bit.

Plus some minor bits of cleanup related to loading that handler:
comments about just what this handler does, and check fault codes
while writing it into the mini-icache.

The only behavioral changes should be cleaner failure modes after
errors during handler loading, and being a bit faster.

NOTE:  presumes GNU assembly syntax, with ".incbin"; and ELF,
because of the syntax of the ".size" directive.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agomore xscale cleanup (mostly removing JTAG hooks)
David Brownell [Mon, 12 Oct 2009 09:39:01 +0000 (02:39 -0700)]
more xscale cleanup (mostly removing JTAG hooks)

Streamline/shrink some needless JTAG stuff:

 - Use #defines for the JTAG instructions; they can't ever change
 - Remove an unused (!) shadow of tap->ir_length
 - Stop using a copy of target->tap
 - Don't bother saving the variant after sanity checking ir_length

Also, make target_create() work as on other targets:  build the
register cache later, making init_target() no longer be a NOP.
Handle malloc failure; remove a comment that was obsoleted by the
not-so-new target syntax.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoMerge commit 'origin/master'
Øyvind Harboe [Mon, 12 Oct 2009 07:28:56 +0000 (09:28 +0200)]
Merge commit 'origin/master'

14 years agoIf halt times out, stop GDB. Allows e.g. manual reset via monitor commands.
Øyvind Harboe [Mon, 12 Oct 2009 07:27:27 +0000 (09:27 +0200)]
If halt times out, stop GDB. Allows e.g. manual reset via monitor commands.

14 years agoSupply default reset_config statement to make target scripts useful standalone and...
Øyvind Harboe [Mon, 12 Oct 2009 07:25:08 +0000 (09:25 +0200)]
Supply default reset_config statement to make target scripts useful standalone and provide sensible default

14 years agoxscale_load_ic cleanup
David Brownell [Sun, 11 Oct 2009 17:35:52 +0000 (10:35 -0700)]
xscale_load_ic cleanup

Remove unused and deprecated (in the arch spec) mode for loading
code into the *main* icache (vs the "mini" icache).  Disable some
extremely noisy (and rarely useful) low-level debug messages

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoxscale.c cleanup
David Brownell [Sun, 11 Oct 2009 17:35:28 +0000 (10:35 -0700)]
xscale.c cleanup

Declare almost everything as static.
Move stuff to remove most forward references.
Remove most forward declarations.
Warn if the unimplemented register functions get called.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoxscale bugfix to handler loading
David Brownell [Sun, 11 Oct 2009 17:06:08 +0000 (10:06 -0700)]
xscale bugfix to handler loading

Just fill out the rest of the cache line with NOPs; don't change
the record of how much data we consumed.  Otherwise the count of
how much data is left can roll over from positive to negative
("VERY positive") and skip the loop termination of zero.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoxscale minor cleanup
David Brownell [Sun, 11 Oct 2009 09:52:00 +0000 (02:52 -0700)]
xscale minor cleanup

Add a header comment referencing useful XScale specs.
Make most data static, and the tables readonly.
Scrub extra blank lines.
Return fault codes from one routine.
Remove a needless NOP methood.

(BUGFIX) When we update R0, mark R0 as dirty/valid ... not R15/PC!

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoprintf format warning fixes
David Brownell [Sat, 10 Oct 2009 18:32:39 +0000 (11:32 -0700)]
printf format warning fixes

Observed on a Cygwin build.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoFix reset delays and tinker with ID's
Wookey [Sat, 10 Oct 2009 07:08:06 +0000 (09:08 +0200)]
Fix reset delays and tinker with ID's

14 years agotweak new "translating ..." text
David Brownell [Fri, 9 Oct 2009 22:51:16 +0000 (15:51 -0700)]
tweak new "translating ..." text

Fix formatting and layout bugs in the new "translating configuration
files" bit.  Make it a section within the chapter about config files.
Add a crossreference.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoadd documentation about reset customization
David Brownell [Fri, 9 Oct 2009 19:52:42 +0000 (12:52 -0700)]
add documentation about reset customization

We added two overridable procedures; document them, and the
two jtag arp_* operations they necessarily expose.

Update the comment about the jtag_init_reset() routine; it's
been obsolete for as long as it's had SRST support.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoStop debug session if halt fails
Øyvind Harboe [Fri, 9 Oct 2009 08:31:40 +0000 (10:31 +0200)]
Stop debug session if halt fails

14 years agoARM11 error checking
Øyvind Harboe [Fri, 9 Oct 2009 08:00:05 +0000 (10:00 +0200)]
ARM11 error checking

14 years agoMerge commit 'origin/master'
Øyvind Harboe [Fri, 9 Oct 2009 07:14:27 +0000 (09:14 +0200)]
Merge commit 'origin/master'

14 years agoAdded tip in documentation on how to translate quirky syntax
Øyvind Harboe [Fri, 9 Oct 2009 07:03:53 +0000 (09:03 +0200)]
Added tip in documentation on how to translate quirky syntax

14 years agomake PXA255 targets enumerate sort-of-OK
David Brownell [Fri, 9 Oct 2009 06:51:50 +0000 (23:51 -0700)]
make PXA255 targets enumerate sort-of-OK

Startup now mostly works, except that the initial target state
is "unknown" ... previously, it refused to even start.

Getting that far required fixing the ircapture value (which
can never have been correct!) and the default JTAG clock rate,
then providing custom reset script.

The "reset" command is still iffy.  DCSR updates, and loading
the debug handler, report numerous DR/IR capture failures.
But once that's done, "poll" reports that the CPU is halted
(which it shouldn't be, this was "reset run"!), due to the
rather curious reason "target-not-halted".

Summary:  you still can't debug these parts, but it's closer.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoadd overridable Tcl "init_reset"
David Brownell [Fri, 9 Oct 2009 06:51:50 +0000 (23:51 -0700)]
add overridable Tcl "init_reset"

This abstracts the "jtag arp_init-reset" call into a method
called from OpenOCD startup and reset processing.

Platforms which have different requirements for how such hard
resets must be performed can now override "init_reset" instead
of needing to rebuild custom hacked versions of the server.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agominor JTAG init messaging tweaks
David Brownell [Fri, 9 Oct 2009 06:51:50 +0000 (23:51 -0700)]
minor JTAG init messaging tweaks

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoFunction to flash SheevaPlug u-boot sectors
Rabeeh Khoury [Fri, 9 Oct 2009 00:10:52 +0000 (17:10 -0700)]
Function to flash SheevaPlug u-boot sectors

This function is used by the SheevaPlug installer to flash the
erase and re-flash the U-Boot environment in the NAND Flash.

14 years agoinitial builds of OSK5912 boards need srst_pulls_trst
David Brownell [Thu, 8 Oct 2009 20:15:18 +0000 (13:15 -0700)]
initial builds of OSK5912 boards need srst_pulls_trst

This is clearly noted in the hardware spec (section 5.2.3); it
works around a chip erratum:  "If the MPU_RESET signal is used,
it may cause the EMIFS bus to lock."

I seem to have a board with such an initial build.  The chip
is labeled XOMAP.  Presumably, parts without that "X" prefix
(eXperimental) resolve this.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoprevent abort via polling during jtag_reset
David Brownell [Thu, 8 Oct 2009 18:14:00 +0000 (11:14 -0700)]
prevent abort via polling during jtag_reset

Observed:

  openocd: core.c:318: jtag_checks: Assertion `jtag_trst == 0' failed.

The issue was that nothing disabled background polling during calls
from the TCL shell to "jtag_reset 1 1".  Fix by moving the existing
poll-disable mechanism to the JTAG layer where it belongs, and then
augmenting it to always pay attention to TRST and SRST.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoStop ignoring most scan chain validation errors
David Brownell [Thu, 8 Oct 2009 16:16:01 +0000 (09:16 -0700)]
Stop ignoring most scan chain validation errors

Among other things this causes startup errors to kick in the
fallback "reset harder" logic during server startup.  Comments
are also updated a bit, explaining what the various error paths
signify (in at least my observation).

There's one class of validation error that we can still plausibly
ignore:  when wrong IDCODE values are observed.

This change seems to have helped make an OMAP5912 behave much
more reliably.  There's still some post-reset flakiness, but
it's unrelated to scan verification.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Thu, 8 Oct 2009 14:32:47 +0000 (07:32 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoTesting committing changes to .gitignore to ignore more build output
Øyvind Harboe [Thu, 8 Oct 2009 13:43:51 +0000 (15:43 +0200)]
Testing committing changes to .gitignore to ignore more build output

14 years agoAdd .project to .gitignore
Øyvind Harboe [Thu, 8 Oct 2009 13:27:09 +0000 (15:27 +0200)]
Add .project to .gitignore

14 years agoStop GDB when polling fails, srst assert or powerdropout is detected
Øyvind Harboe [Thu, 8 Oct 2009 12:53:25 +0000 (14:53 +0200)]
Stop GDB when polling fails, srst assert or powerdropout is detected

14 years agoUpdate copyright statements. Make it easier to sync with Jim Tcl
Øyvind Harboe [Thu, 8 Oct 2009 11:56:57 +0000 (13:56 +0200)]
Update copyright statements. Make it easier to sync with Jim Tcl

14 years agomake OMAP5912 resets more reliable
David Brownell [Thu, 8 Oct 2009 06:29:18 +0000 (23:29 -0700)]
make OMAP5912 resets more reliable

Without some extra delay after releasing SRST, we seemed to
be trying to talk to the TAP before it was ready to respond.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoiMX25 target support
John Rigby [Thu, 8 Oct 2009 04:19:32 +0000 (22:19 -0600)]
iMX25 target support

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
14 years agoHouston, we have Mirror!
David Brownell [Thu, 8 Oct 2009 02:11:37 +0000 (19:11 -0700)]
Houston, we have Mirror!

14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Thu, 8 Oct 2009 00:14:58 +0000 (17:14 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoChange most in-tree references from SVN to GIT.
dbrownell [Thu, 8 Oct 2009 00:13:50 +0000 (00:13 +0000)]
Change most in-tree references from SVN to GIT.
Also, talk about "mainline" not "trunk".

The release.txt and release.sh files need more updates.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2825 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoForce sane SRST and TRST initialization
dbrownell [Wed, 7 Oct 2009 19:02:21 +0000 (19:02 +0000)]
Force sane SRST and TRST initialization

At least some FT2232 based adapters don't necessarily come up
in the expected state, with SRST and TRST disabled.  Since
other adapters could suffer the same problem, let's avoid
needing to patch every driver and just force *all* adapters
to initialize those values properly at server startup.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2824 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoBetter fix for TAPs violating the JTAG spec for IR-Capture.
dbrownell [Wed, 7 Oct 2009 18:51:11 +0000 (18:51 +0000)]
Better fix for TAPs violating the JTAG spec for IR-Capture.

Instead of just assuming all IDCODE-deprived TAPs violate the
JTAG spec (they don't!), just require TAPs with such problems
to be declared with proper ircapture/irmask values.  Example,
with mask and value of zero.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2823 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoRemove much #ifdeffery around _DEBUG_JTAG_IO_ usage.
dbrownell [Wed, 7 Oct 2009 17:30:51 +0000 (17:30 +0000)]
Remove much #ifdeffery around _DEBUG_JTAG_IO_ usage.
Have DEBUG_JTAG_IO() always trigger necessary warnings.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2822 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agobuildfix
dbrownell [Wed, 7 Oct 2009 16:28:44 +0000 (16:28 +0000)]
buildfix

git-svn-id: svn://svn.berlios.de/openocd/trunk@2821 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Wed, 7 Oct 2009 16:16:39 +0000 (09:16 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoRemove pointless "target library" chapter.
dbrownell [Wed, 7 Oct 2009 16:15:21 +0000 (16:15 +0000)]
Remove pointless "target library" chapter.

It had a very little bit of content; move that to the more extensive
chapter on config file guidelines, and give more current "ls" output
to show the available library code.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2820 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoNote bug in handling of variables through command line parameters.
dbrownell [Wed, 7 Oct 2009 15:56:11 +0000 (15:56 +0000)]
Note bug in handling of variables through command line parameters.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2819 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUpdates for "reset_config":
dbrownell [Wed, 7 Oct 2009 15:31:33 +0000 (15:31 +0000)]
Updates for "reset_config":

 - revert to previous default: don't talk JTAG during SRST
 - add "srst_nogates" flag, the converse of "srst_gates_jtag"
 - with no args, display the current configuration

And update the User's Guide text with bullet lists to be a bit more clear.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2818 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agofirst stab at imx35 reset init script
oharboe [Wed, 7 Oct 2009 12:21:58 +0000 (12:21 +0000)]
first stab at imx35 reset init script

git-svn-id: svn://svn.berlios.de/openocd/trunk@2817 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoremove recrusive reset invocation from reset init callback
oharboe [Wed, 7 Oct 2009 12:20:06 +0000 (12:20 +0000)]
remove recrusive reset invocation from reset init callback

git-svn-id: svn://svn.berlios.de/openocd/trunk@2816 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoadd timeouts and fix syntax error handling of mrc/mcr commands.
oharboe [Wed, 7 Oct 2009 12:19:17 +0000 (12:19 +0000)]
add timeouts and fix syntax error handling of mrc/mcr commands.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2815 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoadd timeouts and fix syntax error handling of mrc/mcr commands.
oharboe [Wed, 7 Oct 2009 12:05:37 +0000 (12:05 +0000)]
add timeouts and fix syntax error handling of mrc/mcr commands.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2814 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoincrease pause before reboot so web interface remains responsive when issuing a reboo...
oharboe [Wed, 7 Oct 2009 11:03:56 +0000 (11:03 +0000)]
increase pause before reboot so web interface remains responsive when issuing a reboot of zy1000

git-svn-id: svn://svn.berlios.de/openocd/trunk@2813 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDo not check ir capture if there is no IDCODE
oharboe [Wed, 7 Oct 2009 11:03:01 +0000 (11:03 +0000)]
Do not check ir capture if there is no IDCODE

git-svn-id: svn://svn.berlios.de/openocd/trunk@2812 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years ago1.55 snapshot
oharboe [Wed, 7 Oct 2009 06:53:44 +0000 (06:53 +0000)]
1.55 snapshot

git-svn-id: svn://svn.berlios.de/openocd/trunk@2810 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoChange version labels to work better with GIT
dbrownell [Wed, 7 Oct 2009 05:43:05 +0000 (05:43 +0000)]
Change version labels to work better with GIT

 - The guess-rev.sh script is now a tweaked version of "setlocalversion" as
   seen in Linux, U-Boot, and various other projects.  When it finds source
   control support (git, hg, svn) it uses IDs from there.  Else (specific
   to this project) it reports itself as "-snapshot", e.g. from gitweb.

   I verified this new "guess-rev.sh" script runs under Cygwin.

 - Also update the generic version strings to be like "0.3.0-dev" (during
   development) instead of the very long "0.3.0-in-development".  These also
   show up in the PDF docs.  For better tracking, we might eventually change
   these strings to include the version IDs too.

 - Change the startup banner version strings so they include the guess-rev
   output.  Development and release versions with GIT will be like

    Open On-Chip Debugger 0.3.0-dev-00282-g7191a4f-dirty (2009-10-05-20:57)
    Open On-Chip Debugger 0.3.0 (2009-10-05-20:57)

   instead of the previous SVN-specific (even when using git-svn!)

    Open On-Chip Debugger 0.3.0-in-development (2009-10-05-01:39) svn:exported
    Open On-Chip Debugger 0.3.0 (2009-10-05-01:39) Release

git-svn-id: svn://svn.berlios.de/openocd/trunk@2809 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Tue, 6 Oct 2009 22:58:06 +0000 (15:58 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoAdd basic support for DM6446 EVM board.
dbrownell [Tue, 6 Oct 2009 22:56:52 +0000 (22:56 +0000)]
Add basic support for DM6446 EVM board.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2808 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDragonite has the same EICE affliction as feroceon.
dbrownell [Tue, 6 Oct 2009 22:55:46 +0000 (22:55 +0000)]
Dragonite has the same EICE affliction as feroceon.

From: Nicolas Pitre <nico@fluxnic.net>

git-svn-id: svn://svn.berlios.de/openocd/trunk@2807 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDragonite target script
dbrownell [Tue, 6 Oct 2009 22:55:04 +0000 (22:55 +0000)]
Dragonite target script

From: Nicolas Pitre <nico@fluxnic.net>

git-svn-id: svn://svn.berlios.de/openocd/trunk@2806 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Tue, 6 Oct 2009 15:29:23 +0000 (08:29 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoIntroduced jtag_init and "jtag arp_init" to allow target scripts more control over...
oharboe [Tue, 6 Oct 2009 08:10:57 +0000 (08:10 +0000)]
Introduced jtag_init and "jtag arp_init" to allow target scripts more control over how OpenOCD starts up and initializes the target.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2805 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agostop using targetnum
oharboe [Tue, 6 Oct 2009 08:10:05 +0000 (08:10 +0000)]
stop using targetnum

git-svn-id: svn://svn.berlios.de/openocd/trunk@2804 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoTake "patches" out of .gitignore ... Win32 is case-crazy
dbrownell [Tue, 6 Oct 2009 05:28:30 +0000 (05:28 +0000)]
Take "patches" out of .gitignore ... Win32 is case-crazy

git-svn-id: svn://svn.berlios.de/openocd/trunk@2803 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Mon, 5 Oct 2009 23:49:51 +0000 (16:49 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoAdd initial ".gitignore".
dbrownell [Mon, 5 Oct 2009 23:45:14 +0000 (23:45 +0000)]
Add initial ".gitignore".

git-svn-id: svn://svn.berlios.de/openocd/trunk@2802 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMerge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd...
David Brownell [Mon, 5 Oct 2009 08:27:43 +0000 (01:27 -0700)]
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd

14 years agoImprove jtag_validate_ircapture() diagnostics.
dbrownell [Mon, 5 Oct 2009 08:23:33 +0000 (08:23 +0000)]
Improve jtag_validate_ircapture() diagnostics.

Bugfix the error message so it shows the disliked value, and add
a debug message showing each TAP's IR capture value, all N bits.

This just changes diagnostics ... it still ignores the parameters
given to us at TAP declaration time.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2801 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd a new JTAG "setup" event; use for better DaVinci ICEpick support.
dbrownell [Mon, 5 Oct 2009 08:20:28 +0000 (08:20 +0000)]
Add a new JTAG "setup" event; use for better DaVinci ICEpick support.

The model is that this fires after scanchain verification, when it's
safe to call "jtag tapenable $TAPNAME".  So it will fire as part of
non-error paths of "init" and "reset" command processing.  However it
will *NOT* trigger during "jtag_reset" processing, which skips all
scan chain verification, or after verification errors.

ALSO:
 - switch DaVinci chips to use this new mechanism
 - log TAP activation/deactivation, since their IDCODEs aren't verified
 - unify "enum jtag_event" scripted event notifications
 - remove duplicative JTAG_TAP_EVENT_POST_RESET

git-svn-id: svn://svn.berlios.de/openocd/trunk@2800 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMinor cleanup to ARM926 debug entry:
dbrownell [Mon, 5 Oct 2009 08:18:17 +0000 (08:18 +0000)]
Minor cleanup to ARM926 debug entry:

 - don't needlessly export this function
 - handle "case 0" debug method-of-entry better (silent by default)

The "case 0" is a valid debug entry mode so it doesn't deserve the
warning int now gets.  But it probably means that OpenOCD confused
itself somehow; or that it confused the ARM9EJS target.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2799 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUpdate the NEWS file to cover more of the user-visible changes.
dbrownell [Mon, 5 Oct 2009 08:14:57 +0000 (08:14 +0000)]
Update the NEWS file to cover more of the user-visible changes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2798 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoGet rid of needless OMAP and Davinci target config options
dbrownell [Mon, 5 Oct 2009 08:13:00 +0000 (08:13 +0000)]
Get rid of needless OMAP and Davinci target config options
so they provide better examples and are easier to maintain.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2797 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUpdated reset event handling in omap3530 cfg
mlu [Fri, 2 Oct 2009 16:52:02 +0000 (16:52 +0000)]
Updated reset event handling in omap3530 cfg

git-svn-id: svn://svn.berlios.de/openocd/trunk@2796 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoIt is not possible to invalidate I-Cache on memory writes while the target is running
mlu [Fri, 2 Oct 2009 16:50:42 +0000 (16:50 +0000)]
It is not possible to invalidate I-Cache on memory writes while the target is running

git-svn-id: svn://svn.berlios.de/openocd/trunk@2795 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMake sure that DSCR_DTR_RX is not full before writing
mlu [Fri, 2 Oct 2009 16:44:16 +0000 (16:44 +0000)]
Make sure that DSCR_DTR_RX is not full before writing

git-svn-id: svn://svn.berlios.de/openocd/trunk@2794 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMore error reporting in Cortex_a8 execute_opcode
mlu [Fri, 2 Oct 2009 16:39:50 +0000 (16:39 +0000)]
More error reporting in Cortex_a8 execute_opcode

git-svn-id: svn://svn.berlios.de/openocd/trunk@2793 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdded asser_reset and deassert_reset for cortex_a8
mlu [Fri, 2 Oct 2009 16:37:22 +0000 (16:37 +0000)]
Added asser_reset and deassert_reset for cortex_a8

git-svn-id: svn://svn.berlios.de/openocd/trunk@2792 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdded asser_reset and deassert_reset for cortex_a8
mlu [Fri, 2 Oct 2009 16:36:03 +0000 (16:36 +0000)]
Added asser_reset and deassert_reset for cortex_a8

git-svn-id: svn://svn.berlios.de/openocd/trunk@2791 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMinor ETB and ETM bugfixes and doc updates
dbrownell [Fri, 2 Oct 2009 09:19:03 +0000 (09:19 +0000)]
Minor ETB and ETM bugfixes and doc updates

 - ETB
    * report _actual_ hardware status, not just expected status
    * add a missing diagnostic on a potential ETB setup error
    * prefix any diagnostics with "ETB"
 - ETM
    * make "etm status" show ETM hardware status too, instead of
      just traceport status (which previously was fake, sigh)
 - Docs
    * flesh out "etm tracemode" docs a bit
    * clarify "etm status" ... previously it was traceport status
    * explain "etm trigger_percent" as a *traceport* option

ETM+ETB tracing still isn't behaving, but now I can see that part of
the reason is that the ETB turns itself off almost immediately after
being enabled, and before collecting any data.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2790 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoARMv7A: Report fault status registers when in Abort state
mlu [Thu, 1 Oct 2009 17:39:13 +0000 (17:39 +0000)]
ARMv7A: Report fault status registers when in Abort state

git-svn-id: svn://svn.berlios.de/openocd/trunk@2789 b42882b7-edfa-0310-969c-e2dbd0fdcd60

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)