-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
6830 lines (5054 loc) · 273 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-09-23 Jie Zhang <jie.zhang@analog.com>
* src/tap/register.c (urj_tap_register_set_value_bit_range): Fix
for msb < lsb case.
(urj_tap_register_get_value_bit_range): Likewise.
2012-09-21 Steve Tell <tell@telltronics.org>
* bindings/python/chain.c (urj_pyc_set_dr): Call PyErr_Clear after
failed PyArg_ParseTuple to avoid spurious exception.
2012-09-20 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable/ice100.c (adi_flush): Scan out if trigger point
is reached.
2012-09-20 Jie Zhang <jie.zhang@analog.com>
* src/bfin/bfin.c (part_emulation_return): Point out that setting
NOP in EMUIR is a workaround for ICE-100B. Also move to state
UPDATE instead of IDLE when setting NOP in EMUIR.
2012-09-19 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/tap.h: Fix trailing space in comment of urj_tap_detect.
* src/tap/cable/ft2232.c (ft2232_ktlink_init): Fix trailing space.
* bindings/python/Makefile.am: Remove empty ending line.
2012-08-09 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/xc6slx9/STEPPINGS: Add xc6slx9 stepping 2 by Xiangfu.
2012-08-06 Mike Frysinger <vapier@gentoo.org>
* src/cmd/cmd_pod.c: Add the ability to read the TDO signal. Based on work
by Elden Tyrell.
* src/global/params.c (parse_param_lu): Reject partial decimal numbers, and
improve error message to indicate 0x prefix is required for hex values.
2012-04-13 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/ft2232.c (urj_tap_cable_ft2232_ktlink_driver): Use the
ft2232h_set_frequency helper since this cable driver has a FT2232H part.
Fix by Tomek Cedro.
2012-04-10 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/ft2232.c: Declare ARM-USB-OCD-H cable by Jérôme Carretero.
* src/tap/cable/generic_usbconn_list.h: Add new armusbocd_h cable.
2012-03-10 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/cable.h (urj_cable_param_key_t): Add URJ_CABLE_PARAM_KEY_INDEX.
* include/urjtag/usbconn.h (urj_usbconn_cable_t): Add index.
* src/tap/cable.c (cable_param): Handle index and URJ_CABLE_PARAM_KEY_INDEX.
* src/tap/cable/generic_usbconn.c (urj_tap_cable_generic_usbconn_connect):
Handle URJ_CABLE_PARAM_KEY_INDEX and pass along index.
* src/tap/cable/generic_usbconn.h: Document new index= parameter.
* src/tap/usbconn/libftd2xx.c (ftd2xx_param_t): Add index.
(usbconn_ftd2xx_connect): Pass along index.
* src/tap/usbconn/libftdi.c (ftdi_param_t): Add index.
(usbconn_ftdi_connect): Pass along index.
(usbconn_ftdi_common_open): Call ftdi_usb_open_desc_index to utilize the
new index parameter.
2012-03-02 Mike Frysinger <vapier@gentoo.org>
* src/tap/usbconn/libusb.c, src/tap/usbconn/libusb.h: Glue the 0.1 API
for library init and device list lookup/freeing to 1.0 so other places
can use it too.
2012-03-06 Tomek Cedro <cederom@tlen.pl>
* src/tap/cable_list.h, src/tap/cable/ft2232.c,
src/tap/cable/generic_usbconn_list.h: New ft2232 KT-LINK driver.
2012-03-02 Mike Frysinger <vapier@gentoo.org>
* src/svf/svf.c (urj_svf_run): Detect unset cables to avoid crashes when
using the command line interface. Patch by Scott Tsai.
* include/urjtag/part.h (urj_part_set_signal_{high,low,input}): Add helpers
for controlling levels to make code reading easier. Work by Miklós Márton.
* src/bus/*.c: Convert to new urj_part_set_signal helpers. Work partially
by Miklós Márton.
2012-02-29 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/xc6slx16/STEPPINGS: Add stepping 2 by Christoffer Kjølbæk.
2011-12-10 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/tap.h, src/cmd/cmd_detect.c, src/tap/detect.c,
src/tap/discovery.c: Extend urj_tap_detect API to allow callers to set
the number of IR bits to detect. Patch by Steve Tell.
* src/tap/register.c: Check incoming register arg before we use it. Patch
by Steve Tell.
* include/urjtag/tap_register.h, src/tap/register.c: Add get/set register
value variants that allow you to get a slice of bits. Patch by Steve Tell.
* Makefile.am: Add bindings to SUBDIRS.
* configure.ac: Add --enable-python flag to control python support.
* doc/urjtag-python.txt: Document new python bindings.
* bindings/: New subdir to hold language bindings.
* bindings/python/: New python bindings by Steve Tell.
2011-12-05 Mike Frysinger <vapier@gentoo.org>
* src/apps/jtag/jtag.c: Simplify readline ifdefs a little as suggested
by Márton Németh.
2011-11-16 Jie Zhang <jie.zhang@analog.com>
* data/analog/PARTS: Update comment.
2011-11-11 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/bfin.h (part_bypass): Remove declaration.
2011-11-06 Uwe Hermann <uwe@hermann-uwe.de>
* data/toshiba/tmpa9xx/tmpa9xx, data/toshiba/tmpa9xx/STEPPINGS: Add stepping
and basic JTAG register/instruction info for Toshiba TMPA9xx series
microcontrollers (ARM9 / ARM926EJ-S).
* data/toshiba/PARTS: Add entry for Toshiba TMPA9xx.
* data/Makefile.am: Add new STEPPINGS and tmpa9xx files.
2011-11-06 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/xc6slx9/STEPPINGS: Add Xilinux Spartan 6 stepping 0 by
Ralph Loader.
2011-10-24 Jie Zhang <jie.zhang@analog.com>
* data/analog/bf592/STEPPINGS: Add silicon revision 0.2.
2011-10-19 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/bfin.h (chain_scan_select): Remove declaration.
(DECLARE_CHAIN_DBGCTL_SET_BIT): Remove.
(DECLARE_CHAIN_DBGCTL_CLEAR_BIT): Remove.
(DECLARE_DBGCTL_BIT_OP): Don't use the above two.
(chain_dbgstat_get): Remove declaration.
(chain_emupc_get): Likewise.
(chain_dbgstat_clear_ovfs): Likewise.
(chain_check_emuready): Likewise.
(chain_wait_in_reset): Likewise.
(chain_wait_reset): Likewise.
(chain_register_get): Likewise.
(chain_register_set): Likewise.
(chain_register_set_same): Likewise.
(chain_emuir_set_same): Likewise.
(chain_emuir_set_same_2): Likewise.
(chain_emulation_enable): Likewise.
(chain_emulation_disable): Likewise.
(chain_emulation_trigger): Likewise.
(chain_emulation_return): Likewise.
(chain_emupc_reset): Likewise.
(bfin_core_reset): Add a new parameter.
(software_reset): Likewise.
(part_emupc_reset): Declare.
* src/cmd/cmd_bfin.c (cmd_bfin_run): Pass chain->active_part as
the second argument to software_reset and bfin_core_reset.
* src/bfin/bfin.c (part_is_bypassed): Remove.
(part_bypass): Remove.
(chain_scan_select_array): Remove.
(chain_scan_select): Remove.
(part_scan_select): Don't call part_is_bypassed.
(CHAIN_DBGCTL_CLEAR_OR_SET_BIT): Remove.
(CHAIN_DBGCTL_SET_BIT): Remove.
(CHAIN_DBGCTL_CLEAR_BIT): Remove.
(DBGCTL_BIT_OP): Don't use the above two.
(chain_dbgstat_get): Remove.
(chain_emupc_get): Remove.
(chain_dbgstat_clear_ovfs): Remove.
(chain_check_emuready): Remove.
(chain_wait_in_reset): Remove.
(chain_wait_reset): Remove.
(chain_emuir_set_same): Remove.
(part_emuir_set): Don't call part_is_bypassed.
(chain_emuir_set_same_2): Remove.
(part_emuir_set_2): Don't call part_is_bypassed.
(chain_register_get): Remove.
(chain_register_set_1): Remove.
(chain_register_set): Remove.
(chain_register_set_same): Remove.
(chain_emulation_enable): Remove.
2011-10-19 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/bfin.h (struct emu_oab): Remove. Move its dbgctl_*
and dbgstat_* to ...
(struct bfin_part_data): ... here. Remove field emu_oab.
(EMU_OAB): Remove.
(part_sticky_in_reset): Remove.
* src/bfin/bfin.c (<urjtag/cable.h>): Include.
("bfin-part.h"): Dont' include.
(bfin_dbgctl_init): New.
(bfin_dbgstat_value): New.
(PART_DBGCTL_CLEAR_OR_SET_BIT): Don't use _part_* functions.
(PART_DBGCTL_IS): Likewise.
(PART_DBGSTAT_BIT_IS): Likewise.
(PART_DBGSTAT_CLEAR_BIT): Likewise.
(PART_DBGSTAT_SET_BIT): Likewise.
(part_dbgstat_emucause): Likewise.
(chain_dbgstat_get): Likewise.
(part_dbgstat_get): Likewise.
(part_sticky_in_reset): Remove.
(chain_wait_reset): Don't call part_sticky_in_reset.
(part_wait_reset): Likewise.
(bfin_part_data_initializer): Define.
(bfin_wait_ready): New.
(bfin_part_init): New.
(_bfin_part_init): New.
* src/bfin/bfin-part-bfin.c: Remove.
* src/bfin/bfin-part.c: Remove.
* src/bfin/bfin-part.h: Remove.
* src/bfin/Makefile.am (libbfin_la_SOURCES): Remove bfin-part.c,
bfin-part.h and bfin-part-bfin.c.
2011-10-14 Uwe Hermann <uwe@hermann-uwe.de>
* doc/Makefile.am: Add README.stapl to EXTRA_DIST so that it ends up in
the tarball.
* doc/UrJTAG.txt, po/fr.po, po/rw.po, po/sk.po, src/bus/jopcyc.c,
src/bus/zefant-xs3.c, src/cmd/cmd_endian.c, src/cmd/cmd_pld.c: Fix typos.
2011-10-09 Uwe Hermann <uwe@hermann-uwe.de>
* include/Makefile.am, src/stapl/Makefile.am: Fix 'make dist'.
2011-10-04 Jie Zhang <jie.zhang@analog.com>
* src/tap/detect.c (urj_tap_detect_parts): Ignore search path when
call urj_parse_include.
2011-10-03 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable/ice100.c (ice_read_hex_file): Free input_line
before return.
2011-09-29 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable/generic_usbconn_list.h (ice100Bw): Add.
* src/tap/cable/ice100.c: Rename ice100B to ice100Bw and
add a new ice100B with PID 0x1225.
2011-09-27 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable.c (urj_tap_cable_start): Use urj_tap_trst_reset.
* src/tap/discovery.c (jtag_reset): Remove.
(urj_tap_discovery): Replace jtag_reset with urj_tap_trst_reset.
* src/tap/tap.c (urj_tap_trst_reset): New function.
* src/tap/idcode.c (urj_tap_idcode): Use urj_tap_trst_reset.
* include/urjtag/tap.h (urj_tap_trst_reset): Declare.
2011-09-27 Jie Zhang <jie.zhang@analog.com>
* src/cmd/cmd_print.c (cmd_print_run): Pass active part to
urj_part_parts_print.
* src/part/part.c (urj_part_parts_print): Add a new argument
for active part.
* include/urjtag/part.h (urj_part_parts_print): Update declaration.
2011-09-24 Jie Zhang <jie.zhang@analog.com>
* src/bus/blackfin.c (bfin_bus_write): Pull AOE low for write.
2011-09-24 Jie Zhang <jie.zhang@analog.com>
* src/bus/blackfin.c (bfin_bus_new): Parse default params into a
separate param list.
2011-09-06 Mike Frysinger <vapier@gentoo.org>
* src/bus/mpc8313.c: Use global revbits rather than local, and fix
off-by-one error by Márton Miklós.
2011-08-31 Jie Zhang <jie.zhang@analog.com>
* src/bus/blackfin.c (bfin_bus_new): Add new argument for default
parameter values. Update all callers.
* src/bus/blackfin.h (bfin_bus_new): Update declaration.
(bfin_bus_default_t): Typedef.
* src/bus/bf537_stamp.c (bf537_stamp_defaults[]): New.
(bf537_stamp_bus_new): Pass bf537_stamp_defaults to bfin_bus_new.
(bf527_sdp): _BFIN_BUS_DECLARE.
* src/bus/Makefile.am (libbus_la_SOURCES): Remove bf527_sdp.c.
* src/bus/bf527_sdp.c: Remove.
* src/global/params.c (urj_param_init_list): Add missing {, }.
2011-08-29 Mike Frysinger <vapier@gentoo.org>
* src/cmd/Makefile.am: Add a semicolon after the last sed command for
compatibility with BSD sed implementations. Patch by Xiangfu Liu.
2011-08-29 Jie Zhang <jie.zhang@analog.com>
* src/bus/buses_list.h: Add bf527_sdp.
* src/bus/Makefile.am(libbus_la_SOURCES): Add bf527_sdp.c.
* src/bus/bf527_sdp.c: New file.
2011-08-27 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/xc6slx45/STEPPINGS: Add stepping 3 by Xiangfu Liu.
2011-08-24 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/bus_driver.h, src/bus/buses.c: Add a new flag for write
protect signals.
* configure.in, src/bus/Makefile.am, src/bus/mpc8313.c: Add mpc8313 bus
support by Márton Miklós.
* src/tap/detect.c: Remove limitations on lengths of names in id records.
* data/Makefile.am, data/lattice/PARTS,
data/lattice/lcmxo2-1200-csbga132/STEPPINGS,
data/lattice/lcmxo2-1200-csbga132/lcmxo2-1200-csbga132: Add support for
LCMXO2-1200 CPLD's by Márton Miklós.
2011-08-20 Mike Frysinger <vapier@gentoo.org>
* data/Makefile.am, data/xilinx/PARTS, data/xilinx/xc95108/STEPPINGS,
data/xilinx/xc95108/xc95108, data/xilinx/xc95108/xc95108_pc84,
data/xilinx/xc95108/xc95108_pq100, data/xilinx/xc95108/xc95108_pq160,
data/xilinx/xc95108/xc95108_tq100: Add data files for Xilinx xc95108
FPGAs. Patch by Steve Tell.
* src/tap/detect.c: Change fgets() to getline() to remove arbitrary
line length limits.
* include/urjtag/flash.h, include/urjtag/error.h, src/flash/amd.c,
src/flash/intel.c, src/flash/amd_flash.c, src/flash/flash.c,
src/global/log-error.c: Add support to the flash framework for
locking sectors. Patch by Xiangfu Liu.
* src/cmd/cmd_lockflash.c, src/cmd/Makefile.am: Add "lockflash" command
by Xiangfu Liu.
* include/urjtag/flash.h, src/flash/flash.c, src/cmd/cmd_lockflash.c:
Extend lock logic to support unlocking. Add a new "unlockflash" command
by Xiangfu Liu on top of that.
* configure.ac, doc/README.stapl, include/urjtag/stapl.h, src/cmd/cmd_list.h,
src/cmd/cmd_stapl.c, src/cmd/Makefile.am, src/Makefile.am, src/stapl,
src/stapl/jamarray.c, src/stapl/jamarray.h, src/stapl/jamcomp.c,
src/stapl/jamcomp.h, src/stapl/jamcrc.c, src/stapl/jamdefs.h,
src/stapl/jamexec.c, src/stapl/jamexec.h, src/stapl/jamexp.c,
src/stapl/jamexp.h, src/stapl/jamexprt.h, src/stapl/jamheap.c,
src/stapl/jamheap.h, src/stapl/jamjtag.c, src/stapl/jamjtag.h,
src/stapl/jamnote.c, src/stapl/jamstack.c, src/stapl/jamstack.h,
src/stapl/jamsym.c, src/stapl/jamsym.h, src/stapl/jamutil.h,
src/stapl/jamytab.h, src/stapl/Makefile.am, src/stapl/stapl.c,
src/stapl/TODO: Initial STAPL support by Michael Vacek.
2011-07-27 Jie Zhang <jie.zhang@analog.com>
* src/bfin/bfin-part-bfin.c (bfin_wait_ready): Set the default wait
clocks to 3 for gnICE.
2011-07-26 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable/ice100.c (ice100b_set_freq): Set cable->frequency.
* src/bfin/bfin-part-bfin.c (bfin_wait_ready): Set default wait clocks
for ICE-100B cable.
2011-07-26 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable/ice100.c: Indent.
2011-07-26 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable_list.h: Remove ezkit_10 and ezkit_20.
* src/tap/cable/generic_usbconn_list.h: Remove ezkit_10_bf548,
ezkit_10_bf537, ezkit_20_bf518 and ezkit_20_bf526.
* src/tap/cable/ice100.c (struct params_t): Remove sel_rawscan_enabled,
bytewize_scan, combo_tx_mode, wr_buf_addr and r_buf_addr.
(swap_data_longs_to_bytes, swap_scan_bytes_to_longs): Remove.
(DSP_KIT_SCAN_DATA): Remove.
(KIT_10_DEFAULT_SCAN_LEN): Remove.
(KIT_10_TRIGGER_SCAN_LEN): Remove.
(KIT_20_DEFAULT_SCAN_LEN): Remove.
(KIT_20_TRIGGER_SCAN_LEN): Remove.
(RAW_SCAN_HDR_SZ): Remove.
(RAW_SCAN_COMBINED_HDR_SZ): Remove.
(HOST_DO_RAW_SCAN): Remove.
(HOST_FAST_MODE): Remove.
(HOST_SC_AUTHENTICATE): Remove.
(KIT_10_WRITE_ENDPOINT): Remove.
(KIT_10_READ_ENDPOINT): Remove.
(KIT_10_USB_WRITE_TIMEOUT): Remove.
(KIT_10_USB_READ_TIMEOUT): Remove.
(KIT_10_WRITE_BUFFER_SIZE): Remove.
(KIT_10_READ_BUFFER_SIZE): Remove.
(KIT_20_WRITE_ENDPOINT): Remove.
(KIT_20_READ_ENDPOINT): Remove.
(KIT_20_USB_WRITE_TIMEOUT): Remove.
(KIT_20_USB_READ_TIMEOUT): Remove.
(KIT_20_WRITE_BUFFER_SIZE): Remove.
(KIT_20_READ_BUFFER_SIZE): Remove.
(BLACKFIN_OLD_DATA_BUFFER_OUT_ADDRESS): Remove.
(BLACKFIN_OLD_DATA_BUFFER_IN_ADDRESS): Remove.
(BLACKFIN_DATA_BUFFER_OUT_ADDRESS): Remove.
(BLACKFIN_DATA_BUFFER_IN_ADDRESS): Remove.
(kitInFastMode): Remove.
(kit_set_freq): Remove.
(ice100b_set_freq): Adjust accordingly.
(ice_connect): No need to initialize removed params_t fields.
(kit_10_connect): Remove.
(kit_20_connect): Remove.
(ice_init): Adjust accordingly.
(kit_10_init): Remove.
(kit_20_init): Remove.
(adi_flush): Adjust accordingly.
(kit_get_sig): Remove.
(kit_set_sig): Remove.
(get_recv_data): Adjust accordingly.
(add_scan_data): Adjust accordingly.
(do_single_reg_value): Adjust accordingly.
(do_host_cmd): Adjust accordingly.
(perform_scan): Adjust accordingly.
(do_rawscan): Adjust accordingly.
(urj_tap_cable_ezkit_10_driver): Remove.
(ezkit_10_bf537): Remove.
(ezkit_10_bf548): Remove.
(urj_tap_cable_ezkit_20_driver): Remove.
(ezkit_20_bf518): Remove.
(ezkit_20_bf526): Remove.
2011-07-25 Jie Zhang <jie.zhang@analog.com>
* src/tap/detect.c (find_record): Use FOPEN_R or FOPEN_W for mode in fopen.
* src/tap/cable/gpio.c (gpio_export): Likewise.
(gpio_direction): Likewise.
* src/tap/cable/ice100.c (ice_read_hex_file): Likewise.
* src/bsdl/bsdl.c (urj_bsdl_read_file): Likewise.
* src/bsdl/vhdl_flex.l (urj_vhdl_flex_switch_file): Likewise.
* src/global/parse.c (urj_parse_file): Likewise.
* src/cmd/cmd_bfin.c (cmd_bfin_run): Likewise.
* src/cmd/cmd_flashmem.c (cmd_flashmem_run): Likewise.
* src/cmd/cmd_pld.c (cmd_pld_run): Likewise.
* src/cmd/cmd_writemem.c (cmd_writemem_run): Likewise.
* src/cmd/cmd_svf.c (cmd_svf_run): Likewise.
* src/cmd/cmd_readmem.c (cmd_readmem_run): Likewise.
* src/apps/bsdl2jtag/bsdl2jtag.c (main): Likewise.
* sysdep.h (FOPEN_R, FOPEN_W): Define.
2011-07-25 Jie Zhang <jie.zhang@analog.com>
* src/tap/cable/generic_usbconn.c (urj_tap_cable_generic_usbconn_connect):
Clear connection error if a suitable cable has been found.
2011-07-25 Jie Zhang <jie.zhang@analog.com>
* src/lib/getdelim.c (getdelim): Don't report error if *lineptr
is NULL but *n is not zero.
2011-07-20 Jie Zhang <jie.zhang@analog.com>
* sysdep.h (struct timespec): Only define when !HAVE_STRUCT_TIMESPEC.
* configure.ac: Check struct timespec.
2011-07-18 Jie Zhang <jie.zhang@analog.com>
* src/global/parse.c (getline): Remove.
* src/cmd/cmd_bfin.c (cmd_bfin_run): Update comment.
* src/lib/getline.c: New file.
* src/lib/getdelim.c: New file.
* src/lib/Makefile.am (libjtaglib_la_SOURCES): Add getdelim.c and
getline.c.
* sysdep.h (getline): Declare.
* configure.ac: Check getdelim.
* po/POTFILES.in: Add src/lib/getdelim.c and src/lib/getline.c.
2011-07-18 Jie Zhang <jie.zhang@analog.com>
* src/bsdl/Makefile.am (VHDL_BISON_OBJS): Correct object file name.
(BSDL_BISON_OBJS): Likewise.
* src/svf/Makefile.am (SVF_BISON_OBJS): Likewise.
2011-07-13 Mike Frysinger <vapier@gentoo.org>
* include/lex.h: New file for lex workarounds.
* src/bsdl/vhdl_flex.l, src/bsdl/bsdl_flex.l, src/svf/svf_flex.l: Pull
in new lex.h header to workaround random gcc warnings.
* src/bsdl/Makefile.am, src/svf/Makefile.am: Drop -Wno-error now that
the lex files compile warning free.
2011-07-13 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/cable.h (urj_cable_param_key_t): Add
URJ_CABLE_PARAM_KEY_FIRMWARE.
* src/tap/cable.c (cable_param[]): Add URJ_CABLE_PARAM_KEY_FIRMWARE.
* src/tap/cable/ice100.c: Include "libiberty.h".
(params_t): Add firmware_filename.
(HOST_PROGRAM_FLASH): Define.
(ICE100B_DOC_URL): Define.
(adi_usb_read_or_ret): Use urj_error_IO_set.
(adi_usb_write_or_ret): Likewise.
(struct flash_block): Define.
(NIBBLE): Define.
(HEX2): Define.
(HEX4): Define.
(ISHEX): Define.
(ISHEX2): Define.
(ISHEX4): Define.
(ice_read_hex_file): New.
(ice_calculate_crc): New.
(ice_send_flash_data): New.
(ice_firmware_crc): New.
(ice_update_firmware): New.
(ice_connect): Handle firmware parameter.
(kit_10_connect): Initialize firmware_filename to NULL.
(kit_20_connect): Likewise.
(ice_init): Add firmware updater.
(ice_cable_free): Free firmware_filename.
(ice_cable_help): New.
(urj_tap_cable_ice100B_driver): Use ice_cable_help.
Add Emacs file local variables.
2011-07-13 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/parse.h (urj_parse_stream): Update declaration.
(urj_parse_file): Likewise.
* include/urjtag/log.h (urj_do_log): Add file, line, func parameters.
(urj_log): Pass __FILE__, __LINE__, __func__ to urj_do_log.
(urj_warning): Use urj_log.
(urj_log_error_describe): Declare.
* src/tap/detect.c (urj_tap_detect_parts): Use urj_log_error_describe.
* src/global/log-error.c: Include <stdbool.h>.
(log_printf): New.
(urj_do_log): Print log level prefix for error, warning, or when
log level is URJ_LOG_LEVEL_DETAIL or lower.
Print file, line, func when log level is URJ_LOG_LEVEL_DEBUG
or lower.
(urj_error_describe): Don't include file, line, or function.
(urj_log_error_describe): New.
* src/global/parse.c (urj_parse_stream): Remove log level argument.
Use urj_log_error_describe.
(urj_parse_file): Remove log level argument.
(urj_parse_include): Update use of urj_parse_file.
* src/apps/jtag/jtag.c (jtag_readline_multiple_commands_support):
Use urj_log_error_describe.
(jtag_parse_rc): Update use of urj_parse_file.
(main): Update use of urj_parse_file and urj_parse_stream.
Use urj_log_warning.
* src/apps/bsdl2jtag/bsdl2jtag.c (main): Use urj_log_error.
2011-07-07 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/bus_driver.h, src/bus/generic_bus.c, src/bus/generic_bus.h:
Add bus type classification and new enable/disable/write_start hooks (in
preparation for other bus types) by Jonathan Stroud.
* src/bus/fjmem.c, src/bus/ppc405ep.c, src/bus/sh7727.c, src/bus/bscoach.c,
src/bus/prototype.c, src/bus/sa1110.c, src/bus/mpc837x.c,
src/bus/ppc440gx_ebc8.c, src/bus/ejtag_dma.c, src/bus/sh7750r.c,
src/bus/tx4925.c, src/bus/pxa2x0.c, src/bus/arm9tdmi.c, src/bus/ixp425.c,
src/bus/avr32.c, src/bus/ixp465.c, src/bus/zefant-xs3.c, src/bus/h7202.c,
src/bus/mpc824x.c, src/bus/bcm1250.c, src/bus/sharc21065l.c,
src/bus/sharc21369_ezkit.c, src/bus/au1500.c, src/bus/blackfin.h,
src/bus/lh7a400.c, src/bus/sh7751r.c, src/bus/mpc5200.c, src/bus/jopcyc.c,
src/bus/slsup3.c, src/bus/ejtag.c, src/bus/s3c4510x.c, src/bus/ixp435.c:
Fill out new hook points and declare all as parallel bus drivers.
* src/flash/amd_flash.c, src/flash/cfi.c, src/flash/jedec.c,
src/flash/jedec_exp.c: Only work with parallel buses.
2011-07-06 Mike Frysinger <vapier@gentoo.org>
* src/flash/intel.c: Add support for 28F256P33 flashes by Jonathan Stroud.
* src/cmd/cmd.h, src/cmd/cmd_cmd.c: Add new completion func for files.
* src/cmd/cmd_flashmem.c, src/cmd/cmd_include.c, src/cmd/cmd_readmem.c:
Use new completion helper rather than poking readline directly.
* src/cmd/cmd_part.c (cmd_part_help): Update output to reflect reality.
* src/cmd/cmd_bsdl.c, src/cmd/cmd_bus.c, src/cmd/cmd_dr.c,
src/cmd/cmd_part.c, src/cmd/cmd_pod.c, src/cmd/cmd_shell.c,
src/cmd/cmd_svf.c, src/cmd/cmd_writemem.c: Add completion handlers.
* include/urjtag/flash.h, src/flash/detectflash.c: Turn flash detection
handling into an array to make adding new routines easy. Patch by
Jonathan Stroud.
2011-07-06 Jie Zhang <jie.zhang@analog.com>
* src/tap/chain.c (urj_tap_chain_connect): Correct checking of the
parameter number of parallel cable.
2011-07-04 Mike Frysinger <vapier@gentoo.org>
* src/bus/arm9tdmi.c, src/bus/ejtag_dma.c, src/bus/ixp435.c,
src/bus/mpc837x.c, src/bus/sharc21369_ezkit.c: Fix coding style.
2011-07-03 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/bfin.h (bfin_part_data.emu_oab): Constify.
(bfin_emu_oab): Delete external decl.
* src/bfin/bfin-part-bfin.c (bfin_emu_oab): Constify & localize.
* src/bfin/bfin.c (bfin_emu_wait_ts): Constify.
* src/bus/mpc824x.c (BUS_WIDTH, REVBITS, dbgAddr, dbgData): Push
global data down into bus-specific params data.
* src/bus/pxa2x0.c: Constify default map info, and then push writable
global map data into the bus-specific params data.
* include/urjtag/bfin.h: Unify bfin_part_data casts into a single macro.
2011-07-01 Jie Zhang <jie.zhang@analog.com>
* src/lib/ansidecl.h: Move to include.
* src/lib/filenames.h: Likewise.
* src/lib/libiberty.h: Likewise.
* src/lib/safe-ctype.h: Likewise.
* src/lib/hex.c: Import from GCC.
* src/lib/Makefile.am (libiberty_sources): Remove ansidecl.h,
filenames.h, libiberty.h and save-ctype.h.
(libjtaglib_la_SOURCES): Add hex.c.
* include/Makefile.am: New file.
* Makefile.am (SUBDIRS): Add include.
* src/global/data_dir.c (make_relative_prefix): Don't declare.
Include libiberty.h.
* src/lib/hex.c (hex_init): Avoid redundant initialization.
2011-06-30 Mike Frysinger <vapier@gentoo.org>
* cmd/cmd_initbus.c (cmd_initbus_complete): Complete bus parameters too.
* include/urjtag/cable.h, src/tap/cable.c (urj_tap_cable_find): Add new
helper for looking up cable drivers by name.
* src/cmd/cmd_cable.c (cmd_cable_run): Use new helper to restore cable
specific help output.
* src/tap/chain.c (urj_tap_chain_connect): Replace look up code with new
urj_tap_cable_find helper.
* src/cmd/cmd.h, src/cmd/cmd_cmd.c (urj_completion_mayben_add_param_list):
Add new helper which automatically adds urj_param_list_t for matches.
* src/cmd/cmd_cable.c (cmd_cable_complete): Use new helper to add cable
options to possible matches.
* cmd/cmd_initbus.c (cmd_initbus_complete): Use new helper rather than
adding parameters ourselves.
* include/urjtag/params.h, src/global/params.c (urj_param_init_list): Add
new helper for creating a parameter list based on a param_list.
* src/tap/chain.c (urj_tap_chain_connect): Drop handcoded paramater list
setup and use new helper func instead.
* src/bus/buses.c (urj_bus_buses_set): Likewise.
* include/urjtag/bus_driver.h (urj_bus_param_key_t): Add new hwait key
for Blackfin bus drivers.
* src/bus/buses.c (bus_param): Likewise.
* src/bus/blackfin.h (bfin_bus_params_t): Add hwait/hwait_level to keep
track of new optional hwait signal.
(bfin_bus_new): Accept cmd_params from caller.
(_BFIN_BUS_DECLARE): Document new hwait= option in bus.
* src/bus/blackfin.c (bfin_bus_new): Accept cmd_params from caller and
parse them for hwait signal.
(bfin_select_flash, bfin_unselect_flash): Set new hwait pin if it is
enabled by user.
* src/bus/bf518f_ezbrd.c, src/bus/bf533_stamp.c, src/bus/bf537_stamp.c,
src/bus/bf548_ezkit.c, src/bus/bf561_ezkit.c: Pass cmd_params down to
bfin_bus_new() helper.
2011-06-30 Jie Zhang <jie.zhang@analog.com>
* src/cmd/Makefile.am (generated_cmd_list.h): Depend on
generated_cmd_list.h.stamp.
(generated_cmd_list.h.stamp): New target.
(EXTRA_DIST): Add generated_cmd_list.h.stamp.
(MAINTAINERCLEANFILES): Likewise.
2011-06-30 Mike Frysinger <vapier@gentoo.org>
* src/tap/chain.c (urj_tap_chain_connect): Fix param count check with parallel
cables after the refactorizing into dedicated funcs. Fix by Steve Tell.
* src/urjtag.pc.in (Libs.private): Add ftdi/usb libs after they were removed
from the global LIBS.
* src/bfin/bfin.c (chain_system_reset): Rewrite to work around known anomalies
with software reset and Blackfin cores.
* src/tap/chain.c (urj_tap_cable_wait): Fix off-by-one error in previous wait
logic tweaking.
2011-06-29 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable.c (urj_tap_cable_wait): Tweak code style to silence warnings
thrown up by gcc-4.6 and cause build failures with -Werror.
* src/cmd/Makefile.am (generated_cmd_list.h): Always update the file to
avoid constant generation loops where other files are newer, but not
a different list of commands.
* src/cmd/cmd_bfin.c (cmd_bfin_run): Make sure the part is in emulation mode
first before attempting a reset (since we need to be).
* src/cmd/cmd_bfin.c (cmd_bfin_help): Update help description to include
all of the sub-commands actually supported. Pull out the const strings
(things you actually type) out of the translated string.
* src/cmd/cmd.h (urj_cmd_t.complete): Add a new arg for the token list.
* src/cmd/cmd_cmd.c (urj_cmd_complete): Pass down tokenized list for
handlers to work off of if they want info about previous tokens.
* src/cmd/cmd_bfin.c, src/cmd/cmd_cable.c, src/cmd/cmd_cmd.c,
src/cmd/cmd_debug.c, src/cmd/cmd_endian.c, src/cmd/cmd_flashmem.c,
src/cmd/cmd_get.c, src/cmd/cmd_help.c, src/cmd/cmd_include.c,
src/cmd/cmd_initbus.c, src/cmd/cmd_instruction.c, src/cmd/cmd_print.c,
src/cmd/cmd_readmem.c, src/cmd/cmd_salias.c, src/cmd/cmd_set.c,
src/cmd/cmd_shift.c, src/cmd/cmd_test.c: Add new tokens arg to completion
handlers.
* src/cmd/cmd_endian.c (cmd_endian_complete): Add matches based on existing
local array of strings.
* src/cmd/cmd.h (urj_completion_mayben_add_matches_num,
urj_completion_mayben_add_matches): Helpers for adding arrays of matches.
* src/cmd/cmd_cmd.c (urj_completion_mayben_add_matches_num): New helper.
* src/cmd/cmd_bfin.c, src/cmd/cmd_cmd.c, src/cmd/cmd_debug.c,
src/cmd/cmd_print.c: Convert to new array helpers.
* src/cmd/cmd_bfin.c, src/cmd/cmd_set.c: Use new tokens arg to selectively
add matches for specific sub-commands.
* include/urjtag/log.h, src/global/log-error.c: Add new helpers for
converting between string versions of log levels and the actual log
level value.
* src/cmd/cmd_debug.c: Drop local log level converters and use new
common helpers.
* include/urjtag/bfin.h, src/bfin/bfin-part-bfin.c: Rewrite test_command
support to dynamically look up the set of MMRs needed in order to access
the requested memory. Some parts can only use ITEST, so hardcoding the
DTEST MMRs no longer works.
2011-06-27 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/Makefile.am (nodist_pkginclude_HEADERS): New and
add urjtag.h.
2011-06-27 Mike Frysinger <vapier@gentoo.org>
* src/bsdl/Makefile.am, src/svf/Makefile.am: Update dependency targets
to fix parallel build issues with bison/flex generated headers.
2011-06-27 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/Makefile.am (pkginclude_HEADERS): Remove urjtag.h.
* extra/fjmem/Makefile.am: New file.
* src/jim/Makefile.am (EXTRA_DIST): New.
* src/pld/Makefile.am (libpld_la_SOURCES): Add xilinx.h.
* src/bus/Makefile.am (libbus_la_SOURCES): Add blackfin.h.
* src/bfin/Makefile.am (libbfin_la_SOURCES): Add bfin-part.h.
* configure.ac: Add extra/fjmem/Makefile to AC_CONFIG_FILES.
* data/Makefile.am (nobase_dist_pkgdata_DATA): Add
xilinx/xc18v02pc44/xc18v02pc44 and xilinx/xc18v02pc44/STEPPINGS.
* Makefile.am (SUBDIRS): Add extra/fjmem.
2011-06-27 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/cmd.h, src/cmd/cmd.h, src/cmd/cmd_cmd.c: Move prototypes
for some useful command related functions to the public cmd.h header.
In the process, constify the array passed into urj_cmd_params.
* include/urjtag/bus.h, src/bus/buses.c, src/cmd/cmd_initbus.c: Pull the
guts of cmd_initbus_run() out into a new helper func named
urj_bus_init(). Patch by Steve Tell.
* include/urjtag/chain.h, src/cmd/cmd_cable.c, src/tap/chain.c: Pull the
guts of cmd_cable_run() out into a new helper func named
urj_tap_chain_connect(). Patch by Steve Tell.
* configure.ac: Split out summary info into related sections.
2011-06-25 Mike Frysinger <vapier@gentoo.org>
* src/cmd/cmd_initbus.c: Drop useless double const keywords.
2011-06-24 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4: Add a new AS_VAR_PREPEND helper.
* configure.ac: Use AS_VAR_PREPEND rather than touching the var directly.
* configure.ac: Use AS_VAR_APPEND rather than touching the var directly.
* configure.ac: Do not add libusb/libftdi to LIBS directly as these are
used for all libs/apps in the tree, and we only want to use these with
specific ones. Export LIBFTDI_LIBS/LIBUSB_LIBS to Makefile.am files.
* src/Makefile.am: Use new LIBFTDI_LIBS/LIBUSB_LIBS in liburjtag.la LIBADD.
2011-06-23 Mike Frysinger <vapier@gentoo.org>
* src/cmd/Makefile.am: Tweak dependencies so things work from a fresh
checkout/build and not just after multiple builds.
2011-06-22 Mike Frysinger <vapier@gentoo.org>
* src/cmd/Makefile.am: Autogenerate command list based on the source
files and store in generated_cmd_list.h.
* src/cmd/cmd_list.h: Remove hardcoded command list and include new
autogenerated header file.
2011-06-17 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/PARTS: Add xilinx xc18v02pc44 parts by Steve Tell.
* data/xilinx/xc18v02pc44/xc18v02pc44, data/xilinx/xc18v02pc44/STEPPINGS:
Add data files for new xilinx parts.
* src/bsdl/bsdl_sysdep.h: Use config.h directly.
* src/bsdl/Makefile.am: Drop bsdl_config.h generation and dependencies.
* .gitignore: Drop bsdl_config.h from ignore list.
2011-06-11 Mike Frysinger <vapier@gentoo.org>
* src/bus/bf518f_ezbrd.c, src/bus/bf537_stamp.c, src/bus/bf561_ezkit.c,
src/svf/svf.c, src/tap/cable/gpio.c, src/tap/cable/ice100.c: Fix set
but not used warnings with gcc-4.6.
2011-05-10 Mike Frysinger <vapier@gentoo.org>
* src/tap/usbconn/libftdi.c (usbconn_ftdi_common_open): Use the new interface
option and call ftdi_set_interface with it. Patch by Michael Walle.
* src/tap/cable/generic_usbconn.h: Add new "interface" option to usage.
Patch by Michael Walle.
* data/Makefile.am, data/xilinx/PARTS, data/xilinx/xc2c32a-cp56/STEPPINGS,
data/xilinx/xc2c32a-cp56/xc2c32a-cp56, data/xilinx/xc2c32a-cv64/STEPPINGS,
data/xilinx/xc2c32a-cv64/xc2c32a-cv64, data/xilinx/xc2c32a-vq44/STEPPINGS,
data/xilinx/xc2c32a-vq44/xc2c32a-vq44: Add Xilinx CoolRunner-II info from
Michael Walle.
2011-04-30 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Force recent versions of autotools (at least ones released
in the past 5 years.
* src/bsdl/Makefile.am (OBJEXT): Do not override OBJEXT that automake sets
up itself.
* src/svf/Makefile.am (OBJEXT): Likewise.
2011-03-08 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/PARTS: Add xc3s1600e part.
* data/xilinx/xc3s100e_die/STEPPINGS: Add stepping 1.
* data/xilinx/xc3s1200e_fg320/xc3s1200e_fg320: Add part info.
* data/xilinx/xc3s1200e_fg320/STEPPINGS: Add stepping info.
* data/xilinx/xc3s1600e/xc3s1600e: Add part info.
* data/xilinx/xc3s1600e/STEPPINGS: Add stepping info.
* data/xilinx/xcf04s/STEPPINGS: Add stepping 15.
* data/Makefile.am: Add new xilinx files.
2011-03-07 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/generic.c (do_one_queued_action): Move debug statements to
debug log level. Patch by Øyvind Harboe.
2011-03-07 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/jim.c: Update get/set prototypes enough so that the code
will at least compile again.
* MAINTAINERS: Update paths to Blackfin related files.
* src/tap/detect.c (urj_tap_detect_parts): Clarify detect behavior with
parts that default to IDCODE or BYPASS since both are acceptable to the
JTAG IEEE standard.
* src/cmd/cmd_dr.c, src/cmd/cmd_signal.c: Touch up help text a bit more.
* configure.ac: Test for wchar_t type explicitly.
* src/cmd/cmd_print.c: Drop wchar_t binding to wchar_t.
2011-02-24 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/ft2232.c: Rename user-facing cable string from
"USB<=>JTAG&RS232" to "USB-JTAG-RS232" by Orasanu Lucian.
2011-02-22 Mike Frysinger <vapier@gentoo.org>
* src/cmd/cmd_print.c: Add a completion handler.
* src/cmd/cmd_debug.c: Add a completion handler.
* src/global/parse.c (urj_parse_stream): Do not call "quit" when we hit the
end of a stream. Simply return success so we can handle nested cases.
* src/global/parse.c (urj_parse_line): Include the line when debugging.
* src/cmd/cmd_get.c, src/cmd/cmd_set.c, src/cmd/cmd_test.c: Fix up help text
from an earlier commit -- make sure the literal "signal" is the 2nd arg in
the help text and for completion handlers.
* src/cmd/cmd_flashmem.c: Add a completion handler.
* src/cmd/cmd_endian.c: Likewise.
* src/cmd/cmd_readmem.c: Likewise.
2011-02-21 Mike Frysinger <vapier@gentoo.org>
* data/Makefile.am (nobase_dist_pkgdata_DATA): Add missing analog/bfin/bfin.
2011-02-19 Mike Frysinger <vapier@gentoo.org>
* src/cmd/cmd_bfin.c (cmd_bfin_run): Make sure the part is a Blackfin before
we try calling functions that don't exist and segfault.
* include/urjtag/parse.h, src/global/parse.c: Split tokenization of lines out
of urj_parse_line and into its own function urj_tokenize_lines. This lets
us reuse this code elsewhere.
* include/urjtag/cmd.h, src/apps/jtag/jtag.c, src/cmd/cmd.h,
src/cmd/cmd_cmd.c: Rewrite command completion so that sub-options to
commands may be completed as well. Those commands must implement their
own sub-completion handlers in order to support this.
* src/cmd/cmd_bfin.c, src/cmd/cmd_cable.c, src/cmd/cmd_get.c,
src/cmd/cmd_help.c, src/cmd/cmd_include.c, src/cmd/cmd_initbus.c,
src/cmd/cmd_instruction.c, src/cmd/cmd_salias.c, src/cmd/cmd_set.c,
src/cmd/cmd_shift.c, src/cmd/cmd_signal.c, src/cmd/cmd_test.c: Implement
sub-completion handlers for these commands.
2011-02-18 Mike Frysinger <vapier@gentoo.org>
* src/bfin/bfin-part.c (_bfin_part_init): Add missing "void" to param list.
* include/urjtag/parse.h: Document the various stream functions.
* include/urjtag/parse.h (urj_parse_line): Constify the "line" argument.
* src/global/parse.c (urj_parse_line): Likewise.
* configure.ac: Check for getline().
* src/global/parse.c (urj_parse_stream): Get rid of line length limitations
by using getline when it is available.
* src/part/part.c: Fix indentation style.
* src/cmd/cmd_get.c: Fix typo in help output.
* src/cmd/cmd_set.c: Fix typo in help output.
* src/cmd/cmd_test.c: Fix typo in help output.
* src/cmd/cmd_shell.c: Clean up help output.
* data/analog/bfin/bfin: Unify all common Blackfin registers/instructions.
* data/analog/bf506/bf506, data/analog/bf518/bf518, data/analog/bf527/bf527,
data/analog/bf533/bf533, data/analog/bf537/bf537, data/analog/bf538/bf538,
data/analog/bf548/bf548, data/analog/bf561/bf561, data/analog/bf592/bf592:
Drop duplicated Blackfin settings and include analog/bfin/bfin.
2011-02-17 Mike Frysinger <vapier@gentoo.org>
* data/analog/bf548/STEPPINGS: Add bf54x-0.4 support.
2011-02-09 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/usbconn.h (urj_usbconn_cable_t): Add an "interface" member.
* include/urjtag/cable.h (URJ_CABLE_PARAM_KEY_INTERFACE): New key for ftdi.
* src/tap/cable.c (cable_param): Handle new "interface" key.
* src/tap/cable/generic_usbconn.c (urj_tap_cable_generic_usbconn_connect):
Parse new "interface" cable parameter.
* src/tap/usbconn/libftd2xx.c: Use new "interface" selection.
* src/tap/usbconn/libftdi.c: Likewise.
* sysdep.h: Auto undefine "interface" for Windows.
2011-02-06 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable_list.h: Add usbjtagrs232.
* src/tap/cable/generic_usbconn_list.h: Add usbjtagrs232.
* src/tap/cable/ft2232.c: Add usbjtagrs232 support by Orasanu Lucian.
* doc/UrJTAG.txt: Note by Bogdan Petrisor for pkg-config requirement.
2010-12-19 Mike Frysinger <vapier@gentoo.org>
* data/xilinx/xc6slx45/STEPPINGS: Add stepping 2 from Sébastien Bourdeauducq.
2010-11-28 Mike Frysinger <vapier@gentoo.org>
* src/bus/ejtag.c (ejtag_bus_init): Punt unused EJALL register lookup.
Make sure EJADDRESS and EJDATA registers exist before we use them.
2010-11-19 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4 (LT_INIT): Fix typo in fallback macro.
* src/bus/blackfin.c, src/bus/blackfin.h: New unified Blackfin bus core.
* src/bus/bf518f_ezbrd.c, src/bus/bf533_stamp.c, src/bus/bf537_stamp.c,
src/bus/bf548_ezkit.c, src/bus/bf561_ezkit.c: Convert to unified
Blackfin bus core.
* configure.ac, src/bus/buses_list.h, src/bus/Makefile.am: Drop board
specific bus options and have just one "blackfin" bus option since
all the buses on top of it are small shims now.
* data/analog/bf518/bf518, data/analog/bf548/bf548: Rename a few bus
signals to use the same style as all other buses.
* configure.ac (HAVE_LIBUSB1): Only define when we detect libusb-1.0.pc.