openocd.git
11 years agoFix pointer cast alignment warnings in arm_adi_v5.c
zwelch [Thu, 7 May 2009 00:58:38 +0000 (00:58 +0000)]
Fix pointer cast alignment warnings in arm_adi_v5.c

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

11 years agoFix stm32x and pic32mx flash pointer cast alignment warnings, simplify their last...
zwelch [Thu, 7 May 2009 00:21:59 +0000 (00:21 +0000)]
Fix stm32x and pic32mx flash pointer cast alignment warnings, simplify their last word handling.

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

11 years agoFix pointer cast alignment warning in XScale miniIC loader parity calc.
zwelch [Wed, 6 May 2009 23:31:50 +0000 (23:31 +0000)]
Fix pointer cast alignment warning in XScale miniIC loader parity calc.

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

11 years agoFix pointer cast alignment warnings in target/image.c.
zwelch [Wed, 6 May 2009 23:28:38 +0000 (23:28 +0000)]
Fix pointer cast alignment warnings in target/image.c.

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

11 years agoChange reg_s value field from u8 * to void *; it must always be cast.
zwelch [Wed, 6 May 2009 23:25:27 +0000 (23:25 +0000)]
Change reg_s value field from u8 * to void *; it must always be cast.

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

11 years agoFix pointer cast alignment issues in svf.c
zwelch [Wed, 6 May 2009 23:05:57 +0000 (23:05 +0000)]
Fix pointer cast alignment issues in svf.c

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

11 years agoAdd configure script check to enable C99 build option.
zwelch [Wed, 6 May 2009 21:48:39 +0000 (21:48 +0000)]
Add configure script check to enable C99 build option.

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

11 years agoFix pointer cast alignment warnings in jim.c.
zwelch [Wed, 6 May 2009 21:21:18 +0000 (21:21 +0000)]
Fix pointer cast alignment warnings in jim.c.

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

11 years agoAdded (BUILD_JLINK==1) condition to us new tables with JLink
mlu [Wed, 6 May 2009 18:47:15 +0000 (18:47 +0000)]
Added  (BUILD_JLINK==1) condition to us new tables with JLink

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

11 years agoDick Hollenbeck <dick@softplc.com> comments & 7 clock TMS reset for good measure
oharboe [Wed, 6 May 2009 18:24:24 +0000 (18:24 +0000)]
Dick Hollenbeck <dick@softplc.com> comments & 7 clock TMS reset for good measure

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

11 years agoDick Hollenbeck <dick@softplc.com> part deux of previous changes just committed.
oharboe [Wed, 6 May 2009 18:18:00 +0000 (18:18 +0000)]
Dick Hollenbeck <dick@softplc.com> part deux of previous changes just committed.

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

11 years agoSmall changes that might improve stability.
mlu [Wed, 6 May 2009 17:28:39 +0000 (17:28 +0000)]
Small changes that might improve stability.
Implemented new jtag sequences tap_get_tms_path and tap_get_tms_path_len

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

11 years agotransition more directly to the end state + reuse more of the state move code/paths
oharboe [Wed, 6 May 2009 17:25:14 +0000 (17:25 +0000)]
transition more directly to the end state + reuse more of the state move code/paths

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

11 years agoDick Hollenbeck <dick@softplc.com> simplifies XSTATE handling, and protects against...
oharboe [Wed, 6 May 2009 13:32:43 +0000 (13:32 +0000)]
Dick Hollenbeck <dick@softplc.com> simplifies XSTATE handling, and protects against illegal state
transitions that might be in an SVF file.

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

11 years agolog noise reduction
oharboe [Wed, 6 May 2009 11:22:30 +0000 (11:22 +0000)]
log noise reduction

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

11 years agoFix enviorn configure test failure message (thanks to Anders Montonen).
zwelch [Wed, 6 May 2009 08:30:50 +0000 (08:30 +0000)]
Fix enviorn configure test failure message (thanks to Anders Montonen).

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

11 years agoremove unecessary setting of deprecated fields to NULL
oharboe [Wed, 6 May 2009 07:21:46 +0000 (07:21 +0000)]
remove unecessary setting of deprecated fields to NULL

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

11 years agoAdd autoconf check to determine where environ should be declared.
zwelch [Wed, 6 May 2009 07:17:57 +0000 (07:17 +0000)]
Add autoconf check to determine where environ should be declared.

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

11 years agoadd warnings about not using in_handler
oharboe [Wed, 6 May 2009 06:40:56 +0000 (06:40 +0000)]
add warnings about not using in_handler

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

11 years agoretire out_mask - not used anywhere
oharboe [Wed, 6 May 2009 06:20:52 +0000 (06:20 +0000)]
retire out_mask - not used anywhere

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

11 years agomark usage of in_handler that can be converted into user code
oharboe [Tue, 5 May 2009 19:30:13 +0000 (19:30 +0000)]
mark usage of in_handler that can be converted into user code

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

11 years agomade warning about keep_alive() not being invoked more helpful
oharboe [Tue, 5 May 2009 12:07:02 +0000 (12:07 +0000)]
made warning about keep_alive() not being invoked more helpful

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

11 years agoremove extra newline before prompt
oharboe [Tue, 5 May 2009 12:06:26 +0000 (12:06 +0000)]
remove extra newline before prompt

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

11 years agoGabor Juhos juhosg at openwrt.org MIPS: fix a shift value in the MIPS32_R_INST macro
oharboe [Tue, 5 May 2009 06:49:55 +0000 (06:49 +0000)]
Gabor Juhos juhosg at openwrt.org  MIPS: fix a shift value in the MIPS32_R_INST macro

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

11 years agoOleksandr Tymoshenko <gonzo@bluezbox.com> "resume" command fix for EJTAG
oharboe [Tue, 5 May 2009 05:55:14 +0000 (05:55 +0000)]
Oleksandr Tymoshenko <gonzo@bluezbox.com> "resume" command fix for EJTAG

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

11 years agoDirk Behme <dirk.behme@googlemail.com> Add minimalist Cortex A8 file
oharboe [Mon, 4 May 2009 18:44:12 +0000 (18:44 +0000)]
Dirk Behme <dirk.behme@googlemail.com> Add minimalist Cortex A8 file

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

11 years agoMariano Alvira <mar@devl.org> fixes warnings
oharboe [Mon, 4 May 2009 11:06:21 +0000 (11:06 +0000)]
Mariano Alvira <mar@devl.org> fixes warnings

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

11 years agoMariano Alvira <mar@devl.org> fixes warning as error about a signed vs. unsigned...
oharboe [Mon, 4 May 2009 11:03:40 +0000 (11:03 +0000)]
Mariano Alvira <mar@devl.org> fixes warning as error about a signed vs. unsigned comparison by casting the local unsigned variable as (long long).

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

11 years agoFix environ declaration for non-glibc systems
kc8apf [Mon, 4 May 2009 06:22:49 +0000 (06:22 +0000)]
Fix environ declaration for non-glibc systems

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

11 years agofix embedded builds
oharboe [Sun, 3 May 2009 20:48:20 +0000 (20:48 +0000)]
fix embedded builds

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

11 years agoBacked out change to solve Mac OS compilation problems.
oharboe [Sun, 3 May 2009 20:21:32 +0000 (20:21 +0000)]
Backed out change to solve Mac OS compilation problems.

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

11 years agoFix compilation when HAVE_UNISTD_H is not defined.
zwelch [Sun, 3 May 2009 15:21:40 +0000 (15:21 +0000)]
Fix compilation when HAVE_UNISTD_H is not defined.

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

11 years agoPiotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
oharboe [Sun, 3 May 2009 15:11:17 +0000 (15:11 +0000)]
Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes

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

11 years agoPiotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
oharboe [Sun, 3 May 2009 15:10:16 +0000 (15:10 +0000)]
Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes

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

11 years agoFix build when enabling presto+ftd2xx driver only.
zwelch [Sun, 3 May 2009 03:35:01 +0000 (03:35 +0000)]
Fix build when enabling presto+ftd2xx driver only.

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

11 years agoAdd configure check for usb.h; required by a USB drivers.
zwelch [Sat, 2 May 2009 22:46:14 +0000 (22:46 +0000)]
Add configure check for usb.h; required by a USB drivers.

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

11 years agoUpdate autotools scripts to require automake 1.6. The configure.in script
zwelch [Sat, 2 May 2009 22:35:02 +0000 (22:35 +0000)]
Update autotools scripts to require automake 1.6.  The configure.in script
already required autoconf 2.59 (circa 2006), so there is no reason to
support versions of automake older than 1.6 (circa 2002).

The first part of this patch upgrades the configure.in script:

     1. Use current calling conventions for the AC_INIT and
        AM_INIT_AUTOMAKE macros, bringing their usage up-to-date with
        the version of autoconf already specified by AC_PREREQ.
     2. Add AC_CONFIG_SRCDIR macro, required by new version of AC_INIT.
     3. Automatically enable all of automake's warnings except Makefile
        portability (which OpenOCD violates by using GNU make's $(wildcard)).
        [[ While automake has its own -Werror option, I did not enabled it
        due to existing warnings. ]]
     4. Add the missing AM_PROG_C_O check, required by the build rules for
        openocd.o in src/Makefile.am.
     5. Adjust version number to show progress toward the next release.
     6. Include a bug reporting e-mail address to direct users to this list.

This patch makes the following adjustments to the Makefile.am files:

     1. Update AUTOMAKE_OPTIONS to require automake version 1.6
     2. Rewrite all deprecated INCLUDES assignments as AM_CPPFLAGS
     3. Clean-up all AM_CPPFLAGS declarations to be patch-friendly.
     4. Remove vestigial references to $(all_includes)
     5. Remove erroneous references to @CPPFLAGS@ (only use AM_CPPFLAGS)
     6. Remove unused -I and -D directives in helper/, flash/, target/

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

11 years agoDick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never have...
oharboe [Sat, 2 May 2009 19:31:30 +0000 (19:31 +0000)]
Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never have been in main.c in the first place. DLL will now build.

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

11 years agoZach Welch <zw@superlucidity.net> fix warnings
oharboe [Sat, 2 May 2009 12:26:10 +0000 (12:26 +0000)]
Zach Welch <zw@superlucidity.net> fix warnings

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

11 years agoRemove superflous spaces from new JTAG table to fix formatting.
zwelch [Fri, 1 May 2009 23:42:43 +0000 (23:42 +0000)]
Remove superflous spaces from new JTAG table to fix formatting.

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

11 years agoAdd static keywords to main application helper functions.
zwelch [Fri, 1 May 2009 03:07:32 +0000 (03:07 +0000)]
Add static keywords to main application helper functions.

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

11 years agoDick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use config.h
zwelch [Fri, 1 May 2009 01:18:05 +0000 (01:18 +0000)]
Dick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use config.h

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

11 years agoUwe Hermann <uwe@hermann-uwe.de>: Support both rev -A1 and -A2 of Hitex STR9-comStick.
zwelch [Thu, 30 Apr 2009 23:19:46 +0000 (23:19 +0000)]
Uwe Hermann <uwe@hermann-uwe.de>: Support both rev -A1 and -A2 of Hitex STR9-comStick.

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

11 years agoUwe Hermann <uwe@hermann-uwe.de>: Make ICEbear look like other targets
zwelch [Thu, 30 Apr 2009 21:04:34 +0000 (21:04 +0000)]
Uwe Hermann <uwe@hermann-uwe.de>: Make ICEbear look like other targets

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

11 years agozy1000 1.51
oharboe [Thu, 30 Apr 2009 10:08:11 +0000 (10:08 +0000)]
zy1000 1.51

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

11 years agolist board's as well as target config files.
oharboe [Thu, 30 Apr 2009 10:07:39 +0000 (10:07 +0000)]
list board's as well as target config files.

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

11 years agolpc2478 target config
oharboe [Thu, 30 Apr 2009 09:50:14 +0000 (09:50 +0000)]
lpc2478 target config

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

11 years agoAdd static keywords to core target source file data and functions.
zwelch [Thu, 30 Apr 2009 09:49:38 +0000 (09:49 +0000)]
Add static keywords to core target source file data and functions.

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

11 years agoPrint out warning when LPC calc_checksum will cause verification to fail.
oharboe [Thu, 30 Apr 2009 09:39:24 +0000 (09:39 +0000)]
Print out warning when LPC calc_checksum will cause verification to fail.

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

11 years agoFix signed/unsigned comparison.
zwelch [Thu, 30 Apr 2009 09:14:01 +0000 (09:14 +0000)]
Fix signed/unsigned comparison.

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

11 years agono change
oharboe [Thu, 30 Apr 2009 08:15:27 +0000 (08:15 +0000)]
no change

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

11 years agoflash fillX now has a verify stage
oharboe [Thu, 30 Apr 2009 08:08:49 +0000 (08:08 +0000)]
flash fillX now has a verify stage

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

11 years agouse jtag_rclk 500 to avoid proliferation of target scripts
oharboe [Thu, 30 Apr 2009 06:26:22 +0000 (06:26 +0000)]
use jtag_rclk 500 to avoid proliferation of target scripts

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

11 years agoMichael Bruck <mbruck@digenius.de>: sys/select.h must preceed windows.h.
zwelch [Thu, 30 Apr 2009 00:59:46 +0000 (00:59 +0000)]
Michael Bruck <mbruck@digenius.de>: sys/select.h must preceed windows.h.

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

11 years agoMichael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.
zwelch [Thu, 30 Apr 2009 00:57:58 +0000 (00:57 +0000)]
Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.

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

11 years agoClear FLASH_SR error flags after flash errors to avoid reset befor further flash...
mlu [Wed, 29 Apr 2009 21:08:39 +0000 (21:08 +0000)]
Clear FLASH_SR error flags after flash errors to avoid reset befor further flash operations.

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

11 years agoAdd udev rules for USB ICEbear interface.
zwelch [Wed, 29 Apr 2009 18:26:11 +0000 (18:26 +0000)]
Add udev rules for USB ICEbear interface.

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

11 years agoMore error logging for DAP errors
mlu [Wed, 29 Apr 2009 18:17:51 +0000 (18:17 +0000)]
More error logging for DAP errors

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

11 years ago- add missing svn props from svn 1565 commit
ntfreak [Wed, 29 Apr 2009 13:24:05 +0000 (13:24 +0000)]
- add missing svn props from svn 1565 commit

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

11 years agocomments and debug code
oharboe [Wed, 29 Apr 2009 11:37:33 +0000 (11:37 +0000)]
comments and debug code

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

11 years agoSten <debian@sansys-electronic.com>: add support for Olimex LPC2378STK eval board.
zwelch [Wed, 29 Apr 2009 07:40:07 +0000 (07:40 +0000)]
Sten <debian@sansys-electronic.com>: add support for Olimex LPC2378STK eval board.

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

11 years agoSten <debian@sansys-electronic.com>: add support for ICEbear FDTI-based interface.
zwelch [Wed, 29 Apr 2009 07:38:35 +0000 (07:38 +0000)]
Sten <debian@sansys-electronic.com>: add support for ICEbear FDTI-based interface.

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

11 years agoFix jlink usb_bulk_with_retries to return actual error codes.
zwelch [Wed, 29 Apr 2009 06:30:44 +0000 (06:30 +0000)]
Fix jlink usb_bulk_with_retries to return actual error codes.

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

11 years agoRemove vestigial last_tms variable from jlink driver.
zwelch [Wed, 29 Apr 2009 05:22:14 +0000 (05:22 +0000)]
Remove vestigial last_tms variable from jlink driver.

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

11 years agoAdd -Wredundant-decls to prevent unwanted duplicate declarations.
zwelch [Wed, 29 Apr 2009 03:28:12 +0000 (03:28 +0000)]
Add -Wredundant-decls to prevent unwanted duplicate declarations.

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

11 years agoFix jlink for Debian/Ubuntu (by Ben Dooks <ben-openocd@fluff.org>).
zwelch [Wed, 29 Apr 2009 02:18:50 +0000 (02:18 +0000)]
Fix jlink for Debian/Ubuntu (by Ben Dooks <ben-openocd@fluff.org>).

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

11 years agoRemove redundant declarations to allow building with -Wredundant-decls.
zwelch [Wed, 29 Apr 2009 01:43:01 +0000 (01:43 +0000)]
Remove redundant declarations to allow building with -Wredundant-decls.

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

11 years agoAdd missing header files to fix C99 compatibility.
zwelch [Wed, 29 Apr 2009 00:33:35 +0000 (00:33 +0000)]
Add missing header files to fix C99 compatibility.

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

11 years agomore docs on jtag_add_pathmove()
oharboe [Tue, 28 Apr 2009 20:59:52 +0000 (20:59 +0000)]
more docs on jtag_add_pathmove()

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

11 years agoDick Hollenbeck <dick@softplc.com> and Jeff Williams tap_get_tms_path_len()
oharboe [Tue, 28 Apr 2009 19:02:29 +0000 (19:02 +0000)]
Dick Hollenbeck <dick@softplc.com> and Jeff Williams tap_get_tms_path_len()

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

11 years agoCorrectedout buffer size and missing jlink_tap_init() call.
mlu [Tue, 28 Apr 2009 17:40:02 +0000 (17:40 +0000)]
Correctedout  buffer size and missing jlink_tap_init() call.
Expanded JLink adapter info at startup.

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

11 years ago- fix win32 build
ntfreak [Tue, 28 Apr 2009 13:40:06 +0000 (13:40 +0000)]
- fix win32 build

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

11 years agofix checksum memory. By failing the fallback code will handle checksum calculation
oharboe [Tue, 28 Apr 2009 08:42:09 +0000 (08:42 +0000)]
fix checksum memory. By failing the fallback code will handle checksum calculation

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

11 years agoZach Welch <zw@superlucidity.net> fix gw16012 with --enable-parport_ppdev
oharboe [Tue, 28 Apr 2009 07:34:43 +0000 (07:34 +0000)]
Zach Welch <zw@superlucidity.net> fix gw16012 with --enable-parport_ppdev

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

11 years agoconvert some LOG_INFO()'s during stepping into LOG_DEBUG()
oharboe [Tue, 28 Apr 2009 07:33:50 +0000 (07:33 +0000)]
convert some LOG_INFO()'s during stepping into LOG_DEBUG()

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

11 years agoMichael Bruck <mbruck@digenius.de> macros for error handling
oharboe [Tue, 28 Apr 2009 07:29:18 +0000 (07:29 +0000)]
Michael Bruck <mbruck@digenius.de> macros for error handling

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

11 years agoeol-style native
oharboe [Tue, 28 Apr 2009 06:29:32 +0000 (06:29 +0000)]
eol-style native

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

11 years agoeol-style native
oharboe [Tue, 28 Apr 2009 06:28:39 +0000 (06:28 +0000)]
eol-style native

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

11 years agoSimonQian <simonqian@simonqian.com> fix warnings(which stops compilation) and some...
oharboe [Mon, 27 Apr 2009 19:35:31 +0000 (19:35 +0000)]
SimonQian <simonqian@simonqian.com> fix warnings(which stops compilation) and some bugs

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

11 years agoAdded dap baseaddr and dap apid commands
mlu [Mon, 27 Apr 2009 16:08:25 +0000 (16:08 +0000)]
Added dap baseaddr and dap apid commands

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

11 years agoDick Hollenbeck <dick@softplc.com> Collect some macros, add DIM()
oharboe [Mon, 27 Apr 2009 16:03:39 +0000 (16:03 +0000)]
Dick Hollenbeck <dick@softplc.com> Collect some macros, add DIM()

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

11 years agoSimonQian <simonqian@simonqian.com> patch for error compiling vsllink if --enable...
oharboe [Mon, 27 Apr 2009 13:00:29 +0000 (13:00 +0000)]
SimonQian <simonqian@simonqian.com> patch for error compiling vsllink if --enable-verbose-jtag-io is set

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

11 years agoclean up debug/info output to be in line with other targets
oharboe [Mon, 27 Apr 2009 12:12:44 +0000 (12:12 +0000)]
clean up debug/info output to be in line with other targets

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

11 years agomore error handling
oharboe [Mon, 27 Apr 2009 12:02:07 +0000 (12:02 +0000)]
more error handling

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

11 years agoa little bit more error handling in ARM11
oharboe [Mon, 27 Apr 2009 11:24:01 +0000 (11:24 +0000)]
a little bit more error handling in ARM11

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

11 years agoSimonQian <simonqian@simonqian.com> AVR wip
oharboe [Mon, 27 Apr 2009 10:32:13 +0000 (10:32 +0000)]
SimonQian <simonqian@simonqian.com> AVR wip

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

11 years agoSimonQian <simonqian@simonqian.com> AVR support
oharboe [Mon, 27 Apr 2009 10:16:16 +0000 (10:16 +0000)]
SimonQian <simonqian@simonqian.com> AVR support

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

11 years agoDeleted depreciated files ( new versions are arm_adi_v5.c/h )
mlu [Mon, 27 Apr 2009 10:05:15 +0000 (10:05 +0000)]
Deleted depreciated files ( new versions are arm_adi_v5.c/h )

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

11 years agoSome devices such as AVR will return 0xffffffff instead of the TDI
oharboe [Mon, 27 Apr 2009 09:12:18 +0000 (09:12 +0000)]
Some devices such as AVR will return 0xffffffff instead of the TDI
data at the end of the chain. Added kludge to handle this.

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

11 years agoChanged armv7m and cortexm3 to use nev arm_adi_v5 instead of cortex_swjdp.
mlu [Mon, 27 Apr 2009 08:29:28 +0000 (08:29 +0000)]
Changed armv7m and cortexm3 to use nev arm_adi_v5 instead of cortex_swjdp.
Added support for accessport ROM table identification, dap command.

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

11 years agoAdded arm_adi_v5.c/h, to replace cortex_swjdp.c/h. Better conformance to ARM Debug...
mlu [Mon, 27 Apr 2009 08:21:35 +0000 (08:21 +0000)]
Added arm_adi_v5.c/h, to replace cortex_swjdp.c/h. Better conformance to ARM Debug Interface rev 5 documentation and remoed code specific to the Cortex-M3 targets.

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

11 years agoPhilippe Vachon <philippe@cowpig.ca> 64 bit host fixes
oharboe [Mon, 27 Apr 2009 05:40:52 +0000 (05:40 +0000)]
Philippe Vachon <philippe@cowpig.ca> 64 bit host fixes

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

11 years agoZach Welch <zw@superlucidity.net> add -Wcast-align and -Wbad-function-cast
oharboe [Mon, 27 Apr 2009 05:30:15 +0000 (05:30 +0000)]
Zach Welch <zw@superlucidity.net> add -Wcast-align and -Wbad-function-cast

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

11 years agoZach Welch <zw@superlucidity.net> wrap _GNU_SOURCE defines
oharboe [Mon, 27 Apr 2009 05:29:30 +0000 (05:29 +0000)]
Zach Welch <zw@superlucidity.net> wrap _GNU_SOURCE defines

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

11 years agoZach Welch <zw@superlucidity.net> fix typo
oharboe [Sun, 26 Apr 2009 20:05:08 +0000 (20:05 +0000)]
Zach Welch <zw@superlucidity.net> fix typo

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

11 years agoR.Doss <doss@gmx.de> AT91SAM9260
oharboe [Sun, 26 Apr 2009 20:03:41 +0000 (20:03 +0000)]
R.Doss <doss@gmx.de> AT91SAM9260

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

11 years agoZach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macro
oharboe [Sun, 26 Apr 2009 20:02:15 +0000 (20:02 +0000)]
Zach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macro

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

11 years agoCorrected statement order
mlu [Sat, 25 Apr 2009 02:53:07 +0000 (02:53 +0000)]
Corrected statement order

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

11 years agoFix ft2232 TX buffer overflow
mlu [Sat, 25 Apr 2009 00:58:49 +0000 (00:58 +0000)]
Fix ft2232 TX buffer overflow

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

11 years agoBreak ft2232_execute_quie into smaller functions, follows restructure of jlink.c
mlu [Sat, 25 Apr 2009 00:54:21 +0000 (00:54 +0000)]
Break ft2232_execute_quie into smaller functions, follows restructure of jlink.c

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