417 Commits (44d5afb3a38e120c28d50e2cbb5ffc1a7469b189)

Author SHA1 Message Date
Mike Frysinger a3df1304fb fix build failure with gcc-4.5 due to stricter warnings with enum values in case statements
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1782 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 1622e9d9de src/bfin/bfin-part-bfin.c (bfin_part_init): Add a few more checks to avoid segfaults and change the asserts to log warnings.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1779 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 4c12a70082 document all the different data files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1778 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 508974aaee add "Inc." to ADI's human friendly name
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1777 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang aabbdc31ea Fix parallel build issue.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1776 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang ad53771377 Add facility to allow user to use libftdi asynchronous mode and libusb-1.0 to largely improve read performance.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1775 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 9e6a5473f9 include -Llibdir in default urjtag.pc like everyone else does
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1774 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 8bcaccbfbd add a better log for missing register/instruction definitions
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1773 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger ac87a4e834 sync Blackfin part list in bfin_init() to support BF548M and BF592
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1772 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger f5ad0e22d2 add common registers and instructions for the BF592
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1771 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 135ca2ef80 add a "probe" driver to support autodetection of cables
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1770 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang dd77752ee7 Wait some clocks at Run-Test/Idle for Blackfin.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1769 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 8937485ef8 pull in -lintl via pkg-config for odd systems like OS X
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1768 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 26d513ac61 install a urjtag.pc file for pkg-config users
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1767 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 6cee72a108 install a urjtag.pc file for pkg-config users
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1766 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 5c3e634a0e Optimize TMS clocks for FT2232 cables.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1765 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger dcfde97c1d document gnICE+ and support Blackfin processors
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1764 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger a6039f468a add a set of endian functions for dealing with endians and to push data storage out of the public API/ABI
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1763 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 15b18534f1 utilize automake quiet rules (can be disabled at configure/make time)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1762 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger d53816af11 add support for the Blackfin BF592
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1761 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger f72238eacf fix some typos in AS_VAR_APPEND fallback funcs
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1760 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 260fb0fc45 Fix frequency setting for FT2232H cables.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1759 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 182c9c4182 get autoconf-2.61+ working again
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1758 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 892857f670 include hex/bit output when detecting parts to make adding support easier (copy & paste)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1757 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang ceacb3f8db Add bf518f_ezbrd and bf51x bus drivers.
Add bf518 silicon revision 0.1.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1756 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 6104c96620 Add support for Analog Devices ADSP-BF506.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1755 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang b1546969ad Dump tap state at debug log level.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1754 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 4e273abf91 * src/tap/usbconn/libftdi.c (usbconn_ftdi_write): Make sure
scheduled send bytes be less than URJ_USBCONN_FTDX_MAXSEND.
  * src/tap/usbconn/libftd2xx.c (usbconn_ftd2xx_write): Likewise.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1753 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 442ab5e1bc * tap/cable/ft2232.c (ft2232_gnice_done): Turn LED off when done.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1752 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 70621ce309 Make bf537_stamp_bus_area only accept async memory addresses.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1751 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 030487bdd8 Merge bf533_ezkit.c into bf537_stamp.c.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1750 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 4c667fa679 Add bf52x and bf53x bus drivers.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1749 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger d6c5dd3a29 drop Blackfin-specific register_value() in favor of common urj_tap_register_get_value()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1748 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 56792fb561 statically sort lists so we can constify them all
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1747 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 011e64d492 statically sort lists so we can constify them all
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1746 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger a5927a6490 unify duplicate defines of the ARRAY_SIZE macro
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1745 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger ca2f6421c8 push common mingw/cygwin/stropts checks to the common sysdep.h header
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1744 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger b8ccf13c16 no point in calling AC_CHECK_FUNCS multiple times when it accepts multiple arguments
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1743 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 0da3656ae7 strip useless whitespace line
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1742 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger be4e63a311 unify duplicate code between the different driver lists (bus/cable/lowlevel)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1741 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger ee8576273a add support for passing hex strings to the `dr` instruction
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1740 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger b9b582ed37 replace Blackfin one-insn-a-file with exact instruction counting
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1739 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 62dd43dd79 freescale mpc837x bus driver and related jtag descriptions (Andrzej Jalowiecki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1738 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger a07667ffb7 support escape and quote of whitespace in filenames
quote automatically with " in readline completion


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1737 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger e3125c5a18 fix gcc warnings about not checking asprintf return
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1735 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 9d1b143a41 tweak the header define used in multiple inclusion protection
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1734 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 4aa24728f9 Add Blackfin commands.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1733 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 8abd3a255d only have device id output pad to size of register and not always to 64bits
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1732 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 35795fcae3 log with URJ_LOG_LEVEL_COMM instead of URJ_LOG_LEVEL_DETAIL
(Gaston Rodriguez)


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1731 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 14db4d2976 no one uses xpcu.h, and the definitions in it do not match the actual xpc cable code, so punt it
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1730 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger bbfe1c61c0 clean up svn keywords
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1729 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger fb127e4d24 const urj_tap_usbconn_ftd2xx_driver
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1728 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 9fba43317e add missing dist files for `make dist`
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1727 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 66c10d2750 add missing Rutger Hofman THANKS entry
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1726 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 3696803bc9 both the public and internal headers declare a urj_flash_detectflash prototype
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1725 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 0298ca83a5 Drop redundant #ifdef protection as the Makefile already has conditional logic
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1724 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 1f32be9c6d punt usbconn_{connect,free} prototypes as these dont actually exist
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1723 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger ad51f4b9c6 constify the flash drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1722 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger c0258e0026 constify the parallel port and usb cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1721 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger a721e14d8b unify parallel port drivers a bit
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1720 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 6696a91bc6 unify the usb cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1719 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 28ce1b7021 simplify usb cable driver declaring to aviod a lot of copy & paste cruft
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1718 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger e55a45ba5f constify the usb cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1717 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 93c3697d61 unify the list of ftdi usb cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1716 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 52e60bdd0b unify the list of usb cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1715 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger cd5bb2da68 constify the cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1714 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 5798f29cc3 unify the list of cable drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1713 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 6ed7ba6c0c fix typo in previous changelog
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1712 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger ef180f50da unify the list of buses in one place
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1711 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 86d42b7bfb rename urj_bus_avr32_bus_driver to urj_bus_avr32_bus to match all other bus drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1710 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger a5ccbb93c6 punt some disabled UNUSED cruft
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1709 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 312a1f634e ugh, copy & paste error again in previous commit(s)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1708 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 621c688b57 fix typos in previous commit
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1707 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger c1db52acd7 unify duplicate coding blocks
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1706 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 720768ad02 automatically align the ouptut of various lists to the right sizes
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1705 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger a2b24ccacc automatically sort lists before showing them to the user
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1704 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 12400cdcd6 Automatically show help for a command when it fails with a syntax error
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1703 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 89eca7f45b unify the list of commands to avoid duplication
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1702 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 247bdd1915 check return value of fread() to avoid gcc warnings and to catch actual errors
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1700 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger af6f9ca3f8 fix missing parse.h from the include list
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1699 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger c3dce698ab use size_t with strlen instead of casting randomly to ints
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1698 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 1310dca184 log system() exit status when it is non zero to avoid warnings and to inform people
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1697 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger e044a7bcd1 fix printf security warnings about passing a buffer instead of a const format string
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1696 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger add8159d42 fix strncat length handling
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1695 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 1adfdf10b5 use native EOL style to avoid unix/windows thrashing
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1694 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 4c342a4e88 ignore config.cache files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1693 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang b684c8e6a0 Don't trigger open file error if the last command is "quit" in command file.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1692 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Jie Zhang 3197bf76c7 Fix build issues when build out of source tree.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1691 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 2b1932565b fix by Stephane Glondu for `make install` error with newer GNU coreutils due to the same file being installed multiple times
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1690 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Kolja Waschk bb948d8995 Added support for FT2232H (gnICE+/ARM-USB-TINY-H) from Michael Hennerich/Adam Megacz.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1689 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 550577f45d [ 2831030 ] added support for flashes AM29LV400BB, AM29LV400BT, AM29LV081B (MURANAKA Masaki)
only flash support added, no redefinitions of macros so far


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1688 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 45a0a0da0a [ 2821604 ] Bus driver for SHARC21369-EZKIT (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1687 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger de37a2b847 added EJTAG registers/instructions for bcm4712
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1686 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 1dd4faa10c also issue CFI_CMD_READ_ARRAY2, required to reset
some AMD/SCS compliant chips that don't honor CFI_CMD_READ_ARRAY1


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1685 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger f2a11a15b2 set max_bytes_write to std value 1 instead of 0
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1684 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Rutger Hofman b26a48ecf4 writemem.c: big-endian shifted one too many. Bug report by Snowel Xue
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1683 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger ca2dbb81b4 svf.c: use urj_tap_chain_defer_clock() for state traversals and RUNTEST.
Improves buffering performance for heterogenous SVFs.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1682 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 344c833f0e fix build failure in inpout32 and old urjtag library code
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1681 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 7cbbb93810 fix handling of inpout32 variables so display/detection happens correctly
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1679 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger d02e85c1fc fix handling of inpout32 variables so display/detection happens correctly
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1678 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger c8af09dc4d create a helper macro for summary output to unify duplicate code
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1677 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 69dd96f508 erp, forgot ChangeLog for pkg-config change
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1676 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger dcfa8a84c2 switch to pkg-config by default for libusb/libftdi
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1675 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger 6dbe8de1ff rework HEXA_NUM scanning strategy to avoid excessive token lengths
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1674 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger bd676dd428 default vid/pid for Signalyzer (Adam Megacz)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1673 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Mike Frysinger 4ad8b4234c Add maintainer info for ADI parts. Drop the old P:/M: format (split name/e-mail lines) for the new combined M: format.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1672 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
15 years ago
Arnim Läuger f455ab1901 [ 2836180 ] Patch for new steppings of xcf04s and xc3s500e (Steven Walter)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1671 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 4b48e26b58 [ 2821545 ] IXP465 support (TedM)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1670 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 02e1e6d4ca [ 2822900 ] more characters in each lines. (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1669 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 155813aab9 also define NO_W32_PSEUDO_MODIFIERS for older mingw versions
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1668 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 3cb3abd07e [ 2816814 ] ADSP-21369 support. (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1667 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger e952018f67 [ 2820439 ] Add Marvell 88w8500 support (Jochen Friedrich)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1666 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger ed8ecbd30d [ 2820437 ] ARM9 bus support (Jochen Friedrich)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1665 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 240bd7b59e [ 2815741 ] Add bcm4702 definitions (Jochen Friedrich)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1664 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 29fd062089 [ 2815739 ] Fix fwrite call (Jochen Friedrich)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1663 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 5f9f92bd29 [ 2815726 ] Fix HALFWORD and BYTE DMA read access (Jochen Friedrich)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1662 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 558247e218 [ 2821646 ] Possible buffer overrun in amd_detect (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1661 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 47414f376c [ 2821629 ] Can't find flash_info : amd_flash.c (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1660 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 7a397d0eac [ 2816643 ] Matching arguments of funcion flasherase()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1659 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger cb2130f557 first issue of
[ 2807343 ] urjtag dependencies missing autoconf checks


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1657 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 8475faa1fd [ 2806917 ] Atmel AT49BV322D flash support (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1655 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 4c22a4ef63 disable "Set Data bits LowByte" for ft2232_transfer, seems to be
superfluous and decreases cable performance (Jie Zhang)


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1654 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger db43be4552 including help
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1653 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger d8be8ac116 experimental support for x16 mode
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1652 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman cb8c7c635e Change all struct/enum definitions in include/urjtag/*.h from
typedef struct urj_bla urj_bla_t
into
  typedef struct URJ_BLA urj_bla_t
because otherwise swig generates name collisions.
Add urjtag.i that just includes include/urjtag/urjtag.h, and a Makefile
target to build python bindings from everything defined from there.



git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1651 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger a025e29892 [ 2804509 ] bf533_stamp bus driver enchancement
(MURANAKA Masaki)


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1650 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman dcef3017c7 Sanity check on driver device type at connect()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1649 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman db013098e7 Don't use // comments in the public .h files. Maybe a library client wants to set -ansi or whatever
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1648 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger eb9767ca9d [ 2798198 ] The Minimal Parallel Port JTAG Cable (Yen Rui)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1647 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 8abcca126e commented manufacturer ARM
[ 2778313 ] Failed to detect ARM cores.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1646 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 7fdc2f3464 initial MAINTAINERS file added
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1645 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman b4ae3d63e0 Make the 2 GPIO cables (ts7800 and (vision_)ep9307) compile again
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1644 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 99f3950ac4 force Base = DECIMAL for BOUNDARY_LENGTH attribute
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1643 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 03b5d454ee In USB cable open(), parport set/get_data/get_status/set_control, return/handle URJ_STATUS_OK/FAIL more correctly
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1642 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 2d6c042179 use separate index variable for driver selection
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1641 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger be14802d6a Fix bsdl bit order and safe bit (Jean-Christian de Rivaz)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1640 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 9310896954 add missing "length" word to bsdl output
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1639 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 065ab6d7ea Apparently 'svn mv' doesn't always work. Add libftdx.h and libusb.h (again) by hand
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1638 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 419ce7bd36 Move include/urjtag/usbconn/*.h to src/tap/usbconn/; move urj_cmd_params() and urj_cmd_get_number() to src/cmd/cmd.h. These are in fact local includes.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1637 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman ebb0861971 - rename src/global/urjtag.c to src/global/log-error.c
- introduce data structure for key/value pairs
- have an API call initbus() that uses key/value pairs to pass in options
- have API calls urj_tap_cable_parport_connect(), urj_tap_cable_usb_connect(),
  urj_tap_cable_other_connect(); have a tagged union in the cable driver
  that offers driver-specific connect() calls.



git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1636 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 24224efa33 allow people to retrieve current log level by running `debug`
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1635 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 761aa8e99d make sure the user is clearly notified when the datafiles could not be read
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1634 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 09e4be3761 improve the svn rev lookup process
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1633 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 7b9c9550e3 add a .gitignore file
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1632 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 35fd7ffbf8 Patch by Florian Fainelli: fix 'uninitialized' warnings in src/bus/avr32.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1631 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 85e8aec92e fix by Florian Fainelli:
I finally tracked down the issue being in the xpc_ext_done, which calls 
xpcu_output_enable while we could not claim the device, this simply fails 
since the usb_handler is not valid. The xpc_ext_done callback is there to 
reset the status of the JTAG cable on exit, but we should actually reset the 
state on initialization no matter what was the status before calling urjtag. 
Since we are performing the reset in the initilization callback, we can now 
remove xpc_ext_done and call urj_tap_cable_generic_usbconn_done().


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1630 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 4e9a94cd7e keywords for bus drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1629 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 3e4e712c6e [ 2793104 ]
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1628 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger cb215b6ba3 [ 2793104 ] hidden bug? in bf533-stamp.c (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1627 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 71328b1824 readmem() and writemem() return a status. Patch their error handling
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1626 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger a53f454f64 fix whitespace in bf538f_ezkit bus line
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1625 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 01838a708a change some errors to fatals
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1624 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 5ef5c39b9a port BSDL message system to urj_log/urj_err_set functionality
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1623 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 324c76a696 Add an option to skip building the main programs (--disable-apps)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1622 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 915126d9dd fix obsolete reference to bsdl2jtag script in src/Makefile.am
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1621 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger c38a0135b1 replace wrapper shell script with application that links to liburjtag
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1620 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 5475adaba1 replace remaining printf invocations with urj_log
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1619 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 64b645b989 verify speed-up: use URJ_BUS_READ_START, _NEXT,
and _END instead of monolithic URJ_BUS_READ


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1618 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 6e813203d3 rework autoselect probing
better support of x8/x16 capable flash chips


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1617 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 22e4e6daa6 Building under Cygwin w/ gcc-3.4.4 yielded more uint32_t \!= long unsigned printf warnings
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1616 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 19ea1ee344 use URJ_STATUS_ return codes except on toplevel interface, this needs to
be revisited


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1615 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 994fb1b818 decode the bit stream displayed by idcode into hex values automatically for the user
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1614 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 1eef94ea87 convert the local bits_to_uint64() to a proper exported urj_tap_register_get_value() like the urj_tap_register_get_string() function
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1613 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 0ca7bfc9f5 fix the idcode usage to describe what it actually does
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1612 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger 7dc9b20200 fix confusing output when bit 0 of the idcode is not 1 as required by jtag spec
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1610 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger d64f2ddca1 allow for explicit control over -Werror flag similar to how most GNU toolchain packages work
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1609 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger f4a3188ed1 2009-05-21 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/PARTS: added xc3s1200e_fg320 and xc2vp30-ffg896 (Florian
    Fainelli)


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1608 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 27b98ebaf9 added bcm6348 (Julien Aube)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1607 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman dec5f8f6dc make urj_log into a macro. Principal reason: if urj_log won't print, it also
won't evaluate the arguments so there is no performance penalty in having
gazillion disabled low-level prints;

src/bus to use urj_log() i.s.o. printf; set urj_error wherever appropriate;
return FAIL/OK state where appropriate. read_start() now returns status.



git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1606 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 64ae992278 Replace urj_debug_mode in cmd_debug with setting urj_log_state.level
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1605 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 4d0c186493 Wha, some gcc versions are much more pickier than others in their int promotion rules
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1604 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman a837a66041 Accidentally, put in nanosleep calls. Restore to usleep
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1603 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 4a1a29aa74 Forgot to add usleep.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1602 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 7384c11cab Make it compile for my eCos BlackFin checkout.
- numerous casts because "%zd" ever requires a size_t, even for a manifest
  constant; and because a uint32_t should be cast to a long unsigned to be
  printed with "%lu" (long unsigned is at least 32-bit)
- move include/urjtag/urjtag.h to include/urjtag/urjtag.h.in and only
  export .h files for modules actually configured: USB, SVF, BSDL are
  only conditionally exported



git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1601 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger d7adb29de7 added Winbond W19B320AT/B flash chip
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1600 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger e68bf276bd [ 2770421 ] Patch: Support for IXP43x (Florian Boor)
without jtag description files


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1599 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger e66ca022bd [ 2782584 ] PPWDATA and PPWCONTROL ioclts take unsigned char not uint8_t (Yen Rui)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1598 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger b4ec05ed41 document return value
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1597 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 8b1b595474 implement pass/fail return values with URJ_STATUS_*
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1596 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 951498a8df Move sysdep.h from include/urjtag/ to the root dir, pending a private include dir
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1595 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 603611e442 * src/tap/cable/*.c: convert return values, error handling, printfs
* src/**: globally remove \n or !\n from error detail msgs; sanitize
    error prints a tiny bit




git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1594 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman f7b75f7289 Silly omission of != URJ_STATUS_OK in src/cmd/cmd_peekpoke.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1593 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 250a2d2b86 Fix typo in src/cmd/cmd_svf.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1592 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 56502adbe5 Fix scope/loop bug in src/cmd/cmd_svf.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1591 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 0064c8b83a Introduce URJ_ERROR_FTD, _USB. Adorn the error detail there w/ the appropriate error print. Introduce urj_error_IO_set that handles errno transparently
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1590 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 899f07f7c3 Mwah, if -O then I get another warning (possibly uninitialized -- untrue but fixed)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1589 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 0c44282a7f The commands in src/cmd/* now return URJ_STATUS_OK, URJ_STATUS_FAIL (or
URJ_STATUS_MUST_QUIT), in accordance with the rest of the library.
The caller of a command must decide how to handle an error (e.g. by printing
its detail message).
print routines in the library (e.g. bus) are equipped with a urj_log_level_t
parameter to control their verbosity.



git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1588 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger d0aa877eb0 invert abort condition for break timeout
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1587 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 9da936eb61 Install log.h but not sysdef.h
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1586 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger ec6bd3f4f9 hint for non-standard flash commands
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1585 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 3b07f4f4fb Add automake magic to avoid -Werror for flex-generated files
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1584 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 62fe7ae483 - replace print_progress with DETAIL log level
- avoid -Werror to bail out because of unused input() functions in flex-generated files


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1583 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman dc0c2cf5d2 Move the include() functionality from cmd/cmd_include to an API function in global/parse/. Replace the urj_cmd_run() call in urj_tap_detect_parts() with with a call to that API function
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1582 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman fa3506e420 Replace occurrence of urj_cmd_run() in tap/detect.c with an API call urj_part_instruction_define()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1581 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman 70aa54c17b Replace occurrence of urj_cmd_run() in svf.c with an API call urj_part_instruction_define()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1580 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman e9e0469be8 Convert src/tap/*.c and src/tap/parport, src/tap/usbconn/ to use urj_log() and urj_error() i.s.o. printf. Introduce urj_warning that prints __FILE__ __func__ __LINE__
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1579 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger db5c70eedd [ 2782581 ] TRST, TMS and TDI incorrectly marked in wiggler2 cable (Yen Rui)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1578 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 52984d817d removed getdelim.c and getline.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1577 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 3a3ff6292b src/jim/tap.c renamed to jim_tap.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1576 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger bd16685b4d [ 2776954 ] typo? on 'help test'
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1575 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago