]> git.sur5r.net Git - openocd/log
openocd
15 years agomicroscopic whitespace cleanup
oharboe [Thu, 16 Jul 2009 10:43:15 +0000 (10:43 +0000)]
microscopic whitespace cleanup

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

15 years agomicroscopic white space fixes
oharboe [Thu, 16 Jul 2009 10:30:50 +0000 (10:30 +0000)]
microscopic white space fixes

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

15 years ago- disable using parport ppdev under win32 hosts
ntfreak [Thu, 16 Jul 2009 10:03:33 +0000 (10:03 +0000)]
- disable using parport ppdev under win32 hosts

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

15 years agoMagnus Lundin <lundin@mlu.mine.nu>, Oyvind Harboe <oyvind.harboe@zylin.com>, David...
zwelch [Thu, 16 Jul 2009 00:08:36 +0000 (00:08 +0000)]
Magnus Lundin <lundin@mlu.mine.nu>, Oyvind Harboe <oyvind.harboe@zylin.com>, David Brownell <david-b@pacbell.net>:

Move the dap command handler implementations to arm_adi_v5.c,
leaving just thin wrappers in armv7m.c.  There should be no
change in functionality here.  (From Magnus.)

Minor style cleanup:  whitespace, line length, etc.  Update spec
references to use docs which are currently available.  (From Dave.)

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

15 years agoMagnus Lundin <lundin@mlu.mine.nu>, Oyvind Harboe <oyvind.harboe@zylin.com>, David...
zwelch [Thu, 16 Jul 2009 00:08:21 +0000 (00:08 +0000)]
Magnus Lundin <lundin@mlu.mine.nu>, Oyvind Harboe <oyvind.harboe@zylin.com>, David Brownell <david-b@pacbell.net>:

Some cleanup of the ARMv7-M support:

 - Reference the relevant ARMv7-M ARM doc (DDI 0405C to non-Vendors), and
   update the Cortex-M3 doc refs (DDI 0337C is no longer available).

 - Those registers aren't actually general, and some are incorrect (per all
   public docs anyway).  Update comments and code accordingly.

     * What the Core Debug facility exposes is *implementation-specific*
       not architectural.  These values aren't fully portable.  They match
       Cortex-M3 ... so no current implementation will make trouble, but
       the next v7m implementation might.

     * Four of the registers are actually not exposed that way.  Before
       Cortex-M3 r2p0 they are read/written through MRS/MSR instructions.
       In that newest silicon, they are four bytes in one register, not
       four separate registers.

 - Update the CM3 code to report when that one register is available,
   and not try to access it when it isn't.  Also declare the register
   numbers that an eventual MRS/MSR solution will need to be using.

 - Stop line wrapping the exception labels.

So for parts before r2p0 OpenOCD behavior is effectively unchanged, and
still buggy; but for those newer parts a few things might now be correct.

Most current Cortex-M3 parts use r1p1 (or earlier); this seems to include
most LM3S parts and all STM32 parts.  Parts using r2p0 are available, and
include fourth generation LM3S parts ("Tempest") plus AT91SAM3 and LPC17xx
parts which are now sampling.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:49:12 +0000 (23:49 +0000)]
David Brownell <david-b@pacbell.net>:

More 32-bit Thumb2 instruction decoding:

A5.3.7 Load word

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:49:05 +0000 (23:49 +0000)]
David Brownell <david-b@pacbell.net>:

More 32-bit Thumb2 instruction decoding:

A5.3.12 Data processing (register)

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:49:00 +0000 (23:49 +0000)]
David Brownell <david-b@pacbell.net>:

More 32-bit instruction decoding:

A5.3.11 Data processing (shifted register)

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:54 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

More instructions decoded:

A5.3.5 Load/store multiple

The preferred PUSH/POP syntax is shown when appropriate.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:43 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

More instructions decoded:

A5.3.14 Multiply, and multiply accumulate
A5.3.15 Long multiply, long multiply accumulate, divide

The EABI requires *adjacent* register pairs, but the long multiply
ops can use any pair of registers; interesting.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:37 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

More Thumb2 32-bit opcode support:

 A5.3.10 Store single data item

Byte, word, halfword.  Offset, pre-index, post-index.  And
a "make like you're unprivileged" option when using small
immediate offsets.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:32 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

Print old-style Thumb NOP instructions as such.  (GCC uses "mov r8, r8"
instead of the architected NOP which is new in Thumb2.)

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:27 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

Make disassembly of the Thumb load-literal instruction show the
address of the literal being loaded (so users can avoid doing
that math themselves).  Add and use an Align(PC,4) utility.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:21 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

Make the Thumb2 disassembler handle more 32-bit instructions:

  A5.3.3 Data processing (plain binary immediate)

These use mostly twelve bit literals, but there are also bitfield
and saturated add primitives.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:16 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

Make the Thumb2 disassembler handle more 32-bit instructions:

  A5.3.1 Data processing (modified immediate)

My small sample shows GCC likes to use many of these instructions.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:48:11 +0000 (23:48 +0000)]
David Brownell <david-b@pacbell.net>:

Make the Thumb2 disassembler handle a bunch of 32-bit instructions:

  A5.3.4 Branches and miscellaneous control

Note that this shifts some responsabililty out of helper functions,
making the code and layout simpler for 32-bit decoders:  they only
need to know how to format the instruction and its parameters.

Also, technical note:  with this patch, Thumb1 decoders could now
call the Thumb2 decoder if they wanted to get nicer treatment of
the exiting 32-bit B/BLX instructions.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:39:48 +0000 (23:39 +0000)]
David Brownell <david-b@pacbell.net>:

Change layout of Thumb disassembly to work better with Thumb2:

 - Move opcode to the left, allowing space for four hex bytes:
    * after address, two spaces not one tab (taking 6 spaces)
    * after 2-byte opcode, four spaces before tab
 - Also, after opcode mnemonic use a tab not a space, to make
   operands line up

Sample output (after some patches decoding a few 32-bit instructions):

0x00003e5a  0xf4423200 ORR r2, r2, #131072 ; 0x20000
0x00003e5e  0x601a     STR  r2, [r3, #0x0]
0x00003e60  0x2800     CMP r0, #0x00
0x00003e62  0xd1f3     BNE 0x00003e4c
0x00003e64  0xf008fa38 BL 0x0000c2d8

The affected lines of code now wrap at sane margins too.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Wed, 15 Jul 2009 23:39:37 +0000 (23:39 +0000)]
David Brownell <david-b@pacbell.net>:

Initial support for disassembling Thumb2 code.  This works only for
Cortex-M3 cores so far.  Eventually other cores will also need Thumb2
support ... but they don't yet support any kind of disassembly.

 - Update the 16-bit Thumb decoder:

     * Understand CPS, REV*, SETEND, {U,S}XT{B,H} opcodes added
       by ARMv6.  (It already seems to treat CPY as MOV.)

     * Understand CB, CBNZ, WFI, IT, and other opcodes added by
       in Thumb2.

 - A new Thumb2 instruction decode routine is provided.

     * This has a different signature:  pass the target, not the
       instruction, so it can fetch a second halfword when needed.
       The instruction size is likewise returned to the caller.

     * 32-bit instructions are recognized but not yet decoded.

 - Start using the current "UAL" syntax in some cases.  "SWI" is
   renamed as "SVC"; "LDMIA" as "LDM"; "STMIA" as "STM".

 - Define a new "cortex_m3 disassemble addr count" command to give
   access to this disassembly.

Sanity checked against "objdump -d" output; a bunch of the new
instructions checked out fine.

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

15 years agoprint errno when parport fails to open.
oharboe [Wed, 15 Jul 2009 12:30:06 +0000 (12:30 +0000)]
print errno when parport fails to open.

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

15 years agoretire Eclipse settings, charset will be set elsewhere.
oharboe [Wed, 15 Jul 2009 06:43:28 +0000 (06:43 +0000)]
retire Eclipse settings, charset will be set elsewhere.

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

15 years agoEclipse settings include charset.
oharboe [Tue, 14 Jul 2009 18:30:00 +0000 (18:30 +0000)]
Eclipse settings include charset.

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

15 years agoDavid Brownell <david-b@pacbell.net> mention udev, and correct D2XX speed mentions
oharboe [Tue, 14 Jul 2009 18:24:59 +0000 (18:24 +0000)]
David Brownell <david-b@pacbell.net> mention udev, and correct D2XX speed mentions

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

15 years ago- fix small typo in documentation
ntfreak [Tue, 14 Jul 2009 11:57:59 +0000 (11:57 +0000)]
- fix small typo in documentation

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

15 years ago1.54 snapshot
oharboe [Tue, 14 Jul 2009 10:38:26 +0000 (10:38 +0000)]
1.54 snapshot

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

15 years agoArchive released NEWS file: NEWS -> NEWS-0.2.0
zwelch [Tue, 14 Jul 2009 09:02:00 +0000 (09:02 +0000)]
Archive released NEWS file: NEWS -> NEWS-0.2.0
Create new NEWS file from release script template.

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

15 years agoBump minor version and add tag:
zwelch [Tue, 14 Jul 2009 08:54:36 +0000 (08:54 +0000)]
Bump minor version and add tag:
Bump minor package version number: 0.2.0 -> 0.3.0
Add '-in-development' version tag: 0.3.0 -> 0.3.0-in-development

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

15 years agoRemove '-in-development' version tag: 0.2.0-in-development -> 0.2.0 v0.2.0
zwelch [Tue, 14 Jul 2009 08:53:40 +0000 (08:53 +0000)]
Remove '-in-development' version tag: 0.2.0-in-development -> 0.2.0

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

15 years agoImprove the release script before 0.2.0:
zwelch [Tue, 14 Jul 2009 08:52:28 +0000 (08:52 +0000)]
Improve the release script before 0.2.0:
1) Only archive NEWS file on major and minor relesae, not bug-fixes.
2) Switch back to correct development branch during final release step.
3) Add do_svn_switch helper to ensure package variables are reloaded.

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

15 years agoSplit Windows README instructions into new file, with a few fixes.
zwelch [Tue, 14 Jul 2009 07:35:29 +0000 (07:35 +0000)]
Split Windows README instructions into new file, with a few fixes.

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

15 years agoMake the parport-ppdev option enabled by default. This may require
zwelch [Tue, 14 Jul 2009 06:39:55 +0000 (06:39 +0000)]
Make the parport-ppdev option enabled by default.  This may require
giving --disable-parport-ppdev to configure on some platform(s).

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

15 years agoGary Carlson <gcarlson@carlson-minot.com>
ntfreak [Mon, 13 Jul 2009 06:36:51 +0000 (06:36 +0000)]
Gary Carlson <gcarlson@carlson-minot.com>
Spencer Oliver <spen@spen-soft.co.uk>

- fix jlink win32/linux/darwin startup issues
- see https://lists.berlios.de/pipermail/openocd-development/2009-July/009438.html

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

15 years agoXiaofan Chen <xiaofanc@gmail.com> document my experiment
oharboe [Sun, 12 Jul 2009 19:32:22 +0000 (19:32 +0000)]
Xiaofan Chen <xiaofanc@gmail.com> document my experiment
with MinGW cross build.

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

15 years agoXiaofan Chen <xiaofanc@gmail.com> retire obsolete patch. OpenOCD only supports 0...
oharboe [Sun, 12 Jul 2009 19:31:13 +0000 (19:31 +0000)]
Xiaofan Chen <xiaofanc@gmail.com> retire obsolete patch. OpenOCD only supports 0.14 and newer and the patch was for 0.14.

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

15 years agoMagnus Lundin Thc cortex_m3_poll function does not identify that a target is running...
oharboe [Sun, 12 Jul 2009 19:29:08 +0000 (19:29 +0000)]
Magnus Lundin  Thc cortex_m3_poll function does not identify that a target is running unless we transition from RESET.

This patch correctly identifies a running target.

Patch made a tad more palatable by David Brownell <david-b@pacbell.net>

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

15 years agoPeter Denison <openwrt@marshadder.org> workaround for broken USBprog w/short tms...
oharboe [Sun, 12 Jul 2009 14:11:43 +0000 (14:11 +0000)]
Peter Denison <openwrt@marshadder.org> workaround for broken USBprog w/short tms sequences

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

15 years agoDavid Brownell <david-b@pacbell.net> Mention how parallel clock voting implementation...
oharboe [Sun, 12 Jul 2009 14:08:16 +0000 (14:08 +0000)]
David Brownell <david-b@pacbell.net> Mention how parallel clock voting implementations of RTCK work,
and reference TI's free VHDL code.

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

15 years agoSimple warning fix
duane [Sat, 11 Jul 2009 02:01:22 +0000 (02:01 +0000)]
Simple warning fix

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

15 years agowrote up workaround for xscale/debug_handler.bin bug
oharboe [Fri, 10 Jul 2009 08:47:10 +0000 (08:47 +0000)]
wrote up workaround for xscale/debug_handler.bin bug

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

15 years agonoted XScale (or USBProg) problem
oharboe [Fri, 10 Jul 2009 08:46:12 +0000 (08:46 +0000)]
noted XScale (or USBProg) problem

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

15 years agoDavid Brownell <david-b@pacbell.net> split EK board support out
oharboe [Fri, 10 Jul 2009 07:21:12 +0000 (07:21 +0000)]
David Brownell <david-b@pacbell.net> split EK board support out
from the target CPU support .

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

15 years agoAdd style rule to avoid combining assignment and logical tests.
zwelch [Wed, 8 Jul 2009 22:26:42 +0000 (22:26 +0000)]
Add style rule to avoid combining assignment and logical tests.

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

15 years agoAdd section to provide some documentation for cross-compiling.
zwelch [Wed, 8 Jul 2009 22:26:36 +0000 (22:26 +0000)]
Add section to provide some documentation for cross-compiling.

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

15 years agoAdd microscopic style guide at the end of the PATCH primer.
zwelch [Wed, 8 Jul 2009 22:26:29 +0000 (22:26 +0000)]
Add microscopic style guide at the end of the PATCH primer.

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

15 years agoAdd comments to top-level files to "excuse" their Doxygen markup.
zwelch [Wed, 8 Jul 2009 22:26:20 +0000 (22:26 +0000)]
Add comments to top-level files to "excuse" their Doxygen markup.

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

15 years agoFix SEGFAULTs and broken error handling for flash programming w/working area
oharboe [Wed, 8 Jul 2009 18:29:03 +0000 (18:29 +0000)]
Fix SEGFAULTs and broken error handling for flash programming w/working area

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

15 years agofix formatting of xscale bug entry(learning every day)
oharboe [Wed, 8 Jul 2009 10:38:50 +0000 (10:38 +0000)]
fix formatting of xscale bug entry(learning every day)

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

15 years agoXscale installation regression entered
oharboe [Wed, 8 Jul 2009 10:25:39 +0000 (10:25 +0000)]
Xscale installation regression entered

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

15 years agotypo in comment
oharboe [Wed, 8 Jul 2009 10:25:23 +0000 (10:25 +0000)]
typo in comment

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

15 years agosome TODO notes on aduc702x which clearly needs more work & testing
oharboe [Wed, 8 Jul 2009 08:05:21 +0000 (08:05 +0000)]
some TODO notes on aduc702x which clearly needs more work & testing

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

15 years agoi.MX27 reset problems fixed & update remaining reset problems notes
oharboe [Wed, 8 Jul 2009 06:49:15 +0000 (06:49 +0000)]
i.MX27 reset problems fixed & update remaining reset problems notes

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

15 years agosharpen reset_config for imx27 - use both trst & srst. srst pulls trst.
oharboe [Wed, 8 Jul 2009 06:32:27 +0000 (06:32 +0000)]
sharpen reset_config for imx27 - use both trst & srst. srst pulls trst.

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

15 years agosrst pulls trst according to Freescale docs for i.mx27
oharboe [Tue, 7 Jul 2009 16:50:28 +0000 (16:50 +0000)]
srst pulls trst according to Freescale docs for i.mx27

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

15 years agoZach Welch: move bugs into the right section
oharboe [Tue, 7 Jul 2009 11:39:04 +0000 (11:39 +0000)]
Zach Welch: move bugs into the right section

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

15 years agoUse reference to mailing list for known arm926ejs bugs rather fill The List with...
oharboe [Tue, 7 Jul 2009 11:32:58 +0000 (11:32 +0000)]
Use reference to mailing list for known arm926ejs bugs rather fill The List with lots of details

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

15 years agofixed a small typo in howto create doxygen docs
oharboe [Tue, 7 Jul 2009 11:29:34 +0000 (11:29 +0000)]
fixed a small typo in howto create doxygen docs

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

15 years agofix return value for "reset" and "runtest" command. Found by code inspection.
oharboe [Tue, 7 Jul 2009 10:47:23 +0000 (10:47 +0000)]
fix return value for "reset" and "runtest" command. Found by code inspection.

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

15 years agodelete long retired commented out code (daemon_startup)
oharboe [Tue, 7 Jul 2009 10:43:44 +0000 (10:43 +0000)]
delete long retired commented out code (daemon_startup)

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

15 years agomore arm926ejs bugs
oharboe [Tue, 7 Jul 2009 10:33:20 +0000 (10:33 +0000)]
more arm926ejs bugs

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

15 years agoadded known arm926ejs regressions
oharboe [Tue, 7 Jul 2009 06:54:14 +0000 (06:54 +0000)]
added known arm926ejs regressions

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

15 years agoDavid Brownell <david-b@pacbell.net> Update docs to say that "arm7_9 dbgrq enable...
oharboe [Mon, 6 Jul 2009 21:16:11 +0000 (21:16 +0000)]
David Brownell <david-b@pacbell.net> Update docs to say that "arm7_9 dbgrq enable" is the default
on ARM9 cores, and update the DaVinci config files so they
no longer explicitly specify it.

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

15 years ago- change sleep to usleep - fixes issue under win32 build
ntfreak [Mon, 6 Jul 2009 15:41:55 +0000 (15:41 +0000)]
- change sleep to usleep - fixes issue under win32 build

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

15 years ago- fix build when using a cross compiler - do not try and run any host tools
ntfreak [Mon, 6 Jul 2009 15:19:10 +0000 (15:19 +0000)]
- fix build when using a cross compiler - do not try and run any host tools
- add missing types.h when platform does not contain elf.h

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

15 years agomore debug output for translation of arm mode number to enum
oharboe [Mon, 6 Jul 2009 15:04:20 +0000 (15:04 +0000)]
more debug output for translation of arm mode number to enum

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

15 years agoa bit more debug output for translation of invalid mode numbers
oharboe [Mon, 6 Jul 2009 14:58:13 +0000 (14:58 +0000)]
a bit more debug output for translation of invalid mode numbers

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

15 years agoFix certain arm926ejs targets(e.g. i.MX27) which report an unknown MOE(method of...
oharboe [Mon, 6 Jul 2009 14:25:25 +0000 (14:25 +0000)]
Fix certain arm926ejs targets(e.g. i.MX27) which report an unknown MOE(method of entry) - interpret this as dbgrq. "reset run" + "halt" + "step" now works.

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

15 years agoFix regression in "step" command introduced in 2190
oharboe [Mon, 6 Jul 2009 13:42:11 +0000 (13:42 +0000)]
Fix regression in "step" command introduced in 2190

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

15 years agorevert svn 1679 - fixes cp15 read/write timeout. Single stepping still broken.
oharboe [Mon, 6 Jul 2009 12:03:55 +0000 (12:03 +0000)]
revert svn 1679 - fixes cp15 read/write timeout. Single stepping still broken.

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

15 years agoUpdate Release Script documentation to reflect current implementation.
zwelch [Mon, 6 Jul 2009 11:26:34 +0000 (11:26 +0000)]
Update Release Script documentation to reflect current implementation.

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

15 years agoThe late birth of the NEWS file also caused me to revisit the release
zwelch [Mon, 6 Jul 2009 11:26:28 +0000 (11:26 +0000)]
The late birth of the NEWS file also caused me to revisit the release
process once again and reconsider it in some detail.  In doing so,
some further revisions to the process were required:
1) The URL of the repository is embedded in the released code.
   - The packages need to be created from the tagged branch.
   - The URL then points to where to get the tagged code.
2) Improve the instructions for NEWS handling.
   - NEWS file must be updated for each release; describe that process.
   - The NEWS file should be archived an recreated for each release.
3) Add detail steps for the berliOS release process.
4) Minor cleanups to release process doxygen markup.

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

15 years agoAdd NEWS file for the 0.2.0 release.
zwelch [Mon, 6 Jul 2009 11:26:21 +0000 (11:26 +0000)]
Add NEWS file for the 0.2.0 release.

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

15 years agoAdd script to automate most of the release process.
zwelch [Mon, 6 Jul 2009 11:21:28 +0000 (11:21 +0000)]
Add script to automate most of the release process.

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

15 years agoFerdinand Postema <ferdinand@postema.eu>:
zwelch [Mon, 6 Jul 2009 10:34:49 +0000 (10:34 +0000)]
Ferdinand Postema <ferdinand@postema.eu>:

Updates to private TAP state tables in amtjtagaccel interface driver.

The first change is the neccesary one to correct a long-standing bug that
caused the IDCODE to be shifted by one bit too many.  This was caused by
an incorrect path from state RESET to state DRSHIFT.

The value of those 2 bytes were 0x8a and 0x04. This means that the
bitstream to do this transition is 0b 00100 01010 (send LSB first). This
will bring you from the reset state to the shift state; however, you
enter the shift-state twice, which explains why the ID-CODE that will be
read next will be shifted 1 bit.  The fix changes these to 0x05 and 0x00.
This will send the bitstream 0b 00101 (send LSB first).  This will bring
the TAP controller from the RESET state to the DRSHIFT state directly,
without entering the DRSHIFT state twice.

After checking the whole table, two other transitions were found that
could be optimized (5 bits in stead of 10 bits).

Summary off all changes:
  From   To       Old values  Old Bitstream  New values  New Bitstream  Remarks
  ----   -------  ----------  -------------  ----------  -------------  -------
  RESET  DRSHIFT  0x8a 0x04   0b00100 01010  0x05 0x00   0b00101        1,2
  IDLE   DRSHIFT  0x85 0x08   0b01000 00101  0x04 0x00   0b00100        2
  IDLE   IRSHIFT  0x8b 0x08   0b01000 01011  0x06 0x00   0b00110        2

[1] Fixes the IDCODE bug
[2] Optimization

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

15 years agoGary Carlson <gcarlson@carlson-minot.com>:
zwelch [Mon, 6 Jul 2009 10:34:33 +0000 (10:34 +0000)]
Gary Carlson <gcarlson@carlson-minot.com>:

Fix intermittent J-Link interface startup failures:
- Use usb_reset to ensure selected dongle is in known good state.
- Assert emulator reset durning status check to prevent supurious failures.
- Eliminate status check loop; not needed due to other fixes.

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

15 years ago10ms timeout check on cp15 read/write
oharboe [Mon, 6 Jul 2009 09:32:22 +0000 (09:32 +0000)]
10ms timeout check on cp15 read/write

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

15 years agosimplify debug_reason check
oharboe [Mon, 6 Jul 2009 09:28:37 +0000 (09:28 +0000)]
simplify debug_reason check

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

15 years agoFix maintainer-clean target in doc directory.
zwelch [Mon, 6 Jul 2009 08:45:31 +0000 (08:45 +0000)]
Fix maintainer-clean target in doc directory.

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

15 years agobitrot: fix numerous syntax errors
oharboe [Mon, 6 Jul 2009 08:05:58 +0000 (08:05 +0000)]
bitrot: fix numerous syntax errors
added correct jtag device id

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

15 years agoadded known problem w/line number's being off in syntax errors for target reset events
oharboe [Mon, 6 Jul 2009 08:04:57 +0000 (08:04 +0000)]
added known problem w/line number's being off in syntax errors for target reset events

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

15 years agotry to use tabs instead of spaces
oharboe [Mon, 6 Jul 2009 08:01:22 +0000 (08:01 +0000)]
try to use tabs instead of spaces

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

15 years agohuman readable error message upon invalid arguments
oharboe [Mon, 6 Jul 2009 07:33:38 +0000 (07:33 +0000)]
human readable error message upon invalid arguments

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

15 years agozy1000 now listens for port 1234. Upon accepting connection reboot zy1000.
oharboe [Mon, 6 Jul 2009 07:31:46 +0000 (07:31 +0000)]
zy1000 now listens for port 1234. Upon accepting connection reboot zy1000.

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

15 years agoMajor update to release process documentation:
zwelch [Sat, 4 Jul 2009 03:47:54 +0000 (03:47 +0000)]
Major update to release process documentation:
- Provide overview of OpenOCD versioning schema.
- Outline responsibilities and authority of the release manager.
- Explain the need for flexibility in the release schedule.
- Add and refine the release process steps.
- Include tutorials for using new release script.
- Many more improvements, too numerous to list.

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

15 years agomore files to svn:ignore
oharboe [Fri, 3 Jul 2009 07:19:18 +0000 (07:19 +0000)]
more files to svn:ignore

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

15 years agoXiaofan Chen <xiaofanc@gmail.com> With this patch, OpenOCD can talk to my
oharboe [Thu, 2 Jul 2009 17:47:10 +0000 (17:47 +0000)]
Xiaofan Chen <xiaofanc@gmail.com> With this patch, OpenOCD can talk to my
Analog Device Eval-ADuC7060 eval board.

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

15 years agoAdd AUTHORS.ChangeLog file suitable to be passed to 'svn2cl --authors'.
zwelch [Thu, 2 Jul 2009 11:18:45 +0000 (11:18 +0000)]
Add AUTHORS.ChangeLog file suitable to be passed to 'svn2cl --authors'.

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

15 years agoAdd AUTHORS for 0.2.0 release.
zwelch [Thu, 2 Jul 2009 11:17:21 +0000 (11:17 +0000)]
Add AUTHORS for 0.2.0 release.

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

15 years agoRemove --enable-release option; if guess-rev.sh is missing, it is a release.
zwelch [Thu, 2 Jul 2009 11:17:14 +0000 (11:17 +0000)]
Remove --enable-release option; if guess-rev.sh is missing, it is a release.

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

15 years agoRemove vim editor commands from TCL files.
zwelch [Thu, 2 Jul 2009 11:17:04 +0000 (11:17 +0000)]
Remove vim editor commands from TCL files.

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

15 years agoFix FTD2XX build for CygWin.
zwelch [Thu, 2 Jul 2009 11:16:57 +0000 (11:16 +0000)]
Fix FTD2XX build for CygWin.

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

15 years agoCommit first draft of release process documentation.
zwelch [Thu, 2 Jul 2009 10:54:30 +0000 (10:54 +0000)]
Commit first draft of release process documentation.

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

15 years agoadd svn:ignore to INSTALL file (it's generated)
oharboe [Thu, 2 Jul 2009 09:12:43 +0000 (09:12 +0000)]
add svn:ignore to INSTALL file (it's generated)

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

15 years agozy1000 1.53 snapshot
oharboe [Thu, 2 Jul 2009 09:11:18 +0000 (09:11 +0000)]
zy1000 1.53 snapshot

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

15 years agoDavid Brownell <david-b@pacbell.net> Fix two texinfo formatting bugs. The first...
oharboe [Thu, 2 Jul 2009 07:12:59 +0000 (07:12 +0000)]
David Brownell <david-b@pacbell.net> Fix two texinfo formatting bugs.  The first was visible by
reading the output, and both were reported in openocd.log
after making the PDF.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Thu, 2 Jul 2009 04:55:46 +0000 (04:55 +0000)]
David Brownell <david-b@pacbell.net>:

More minor improvements to README to help polish the 0.2.0 release:
- Add note about Ubuntu 8.04 (in lieu of starting a README.Linux file).
- Fix introductory paragraph to Bulding OpenOCD
- Remove some vestigial texinfo markup.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Thu, 2 Jul 2009 04:55:35 +0000 (04:55 +0000)]
David Brownell <david-b@pacbell.net>:

Prepare the DaVinci PLL code to support the version 0x0E module
used in newer chips (e.g. dm365):  rename the original code so
it's specific to version 0x02 PLL modules, and update the dm355evm
code to use that new name.

Fix two minor bugs in that version 2 code:  sysclk3 setup used
the sysclk2 divider address (affecting video processing on dm355,
no worry for now) and sysclk2 setup had a syntax error.

Also minor fixups to dm355evm, mostly to permit use of RTCK.

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

15 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Thu, 2 Jul 2009 04:55:10 +0000 (04:55 +0000)]
David Brownell <david-b@pacbell.net>:

Restore some whitespace that got clobbered by over-aggressive
whitepace eradication patches a while back.

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

15 years agoMinor fixes to Developer Manual pages.
zwelch [Wed, 1 Jul 2009 19:55:52 +0000 (19:55 +0000)]
Minor fixes to Developer Manual pages.
- Fix cosmetic bug on main page
- Add missing JTAG list item.

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

15 years agoAdd missing copyright header to target_type.h.
zwelch [Wed, 1 Jul 2009 19:55:46 +0000 (19:55 +0000)]
Add missing copyright header to target_type.h.

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

15 years agoAdd missing copyright header and fix @page direction in membuf.h.
zwelch [Wed, 1 Jul 2009 19:55:39 +0000 (19:55 +0000)]
Add missing copyright header and fix @page direction in membuf.h.

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

15 years agoUpdate TODO list to relect 0.2.0 release.
zwelch [Wed, 1 Jul 2009 19:55:34 +0000 (19:55 +0000)]
Update TODO list to relect 0.2.0 release.

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