Arnim Läuger
a76a13a632
[ 2102453 ] Use macros for std return values instead of literals
...
started with the bus driver stack
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1366 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
3c9dae4961
[ 1873260 ] Command 'reset' does not reset internal states
...
next round to fix this one
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1302 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
6116c8c427
[ 2009080 ] Add bus drivers for bf526 ezkit and bf538f ezkit
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1294 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
6edc1f842d
[ 2007630 ] Pass driver to new_bus
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1292 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
684ef2f9f7
[ 1984813 ] Bus driver cleanup
...
Separate (*init) and (*prepare) functions
(Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1288 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
db1dd386f7
[ 1984813 ] Bus driver cleanup
...
generic_bus_prepare function for all bus drivers that just load the EXTEST instruction
(Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1286 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
0da5bdae87
[ 1984813 ] Bus driver cleanup, uniquify chain and part in bus_t struct (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1285 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
32dc74e986
[ 1984813 ] Bus driver cleanup, remove unnecessary sanity checking (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1284 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
9caaa3dbc8
[ 1984813 ] Bus driver cleanup, second step of part 2) (Hartley Sweeten)
...
use generic_bus_attach_sig() in all bus drivers
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1281 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
befbf444ef
prop ID set
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1280 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
6633d44a50
[ 1984813 ] Bus driver cleanup, first step of part 2) (Hartley Sweeten)
...
generic_bus_attach_sig() added
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1279 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
ae9798787d
[ 1984813 ] Bus driver cleanup, second step of part 4) (Hartley Sweeten)
...
generic_bus_read() added
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1278 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
2ceeefb022
[ 1984813 ] Bus driver cleanup, first step of part 4) (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1277 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
b462454de9
Bus driver *free functions unified and moved to new generic_bus.c (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1275 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
3137094290
Part 1 and 3 of [ 1984813 ] Bus driver cleanup (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1272 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
8de5a92176
Add support for Atmel's AT32AP7000 (by Gabor Juhos)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1252 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
221fbc3b21
[ 1938338 ] Add Analog Devices bf527 ezkit support.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1162 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
7f26d5814d
more global to local variable substitution
...
[ 1929235 ] Use less global and static variables
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1150 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
626ddc8ffc
[ 1887221 ] Add configure switch to disable all cable&parport drivers:
...
bus, cable and parport drivers are enabled and disabled via
separate parameters to configure
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1143 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
3151c50472
Added comments; no functional change
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1124 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
11d5d2813c
* include/jtag.h (jtag_parse_line): Declare.
...
(jtag_parse_stream): Declare.
* src/discovery.c: Move ...
* src/tap/discovery.c: ... here.
* src/detect.c: Move ...
* src/tap/detect.c: ... here.
* src/tap/Makefile.am (libtap_a_SOURCES): Add detect.c and
discovery.c.
* src/readmem.c: Move ...
* src/bus/readmem.c: ... here.
* src/writemem.c: Move ...
* src/bus/writemem.c: ... here.
* src/bus/Makefile.am (libbus_a_SOURCES): Add readmem.c and
writemem.c.
* src/flash.c: Move ...
* src/flash/flash.c: ... here.
* src/flash/Makefile.am (libflash_a_SOURCES): Add flash.c.
* src/jtag.c (get_token, jtag_parse_line, jtag_parse_stream,
jtag_parse_file): Move to ...
* src/cmd/parse.c: ... here.
* src/cmd/Makefile.am (libbus_a_SOURCES): Add parse.c.
* src/Makefile.am (jtag_SOURCES): Remove detect.c, discovery.c,
readmem.c, writemem.c and flash.c.
(jtag_LDADD): Add -ltap and -lflash one more time to resolve
undefined references.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1120 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
0a03521de6
[ 1901955 ] Localize chain variable
...
[ 1830901 ] Merge Blackfin support
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1102 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
afc5235f44
accept 'len' parameter to suppress
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1097 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
6600fe1f01
Add bf548 ezkit support
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1094 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
d593528b35
[ 1900847 ] MPC824x 32-bit bus support
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1089 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
0b588bae64
merged branches/jmem to trunk
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1071 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
7e1999eb98
Another typo, sorry
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1027 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
9f7c6741c5
Minor fixes, SCAN/PRELOAD to determine B0SIZE
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1024 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
ffde6167cb
s3c4510: Read B0SIZE etc. earlier during bus_prepare, so bus_area can return correct values immediately after init
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1021 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
2c09aaca2c
Disable debug output from s3c4510b bus driver
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1019 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
1ab5f44f68
Add more Blackfin data and bus drivers (urjtag-add-bf537-bf548-bf561.diff from Jie Zhang, [1830901] Merge Blackfin support)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1010 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
0834af56d9
Dynamically changing address alignment to A0 line in S3C4510 bus driver
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@929 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
aae9e008ec
[ 1873220 ] Merge libbrux into src, and inclow into include. Compiles now.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@926 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
a8b8052f81
correct address shift calculation for prototype.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@921 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
1d35bbd545
parameter 'amode' added
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@919 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
4501484472
added missing file src/bus/prototype.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@916 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
f349058624
last missing bus driver update
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@915 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
cb72f1c1da
added 'prototype' bus driver (Detrick Martin)
...
since this driver requires a parameter string upon initialization, the
API had to be extended for bus_new()
all other drivers need to follow the new function prototype
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@914 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
ea79dff446
fixes for function prototypes and missing includes (Hartley)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@867 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
9e01429df6
Applied two PXA270 patches (whitespace adapted to original coding style), fixes [ 1849493 ] Please copy over two PXA270 patches.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@841 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
9c95641c24
added Zefant-XS3 bus
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@748 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
029593bbd1
[ 1605981 ] JTAG Support for ADSP-21065L Processor (with modifications)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@741 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
dc2cdf8451
[ 1429825 ] EJTAG driver (partial patch - only the bus driver for now)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@737 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
035ff9ad5d
[ 1585617 ] support for the Magnachip h7202 cpu
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@735 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
851277f003
Remaining diffs from gumstix repository: Add debug, test and shell command, aliases for parts, small fixes.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@731 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
dbd8ca383a
The 405ep support patch _still_ wasn't completely integrated.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@727 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
9e8e7af9c0
The 405ep support patch _still_ wasn't completely integrated.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@726 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
5440ab2099
some more fixes, eg. ppc405 support patch still wasn't completely applied
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@718 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
7b425b6749
[ 1281749 ] Bus driver for JOP.design Cyclone boards (jopcyc+serial patch)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@716 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
c791aad445
[ 1249552 ] New bus type SLS UP3 (Altera FPGA board)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@711 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago