openocd.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoAdd comments to README about compiler and library dependencies.
zwelch [Wed, 1 Jul 2009 19:55:28 +0000 (19:55 +0000)]
Add comments to README about compiler and library dependencies.

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

11 years ago- add stm32 connectivity line tapid to stm32.cfg
ntfreak [Wed, 1 Jul 2009 10:29:10 +0000 (10:29 +0000)]
- add stm32 connectivity line tapid to stm32.cfg

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

11 years ago- correct stm32 connectivity line programming as per latest manual
ntfreak [Wed, 1 Jul 2009 10:15:53 +0000 (10:15 +0000)]
- correct stm32 connectivity line programming as per latest manual

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

11 years agoRemove at91sam3.h from flash.c; use extern like other drivers.
zwelch [Tue, 30 Jun 2009 22:25:09 +0000 (22:25 +0000)]
Remove at91sam3.h from flash.c; use extern like other drivers.

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

11 years agoExtend 'make dist' to produce both .tar.bz2 and .zip archives, to
zwelch [Tue, 30 Jun 2009 21:45:34 +0000 (21:45 +0000)]
Extend 'make dist' to produce both .tar.bz2 and .zip archives, to
complement to the standard .tar.gz package.  Now, pick your poison!

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

11 years agoProvide some useful information in README file, rather than punting.
zwelch [Tue, 30 Jun 2009 21:45:26 +0000 (21:45 +0000)]
Provide some useful information in README file, rather than punting.
Add some text to introduce the project to new users.

Move packaging, configuration, and compilation of OpenOCD out of
the User's Guide and into README, where it can be used by users
before configuring and compiling the documentation.

Improve notes about required Subversion repository build steps.
Add reference to the standard GNU INSTALL file.

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

11 years agoSwitch automake handling to use --gnu mode, not --foreign.
zwelch [Tue, 30 Jun 2009 21:44:48 +0000 (21:44 +0000)]
Switch automake handling to use --gnu mode, not --foreign.
Remove INSTALL file; automake generates a copy of the latest version.

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

11 years ago- remove cygwin build warnings in at91sam3.c
ntfreak [Tue, 30 Jun 2009 21:13:53 +0000 (21:13 +0000)]
- remove cygwin build warnings in at91sam3.c

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

11 years agoAdd svn:eol-style native property to TCL files that are missing it.
zwelch [Tue, 30 Jun 2009 20:44:21 +0000 (20:44 +0000)]
Add svn:eol-style native property to TCL files that are missing it.

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

11 years agoRemove executable bits from at91sam3 configuration files.
zwelch [Tue, 30 Jun 2009 20:39:02 +0000 (20:39 +0000)]
Remove executable bits from at91sam3 configuration files.

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

11 years agofreddie_chopin@op.pl fix handling of workarea
oharboe [Tue, 30 Jun 2009 11:50:04 +0000 (11:50 +0000)]
freddie_chopin@op.pl fix handling of workarea

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

11 years agoAdd svn:eol-style properties missed in last commit.
zwelch [Tue, 30 Jun 2009 09:11:10 +0000 (09:11 +0000)]
Add svn:eol-style properties missed in last commit.

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

11 years agoMarcel Jost <marcel.jost@bfh.ch>:
zwelch [Tue, 30 Jun 2009 09:09:30 +0000 (09:09 +0000)]
Marcel Jost <marcel.jost@bfh.ch>:

This patch adds support for the Luminary Micro LM3S9B90 target and
LM3S9B92 Evaluation Kit.  These kits include a new ft2232 adapter, the
Luminary In-Circuit Debug Interface (ICDI) Board, so this is added as a
new ft2232 layout called "luminary_icdi".

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

11 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Tue, 30 Jun 2009 09:03:59 +0000 (09:03 +0000)]
David Brownell <david-b@pacbell.net>:

Add "jtag names" command, mirroring "target names" but returning
TAP names instead of target names.  This starts letting TAPs be
manipulated in scripts ... much like what works now for targets.

It's a bit limited just yet, since "jtag cget $TAPNAME" doesn't
expose all TAP attributes.  "$TARGETNAME cget" is more functional.

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

11 years agoImprove BUGS file wording and layout.
zwelch [Tue, 30 Jun 2009 05:34:44 +0000 (05:34 +0000)]
Improve BUGS file wording and layout.

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

11 years agoFix doxygen 'undocumented parameter' warnings in membuf.h.
zwelch [Tue, 30 Jun 2009 05:34:36 +0000 (05:34 +0000)]
Fix doxygen 'undocumented parameter' warnings in membuf.h.

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

11 years agoFix search and replace casualty in flash.h doxygen block.
zwelch [Tue, 30 Jun 2009 05:34:28 +0000 (05:34 +0000)]
Fix search and replace casualty in flash.h doxygen block.

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

11 years agoFix doxygen warning in jtag.h caused by a changed parameter name.
zwelch [Tue, 30 Jun 2009 05:34:21 +0000 (05:34 +0000)]
Fix doxygen warning in jtag.h caused by a changed parameter name.

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

11 years agoFix doxygen warnings in new at91sam3 source file; normalize style.
zwelch [Tue, 30 Jun 2009 05:34:07 +0000 (05:34 +0000)]
Fix doxygen warnings in new at91sam3 source file; normalize style.
Remove editor configuration from end of file.

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

11 years agoFix @file documentation blocks in new interfaces source files.
zwelch [Tue, 30 Jun 2009 05:33:57 +0000 (05:33 +0000)]
Fix @file documentation blocks in new interfaces source files.

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

11 years agoMake bug reporting output at program start-ups use fewer new lines:
zwelch [Tue, 30 Jun 2009 05:33:41 +0000 (05:33 +0000)]
Make bug reporting output at program start-ups use fewer new lines:
- Move repository URL output associate it with the version; they relate.
- 'openocd --version' output now appears much more terse, as expected.

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

11 years agoFix logger.pl script to avoid spurious empty line in some cases.
zwelch [Tue, 30 Jun 2009 05:33:17 +0000 (05:33 +0000)]
Fix logger.pl script to avoid spurious empty line in some cases.

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

11 years agoKevin Bortis <stm32@bortis.ch> fix worksize
oharboe [Mon, 29 Jun 2009 22:08:34 +0000 (22:08 +0000)]
Kevin Bortis <stm32@bortis.ch> fix worksize

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

11 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Mon, 29 Jun 2009 20:04:21 +0000 (20:04 +0000)]
David Brownell <david-b@pacbell.net>:

Minor bugfix ... previous version was tested *with* ICEpick active.
The "-disable" can swap with "-enable"; but not with an empty string.

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

11 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Mon, 29 Jun 2009 20:04:14 +0000 (20:04 +0000)]
David Brownell <david-b@pacbell.net>:

Remove some bogus warnings during server startup for ARM926ejs
targets that were already halted for debug ... e.g. started up
a freshly built instance.

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

11 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Mon, 29 Jun 2009 20:04:08 +0000 (20:04 +0000)]
David Brownell <david-b@pacbell.net>:

Improve the PXA255 target config:  move all that board-specific
setup to the pxa255_sst board.cfg, to which it evidently belongs
(it's the only PXA255 board now included).

Provide the PXA255 JTAG id from Intel docs, and add a comment
about how this chip is now EOL'd (last orders taken).

Note that I still can't get my old PXA255 board to work.  There's
something broken in the reset sequence, which is preventing the
TAP from coming up at all.  Old mailing list posts suggest this
is a longstanding bug...

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

11 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Mon, 29 Jun 2009 20:03:59 +0000 (20:03 +0000)]
David Brownell <david-b@pacbell.net>:

Warn when people (or scripts) use numeric identifiers for TAPs,
instead of dotted.name values.  We want this usage to go away,
so that for example adding more TAPs doesn't cause config scripts
to break because some sequence number changed.

It's been deprecated since late 2008, but putting a warning on
this should help us remove it (say, in June 2010) by helping to
phase out old (ab)usage in config scripts.

Other than in various config files, the only code expecting such
a number was the almost unused str9xpec driver.  This code was
changed to use the TAP it was passed, instead of making its own
dubious lookup and ignoring that TAP.

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

11 years agoDavid Brownell <david-b@pacbell.net>:
zwelch [Mon, 29 Jun 2009 20:03:52 +0000 (20:03 +0000)]
David Brownell <david-b@pacbell.net>:

Minor fixup to the User's Guide, primarily related to the
handful of commands defined in "startup.tcl"; "help" was
not previously documented.

Also, be more consistent about "Config Command" definitions
(and to be explicit about that doc convention).

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

11 years agoMove JTAG interface list to new files.
zwelch [Mon, 29 Jun 2009 00:00:50 +0000 (00:00 +0000)]
Move JTAG interface list to new files.
- Adds new source files to encapsulate static/dynamic module handling.
- Further work should implement the jtag_interface_modules_load routine,
  to populate the jtag_interfaces list from shared libraries in a path.

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

11 years agoDavid Brownell <david-b@pacbell.net> various missing commands
oharboe [Sun, 28 Jun 2009 18:46:51 +0000 (18:46 +0000)]
David Brownell <david-b@pacbell.net> various missing commands

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

11 years agoRemove extra newline from debug log message
duane [Sun, 28 Jun 2009 03:09:15 +0000 (03:09 +0000)]
Remove extra newline from debug log message

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

11 years agoA bit more log detail about connections comming and going
duane [Sun, 28 Jun 2009 02:54:19 +0000 (02:54 +0000)]
A bit more log detail about connections comming and going

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

11 years agoRefactor code, create target_state_name()
duane [Sun, 28 Jun 2009 02:40:08 +0000 (02:40 +0000)]
Refactor code, create target_state_name()

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

11 years agoAdd Breakpoint/Watchpoint unique ID to help debug hardware debug register leakage
duane [Sat, 27 Jun 2009 17:25:07 +0000 (17:25 +0000)]
Add Breakpoint/Watchpoint unique ID to help debug hardware debug register leakage

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

11 years agoChange from alloca() to malloc()
duane [Sat, 27 Jun 2009 16:51:41 +0000 (16:51 +0000)]
Change from alloca() to malloc()

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

11 years agoSwitch to strotk() grr....
duane [Sat, 27 Jun 2009 16:44:35 +0000 (16:44 +0000)]
Switch to strotk() grr....

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

11 years agozy1000 rev C work
oharboe [Fri, 26 Jun 2009 12:57:56 +0000 (12:57 +0000)]
zy1000 rev C work

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

11 years agoDavid Brownell <david-b@pacbell.net> Add a short chapter on boundary scan support...
oharboe [Fri, 26 Jun 2009 07:30:21 +0000 (07:30 +0000)]
David Brownell <david-b@pacbell.net> Add a short chapter on boundary scan support, which currently
just documents the SVF and XSVF commands.

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

11 years ago- fix issue when using gdb_port cmd
ntfreak [Thu, 25 Jun 2009 15:11:57 +0000 (15:11 +0000)]
- fix issue when using gdb_port cmd
- bug introduced in r2240

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

11 years agoOleksandr Tymoshenko <gonzo@bluezbox.com> simple watchpoint support
oharboe [Thu, 25 Jun 2009 12:18:07 +0000 (12:18 +0000)]
Oleksandr Tymoshenko <gonzo@bluezbox.com> simple watchpoint support
for MIPS32/EJTAG (no value comparation yet).

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

11 years agoFixes from Oleksandr Tymoshenko "gonzo@bluezbox.com"
duane [Thu, 25 Jun 2009 00:12:40 +0000 (00:12 +0000)]
Fixes from Oleksandr Tymoshenko "gonzo@bluezbox.com"

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

11 years agoDavid Brownell <david-b@pacbell.net> Fix formatting bug in at91sam7 doc added with...
oharboe [Wed, 24 Jun 2009 16:56:11 +0000 (16:56 +0000)]
David Brownell <david-b@pacbell.net> Fix formatting bug in at91sam7 doc added with the at91sam3 support;
and some formatting issues with sam7 and stm32 keyword params.

Tweak at91sam3 docs.  Remove ninth nibble from flash bank addresses,
clarify "at91sam3 show" variants and that the flash bank layout is
not needed as a parameter (unlike with sam7); formatting fixes.

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

11 years agoMinor fixes to new at91sam3 files for x86-32/64 compilation problems.
zwelch [Wed, 24 Jun 2009 09:38:28 +0000 (09:38 +0000)]
Minor fixes to new at91sam3 files for x86-32/64 compilation problems.

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