Combine register lists of smp targets.
[openocd.git] / src / jtag / startup.tcl
blobee116269e95b22024507b5d9aec2c4ecbede683a
1 # Defines basic Tcl procs for OpenOCD JTAG module
3 # Executed during "init". Can be overridden
4 # by board/target/... scripts
5 proc jtag_init {} {
6 if {[catch {jtag arp_init} err]!=0} {
7 # try resetting additionally
8 init_reset startup
12 # This reset logic may be overridden by board/target/... scripts as needed
13 # to provide a reset that, if possible, is close to a power-up reset.
15 # Exit requirements include: (a) JTAG must be working, (b) the scan
16 # chain was validated with "jtag arp_init" (or equivalent), (c) nothing
17 # stays in reset. No TAP-specific scans were performed. It's OK if
18 # some targets haven't been reset yet; they may need TAP-specific scans.
20 # The "mode" values include: halt, init, run (from "reset" command);
21 # startup (at OpenOCD server startup, when JTAG may not yet work); and
22 # potentially more (for reset types like cold, warm, etc)
23 proc init_reset { mode } {
24 if {[using_jtag]} {
25 jtag arp_init-reset
29 #########
31 # TODO: power_restore and power_dropout are currently neither
32 # documented nor supported.
34 proc power_restore {} {
35 echo "Sensed power restore, running reset init and halting GDB."
36 reset init
38 # Halt GDB so user can deal with a detected power restore.
40 # After GDB is halted, then output is no longer forwarded
41 # to the GDB console.
42 set targets [target names]
43 foreach t $targets {
44 # New event script.
45 $t invoke-event arp_halt_gdb
49 add_help_text power_restore "Overridable procedure run when power restore is detected. Runs 'reset init' by default."
51 proc power_dropout {} {
52 echo "Sensed power dropout."
55 #########
57 # TODO: srst_deasserted and srst_asserted are currently neither
58 # documented nor supported.
60 proc srst_deasserted {} {
61 echo "Sensed nSRST deasserted, running reset init and halting GDB."
62 reset init
64 # Halt GDB so user can deal with a detected reset.
66 # After GDB is halted, then output is no longer forwarded
67 # to the GDB console.
68 set targets [target names]
69 foreach t $targets {
70 # New event script.
71 $t invoke-event arp_halt_gdb
75 add_help_text srst_deasserted "Overridable procedure run when srst deassert is detected. Runs 'reset init' by default."
77 proc srst_asserted {} {
78 echo "Sensed nSRST asserted."
81 # measure actual JTAG clock
82 proc measure_clk {} {
83 set start_time [ms];
84 set iterations 10000000;
85 runtest $iterations;
86 set speed [expr "$iterations.0 / ([ms] - $start_time)"]
87 echo "Running at more than $speed kHz";
90 add_help_text measure_clk "Runs a test to measure the JTAG clk. Useful with RCLK / RTCK."
92 proc default_to_jtag { f args } {
93 set current_transport [transport select]
94 if {[using_jtag]} {
95 eval $f $args
96 } {
97 error "session transport is \"$current_transport\" but your config requires JTAG"
101 proc jtag args {
102 eval default_to_jtag jtag $args
105 proc jtag_rclk args {
106 eval default_to_jtag jtag_rclk $args
109 proc jtag_ntrst_delay args {
110 eval default_to_jtag jtag_ntrst_delay $args
113 proc jtag_ntrst_assert_width args {
114 eval default_to_jtag jtag_ntrst_assert_width $args
117 # BEGIN MIGRATION AIDS ... these adapter operations originally had
118 # JTAG-specific names despite the fact that the operations were not
119 # specific to JTAG, or otherwise had troublesome/misleading names.
121 # FIXME phase these aids out after some releases
123 lappend _telnet_autocomplete_skip jtag_reset
124 proc jtag_reset args {
125 echo "DEPRECATED! use 'adapter \[de\]assert' not 'jtag_reset'"
126 switch $args {
127 "0 0"
128 {eval adapter deassert trst deassert srst}
129 "0 1"
130 {eval adapter deassert trst assert srst}
131 "1 0"
132 {eval adapter assert trst deassert srst}
133 "1 1"
134 {eval adapter assert trst assert srst}
135 default
136 {return -code 1 -level 1 "jtag_reset: syntax error"}
140 lappend _telnet_autocomplete_skip adapter_khz
141 proc adapter_khz args {
142 echo "DEPRECATED! use 'adapter speed' not 'adapter_khz'"
143 eval adapter speed $args
146 lappend _telnet_autocomplete_skip adapter_name
147 proc adapter_name args {
148 echo "DEPRECATED! use 'adapter name' not 'adapter_name'"
149 eval adapter name $args
152 lappend _telnet_autocomplete_skip adapter_nsrst_delay
153 proc adapter_nsrst_delay args {
154 echo "DEPRECATED! use 'adapter srst delay' not 'adapter_nsrst_delay'"
155 eval adapter srst delay $args
158 lappend _telnet_autocomplete_skip adapter_nsrst_assert_width
159 proc adapter_nsrst_assert_width args {
160 echo "DEPRECATED! use 'adapter srst pulse_width' not 'adapter_nsrst_assert_width'"
161 eval adapter srst pulse_width $args
164 lappend _telnet_autocomplete_skip interface
165 proc interface args {
166 echo "DEPRECATED! use 'adapter driver' not 'interface'"
167 eval adapter driver $args
170 lappend _telnet_autocomplete_skip interface_transports
171 proc interface_transports args {
172 echo "DEPRECATED! use 'adapter transports' not 'interface_transports'"
173 eval adapter transports $args
176 lappend _telnet_autocomplete_skip interface_list
177 proc interface_list args {
178 echo "DEPRECATED! use 'adapter list' not 'interface_list'"
179 eval adapter list $args
182 lappend _telnet_autocomplete_skip ftdi_location
183 proc ftdi_location args {
184 echo "DEPRECATED! use 'adapter usb location' not 'ftdi_location'"
185 eval adapter usb location $args
188 lappend _telnet_autocomplete_skip xds110_serial
189 proc xds110_serial args {
190 echo "DEPRECATED! use 'adapter serial' not 'xds110_serial'"
191 eval adapter serial $args
194 lappend _telnet_autocomplete_skip xds110_supply_voltage
195 proc xds110_supply_voltage args {
196 echo "DEPRECATED! use 'xds110 supply' not 'xds110_supply_voltage'"
197 eval xds110 supply $args
200 proc hla {cmd args} {
201 tailcall "hla $cmd" {*}$args
204 lappend _telnet_autocomplete_skip "hla newtap"
205 proc "hla newtap" {args} {
206 echo "DEPRECATED! use 'swj_newdap' not 'hla newtap'"
207 eval swj_newdap $args
210 lappend _telnet_autocomplete_skip ftdi_device_desc
211 proc ftdi_device_desc args {
212 echo "DEPRECATED! use 'ftdi device_desc' not 'ftdi_device_desc'"
213 eval ftdi device_desc $args
216 lappend _telnet_autocomplete_skip ftdi_serial
217 proc ftdi_serial args {
218 echo "DEPRECATED! use 'adapter serial' not 'ftdi_serial'"
219 eval adapter serial $args
222 lappend _telnet_autocomplete_skip ftdi_channel
223 proc ftdi_channel args {
224 echo "DEPRECATED! use 'ftdi channel' not 'ftdi_channel'"
225 eval ftdi channel $args
228 lappend _telnet_autocomplete_skip ftdi_layout_init
229 proc ftdi_layout_init args {
230 echo "DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'"
231 eval ftdi layout_init $args
234 lappend _telnet_autocomplete_skip ftdi_layout_signal
235 proc ftdi_layout_signal args {
236 echo "DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'"
237 eval ftdi layout_signal $args
240 lappend _telnet_autocomplete_skip ftdi_set_signal
241 proc ftdi_set_signal args {
242 echo "DEPRECATED! use 'ftdi set_signal' not 'ftdi_set_signal'"
243 eval ftdi set_signal $args
246 lappend _telnet_autocomplete_skip ftdi_get_signal
247 proc ftdi_get_signal args {
248 echo "DEPRECATED! use 'ftdi get_signal' not 'ftdi_get_signal'"
249 eval ftdi get_signal $args
252 lappend _telnet_autocomplete_skip ftdi_vid_pid
253 proc ftdi_vid_pid args {
254 echo "DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'"
255 eval ftdi vid_pid $args
258 lappend _telnet_autocomplete_skip ftdi_tdo_sample_edge
259 proc ftdi_tdo_sample_edge args {
260 echo "DEPRECATED! use 'ftdi tdo_sample_edge' not 'ftdi_tdo_sample_edge'"
261 eval ftdi tdo_sample_edge $args
264 lappend _telnet_autocomplete_skip remote_bitbang_host
265 proc remote_bitbang_host args {
266 echo "DEPRECATED! use 'remote_bitbang host' not 'remote_bitbang_host'"
267 eval remote_bitbang host $args
270 lappend _telnet_autocomplete_skip remote_bitbang_port
271 proc remote_bitbang_port args {
272 echo "DEPRECATED! use 'remote_bitbang port' not 'remote_bitbang_port'"
273 eval remote_bitbang port $args
276 lappend _telnet_autocomplete_skip openjtag_device_desc
277 proc openjtag_device_desc args {
278 echo "DEPRECATED! use 'openjtag device_desc' not 'openjtag_device_desc'"
279 eval openjtag device_desc $args
282 lappend _telnet_autocomplete_skip openjtag_variant
283 proc openjtag_variant args {
284 echo "DEPRECATED! use 'openjtag variant' not 'openjtag_variant'"
285 eval openjtag variant $args
288 lappend _telnet_autocomplete_skip parport_port
289 proc parport_port args {
290 echo "DEPRECATED! use 'parport port' not 'parport_port'"
291 eval parport port $args
294 lappend _telnet_autocomplete_skip parport_cable
295 proc parport_cable args {
296 echo "DEPRECATED! use 'parport cable' not 'parport_cable'"
297 eval parport cable $args
300 lappend _telnet_autocomplete_skip parport_write_on_exit
301 proc parport_write_on_exit args {
302 echo "DEPRECATED! use 'parport write_on_exit' not 'parport_write_on_exit'"
303 eval parport write_on_exit $args
306 lappend _telnet_autocomplete_skip parport_toggling_time
307 proc parport_toggling_time args {
308 echo "DEPRECATED! use 'parport toggling_time' not 'parport_toggling_time'"
309 eval parport toggling_time $args
312 lappend _telnet_autocomplete_skip jtag_dpi_set_port
313 proc jtag_dpi_set_port args {
314 echo "DEPRECATED! use 'jtag_dpi set_port' not 'jtag_dpi_set_port'"
315 eval jtag_dpi set_port $args
318 lappend _telnet_autocomplete_skip jtag_dpi_set_address
319 proc jtag_dpi_set_address args {
320 echo "DEPRECATED! use 'jtag_dpi set_address' not 'jtag_dpi_set_address'"
321 eval jtag_dpi set_address $args
324 lappend _telnet_autocomplete_skip jtag_vpi_set_port
325 proc jtag_vpi_set_port args {
326 echo "DEPRECATED! use 'jtag_vpi set_port' not 'jtag_vpi_set_port'"
327 eval jtag_vpi set_port $args
330 lappend _telnet_autocomplete_skip jtag_vpi_set_address
331 proc jtag_vpi_set_address args {
332 echo "DEPRECATED! use 'jtag_vpi set_address' not 'jtag_vpi_set_address'"
333 eval jtag_vpi set_address $args
336 lappend _telnet_autocomplete_skip jtag_vpi_stop_sim_on_exit
337 proc jtag_vpi_stop_sim_on_exit args {
338 echo "DEPRECATED! use 'jtag_vpi stop_sim_on_exit' not 'jtag_vpi_stop_sim_on_exit'"
339 eval jtag_vpi stop_sim_on_exit $args
342 lappend _telnet_autocomplete_skip presto_serial
343 proc presto_serial args {
344 echo "DEPRECATED! use 'presto serial' not 'presto_serial'"
345 eval presto serial $args
348 lappend _telnet_autocomplete_skip xlnx_pcie_xvc_config
349 proc xlnx_pcie_xvc_config args {
350 echo "DEPRECATED! use 'xlnx_pcie_xvc config' not 'xlnx_pcie_xvc_config'"
351 eval xlnx_pcie_xvc config $args
354 lappend _telnet_autocomplete_skip ulink_download_firmware
355 proc ulink_download_firmware args {
356 echo "DEPRECATED! use 'ulink download_firmware' not 'ulink_download_firmware'"
357 eval ulink download_firmware $args
360 lappend _telnet_autocomplete_skip vsllink_usb_vid
361 proc vsllink_usb_vid args {
362 echo "DEPRECATED! use 'vsllink usb_vid' not 'vsllink_usb_vid'"
363 eval vsllink usb_vid $args
366 lappend _telnet_autocomplete_skip vsllink_usb_pid
367 proc vsllink_usb_pid args {
368 echo "DEPRECATED! use 'vsllink usb_pid' not 'vsllink_usb_pid'"
369 eval vsllink usb_pid $args
372 lappend _telnet_autocomplete_skip vsllink_usb_serial
373 proc vsllink_usb_serial args {
374 echo "DEPRECATED! use 'adapter serial' not 'vsllink_usb_serial'"
375 eval adapter serial $args
378 lappend _telnet_autocomplete_skip vsllink_usb_bulkin
379 proc vsllink_usb_bulkin args {
380 echo "DEPRECATED! use 'vsllink usb_bulkin' not 'vsllink_usb_bulkin'"
381 eval vsllink usb_bulkin $args
384 lappend _telnet_autocomplete_skip vsllink_usb_bulkout
385 proc vsllink_usb_bulkout args {
386 echo "DEPRECATED! use 'vsllink usb_bulkout' not 'vsllink_usb_bulkout'"
387 eval vsllink usb_bulkout $args
390 lappend _telnet_autocomplete_skip vsllink_usb_interface
391 proc vsllink_usb_interface args {
392 echo "DEPRECATED! use 'vsllink usb_interface' not 'vsllink_usb_interface'"
393 eval vsllink usb_interface $args
396 lappend _telnet_autocomplete_skip bcm2835gpio_jtag_nums
397 proc bcm2835gpio_jtag_nums args {
398 echo "DEPRECATED! use 'bcm2835gpio jtag_nums' not 'bcm2835gpio_jtag_nums'"
399 eval bcm2835gpio jtag_nums $args
402 lappend _telnet_autocomplete_skip bcm2835gpio_tck_num
403 proc bcm2835gpio_tck_num args {
404 echo "DEPRECATED! use 'bcm2835gpio tck_num' not 'bcm2835gpio_tck_num'"
405 eval bcm2835gpio tck_num $args
408 lappend _telnet_autocomplete_skip bcm2835gpio_tms_num
409 proc bcm2835gpio_tms_num args {
410 echo "DEPRECATED! use 'bcm2835gpio tms_num' not 'bcm2835gpio_tms_num'"
411 eval bcm2835gpio tms_num $args
414 lappend _telnet_autocomplete_skip bcm2835gpio_tdo_num
415 proc bcm2835gpio_tdo_num args {
416 echo "DEPRECATED! use 'bcm2835gpio tdo_num' not 'bcm2835gpio_tdo_num'"
417 eval bcm2835gpio tdo_num $args
420 lappend _telnet_autocomplete_skip bcm2835gpio_tdi_num
421 proc bcm2835gpio_tdi_num args {
422 echo "DEPRECATED! use 'bcm2835gpio tdi_num' not 'bcm2835gpio_tdi_num'"
423 eval bcm2835gpio tdi_num $args
426 lappend _telnet_autocomplete_skip bcm2835gpio_swd_nums
427 proc bcm2835gpio_swd_nums args {
428 echo "DEPRECATED! use 'bcm2835gpio swd_nums' not 'bcm2835gpio_swd_nums'"
429 eval bcm2835gpio swd_nums $args
432 lappend _telnet_autocomplete_skip bcm2835gpio_swclk_num
433 proc bcm2835gpio_swclk_num args {
434 echo "DEPRECATED! use 'bcm2835gpio swclk_num' not 'bcm2835gpio_swclk_num'"
435 eval bcm2835gpio swclk_num $args
438 lappend _telnet_autocomplete_skip bcm2835gpio_swdio_num
439 proc bcm2835gpio_swdio_num args {
440 echo "DEPRECATED! use 'bcm2835gpio swdio_num' not 'bcm2835gpio_swdio_num'"
441 eval bcm2835gpio swdio_num $args
444 lappend _telnet_autocomplete_skip bcm2835gpio_swdio_dir_num
445 proc bcm2835gpio_swdio_dir_num args {
446 echo "DEPRECATED! use 'bcm2835gpio swdio_dir_num' not 'bcm2835gpio_swdio_dir_num'"
447 eval bcm2835gpio swdio_dir_num $args
450 lappend _telnet_autocomplete_skip bcm2835gpio_srst_num
451 proc bcm2835gpio_srst_num args {
452 echo "DEPRECATED! use 'bcm2835gpio srst_num' not 'bcm2835gpio_srst_num'"
453 eval bcm2835gpio srst_num $args
456 lappend _telnet_autocomplete_skip bcm2835gpio_trst_num
457 proc bcm2835gpio_trst_num args {
458 echo "DEPRECATED! use 'bcm2835gpio trst_num' not 'bcm2835gpio_trst_num'"
459 eval bcm2835gpio trst_num $args
462 lappend _telnet_autocomplete_skip bcm2835gpio_speed_coeffs
463 proc bcm2835gpio_speed_coeffs args {
464 echo "DEPRECATED! use 'bcm2835gpio speed_coeffs' not 'bcm2835gpio_speed_coeffs'"
465 eval bcm2835gpio speed_coeffs $args
468 lappend _telnet_autocomplete_skip bcm2835gpio_peripheral_base
469 proc bcm2835gpio_peripheral_base args {
470 echo "DEPRECATED! use 'bcm2835gpio peripheral_base' not 'bcm2835gpio_peripheral_base'"
471 eval bcm2835gpio peripheral_base $args
474 lappend _telnet_autocomplete_skip linuxgpiod_jtag_nums
475 proc linuxgpiod_jtag_nums args {
476 echo "DEPRECATED! use 'linuxgpiod jtag_nums' not 'linuxgpiod_jtag_nums'"
477 eval linuxgpiod jtag_nums $args
480 lappend _telnet_autocomplete_skip linuxgpiod_tck_num
481 proc linuxgpiod_tck_num args {
482 echo "DEPRECATED! use 'linuxgpiod tck_num' not 'linuxgpiod_tck_num'"
483 eval linuxgpiod tck_num $args
486 lappend _telnet_autocomplete_skip linuxgpiod_tms_num
487 proc linuxgpiod_tms_num args {
488 echo "DEPRECATED! use 'linuxgpiod tms_num' not 'linuxgpiod_tms_num'"
489 eval linuxgpiod tms_num $args
492 lappend _telnet_autocomplete_skip linuxgpiod_tdo_num
493 proc linuxgpiod_tdo_num args {
494 echo "DEPRECATED! use 'linuxgpiod tdo_num' not 'linuxgpiod_tdo_num'"
495 eval linuxgpiod tdo_num $args
498 lappend _telnet_autocomplete_skip linuxgpiod_tdi_num
499 proc linuxgpiod_tdi_num args {
500 echo "DEPRECATED! use 'linuxgpiod tdi_num' not 'linuxgpiod_tdi_num'"
501 eval linuxgpiod tdi_num $args
504 lappend _telnet_autocomplete_skip linuxgpiod_srst_num
505 proc linuxgpiod_srst_num args {
506 echo "DEPRECATED! use 'linuxgpiod srst_num' not 'linuxgpiod_srst_num'"
507 eval linuxgpiod srst_num $args
510 lappend _telnet_autocomplete_skip linuxgpiod_trst_num
511 proc linuxgpiod_trst_num args {
512 echo "DEPRECATED! use 'linuxgpiod trst_num' not 'linuxgpiod_trst_num'"
513 eval linuxgpiod trst_num $args
516 lappend _telnet_autocomplete_skip linuxgpiod_swd_nums
517 proc linuxgpiod_swd_nums args {
518 echo "DEPRECATED! use 'linuxgpiod swd_nums' not 'linuxgpiod_swd_nums'"
519 eval linuxgpiod swd_nums $args
522 lappend _telnet_autocomplete_skip linuxgpiod_swclk_num
523 proc linuxgpiod_swclk_num args {
524 echo "DEPRECATED! use 'linuxgpiod swclk_num' not 'linuxgpiod_swclk_num'"
525 eval linuxgpiod swclk_num $args
528 lappend _telnet_autocomplete_skip linuxgpiod_swdio_num
529 proc linuxgpiod_swdio_num args {
530 echo "DEPRECATED! use 'linuxgpiod swdio_num' not 'linuxgpiod_swdio_num'"
531 eval linuxgpiod swdio_num $args
534 lappend _telnet_autocomplete_skip linuxgpiod_led_num
535 proc linuxgpiod_led_num args {
536 echo "DEPRECATED! use 'linuxgpiod led_num' not 'linuxgpiod_led_num'"
537 eval linuxgpiod led_num $args
540 lappend _telnet_autocomplete_skip linuxgpiod_gpiochip
541 proc linuxgpiod_gpiochip args {
542 echo "DEPRECATED! use 'linuxgpiod gpiochip' not 'linuxgpiod_gpiochip'"
543 eval linuxgpiod gpiochip $args
546 lappend _telnet_autocomplete_skip sysfsgpio_jtag_nums
547 proc sysfsgpio_jtag_nums args {
548 echo "DEPRECATED! use 'sysfsgpio jtag_nums' not 'sysfsgpio_jtag_nums'"
549 eval sysfsgpio jtag_nums $args
552 lappend _telnet_autocomplete_skip sysfsgpio_tck_num
553 proc sysfsgpio_tck_num args {
554 echo "DEPRECATED! use 'sysfsgpio tck_num' not 'sysfsgpio_tck_num'"
555 eval sysfsgpio tck_num $args
558 lappend _telnet_autocomplete_skip sysfsgpio_tms_num
559 proc sysfsgpio_tms_num args {
560 echo "DEPRECATED! use 'sysfsgpio tms_num' not 'sysfsgpio_tms_num'"
561 eval sysfsgpio tms_num $args
564 lappend _telnet_autocomplete_skip sysfsgpio_tdo_num
565 proc sysfsgpio_tdo_num args {
566 echo "DEPRECATED! use 'sysfsgpio tdo_num' not 'sysfsgpio_tdo_num'"
567 eval sysfsgpio tdo_num $args
570 lappend _telnet_autocomplete_skip sysfsgpio_tdi_num
571 proc sysfsgpio_tdi_num args {
572 echo "DEPRECATED! use 'sysfsgpio tdi_num' not 'sysfsgpio_tdi_num'"
573 eval sysfsgpio tdi_num $args
576 lappend _telnet_autocomplete_skip sysfsgpio_srst_num
577 proc sysfsgpio_srst_num args {
578 echo "DEPRECATED! use 'sysfsgpio srst_num' not 'sysfsgpio_srst_num'"
579 eval sysfsgpio srst_num $args
582 lappend _telnet_autocomplete_skip sysfsgpio_trst_num
583 proc sysfsgpio_trst_num args {
584 echo "DEPRECATED! use 'sysfsgpio trst_num' not 'sysfsgpio_trst_num'"
585 eval sysfsgpio trst_num $args
588 lappend _telnet_autocomplete_skip sysfsgpio_swd_nums
589 proc sysfsgpio_swd_nums args {
590 echo "DEPRECATED! use 'sysfsgpio swd_nums' not 'sysfsgpio_swd_nums'"
591 eval sysfsgpio swd_nums $args
594 lappend _telnet_autocomplete_skip sysfsgpio_swclk_num
595 proc sysfsgpio_swclk_num args {
596 echo "DEPRECATED! use 'sysfsgpio swclk_num' not 'sysfsgpio_swclk_num'"
597 eval sysfsgpio swclk_num $args
600 lappend _telnet_autocomplete_skip sysfsgpio_swdio_num
601 proc sysfsgpio_swdio_num args {
602 echo "DEPRECATED! use 'sysfsgpio swdio_num' not 'sysfsgpio_swdio_num'"
603 eval sysfsgpio swdio_num $args
606 lappend _telnet_autocomplete_skip buspirate_adc
607 proc buspirate_adc args {
608 echo "DEPRECATED! use 'buspirate adc' not 'buspirate_adc'"
609 eval buspirate adc $args
612 lappend _telnet_autocomplete_skip buspirate_vreg
613 proc buspirate_vreg args {
614 echo "DEPRECATED! use 'buspirate vreg' not 'buspirate_vreg'"
615 eval buspirate vreg $args
618 lappend _telnet_autocomplete_skip buspirate_pullup
619 proc buspirate_pullup args {
620 echo "DEPRECATED! use 'buspirate pullup' not 'buspirate_pullup'"
621 eval buspirate pullup $args
624 lappend _telnet_autocomplete_skip buspirate_led
625 proc buspirate_led args {
626 echo "DEPRECATED! use 'buspirate led' not 'buspirate_led'"
627 eval buspirate led $args
630 lappend _telnet_autocomplete_skip buspirate_speed
631 proc buspirate_speed args {
632 echo "DEPRECATED! use 'buspirate speed' not 'buspirate_speed'"
633 eval buspirate speed $args
636 lappend _telnet_autocomplete_skip buspirate_mode
637 proc buspirate_mode args {
638 echo "DEPRECATED! use 'buspirate mode' not 'buspirate_mode'"
639 eval buspirate mode $args
642 lappend _telnet_autocomplete_skip buspirate_port
643 proc buspirate_port args {
644 echo "DEPRECATED! use 'buspirate port' not 'buspirate_port'"
645 eval buspirate port $args
648 lappend _telnet_autocomplete_skip usb_blaster_device_desc
649 proc usb_blaster_device_desc args {
650 echo "DEPRECATED! use 'usb_blaster device_desc' not 'usb_blaster_device_desc'"
651 eval usb_blaster device_desc $args
654 lappend _telnet_autocomplete_skip usb_blaster_vid_pid
655 proc usb_blaster_vid_pid args {
656 echo "DEPRECATED! use 'usb_blaster vid_pid' not 'usb_blaster_vid_pid'"
657 eval usb_blaster vid_pid $args
660 lappend _telnet_autocomplete_skip usb_blaster_lowlevel_driver
661 proc usb_blaster_lowlevel_driver args {
662 echo "DEPRECATED! use 'usb_blaster lowlevel_driver' not 'usb_blaster_lowlevel_driver'"
663 eval usb_blaster lowlevel_driver $args
666 lappend _telnet_autocomplete_skip usb_blaster_pin
667 proc usb_blaster_pin args {
668 echo "DEPRECATED! use 'usb_blaster pin' not 'usb_blaster_pin'"
669 eval usb_blaster pin $args
672 lappend _telnet_autocomplete_skip usb_blaster_firmware
673 proc usb_blaster_firmware args {
674 echo "DEPRECATED! use 'usb_blaster firmware' not 'usb_blaster_firmware'"
675 eval usb_blaster firmware $args
678 lappend _telnet_autocomplete_skip ft232r_serial_desc
679 proc ft232r_serial_desc args {
680 echo "DEPRECATED! use 'adapter serial_desc' not 'ft232r_serial_desc'"
681 eval adapter serial_desc $args
684 lappend _telnet_autocomplete_skip ft232r_vid_pid
685 proc ft232r_vid_pid args {
686 echo "DEPRECATED! use 'ft232r vid_pid' not 'ft232r_vid_pid'"
687 eval ft232r vid_pid $args
690 lappend _telnet_autocomplete_skip ft232r_jtag_nums
691 proc ft232r_jtag_nums args {
692 echo "DEPRECATED! use 'ft232r jtag_nums' not 'ft232r_jtag_nums'"
693 eval ft232r jtag_nums $args
696 lappend _telnet_autocomplete_skip ft232r_tck_num
697 proc ft232r_tck_num args {
698 echo "DEPRECATED! use 'ft232r tck_num' not 'ft232r_tck_num'"
699 eval ft232r tck_num $args
702 lappend _telnet_autocomplete_skip ft232r_tms_num
703 proc ft232r_tms_num args {
704 echo "DEPRECATED! use 'ft232r tms_num' not 'ft232r_tms_num'"
705 eval ft232r tms_num $args
708 lappend _telnet_autocomplete_skip ft232r_tdo_num
709 proc ft232r_tdo_num args {
710 echo "DEPRECATED! use 'ft232r tdo_num' not 'ft232r_tdo_num'"
711 eval ft232r tdo_num $args
714 lappend _telnet_autocomplete_skip ft232r_tdi_num
715 proc ft232r_tdi_num args {
716 echo "DEPRECATED! use 'ft232r tdi_num' not 'ft232r_tdi_num'"
717 eval ft232r tdi_num $args
720 lappend _telnet_autocomplete_skip ft232r_srst_num
721 proc ft232r_srst_num args {
722 echo "DEPRECATED! use 'ft232r srst_num' not 'ft232r_srst_num'"
723 eval ft232r srst_num $args
726 lappend _telnet_autocomplete_skip ft232r_trst_num
727 proc ft232r_trst_num args {
728 echo "DEPRECATED! use 'ft232r trst_num' not 'ft232r_trst_num'"
729 eval ft232r trst_num $args
732 lappend _telnet_autocomplete_skip ft232r_restore_serial
733 proc ft232r_restore_serial args {
734 echo "DEPRECATED! use 'ft232r restore_serial' not 'ft232r_restore_serial'"
735 eval ft232r restore_serial $args
738 lappend _telnet_autocomplete_skip "aice serial"
739 proc "aice serial" {args} {
740 echo "DEPRECATED! use 'adapter serial' not 'aice serial'"
741 eval adapter serial $args
744 lappend _telnet_autocomplete_skip cmsis_dap_serial
745 proc cmsis_dap_serial args {
746 echo "DEPRECATED! use 'adapter serial' not 'cmsis_dap_serial'"
747 eval adapter serial $args
750 lappend _telnet_autocomplete_skip "ft232r serial_desc"
751 proc "ft232r serial_desc" {args} {
752 echo "DEPRECATED! use 'adapter serial' not 'ft232r serial_desc'"
753 eval adapter serial $args
756 lappend _telnet_autocomplete_skip "ftdi serial"
757 proc "ftdi serial" {args} {
758 echo "DEPRECATED! use 'adapter serial' not 'ftdi serial'"
759 eval adapter serial $args
762 lappend _telnet_autocomplete_skip hla_serial
763 proc hla_serial args {
764 echo "DEPRECATED! use 'adapter serial' not 'hla_serial'"
765 eval adapter serial $args
768 lappend _telnet_autocomplete_skip "jlink serial"
769 proc "jlink serial" {args} {
770 echo "DEPRECATED! use 'adapter serial' not 'jlink serial'"
771 eval adapter serial $args
774 lappend _telnet_autocomplete_skip kitprog_serial
775 proc kitprog_serial args {
776 echo "DEPRECATED! use 'adapter serial' not 'kitprog_serial'"
777 eval adapter serial $args
780 lappend _telnet_autocomplete_skip "presto serial"
781 proc "presto serial" {args} {
782 echo "DEPRECATED! use 'adapter serial' not 'presto serial'"
783 eval adapter serial $args
786 lappend _telnet_autocomplete_skip "st-link serial"
787 proc "st-link serial" {args} {
788 echo "DEPRECATED! use 'adapter serial' not 'st-link serial'"
789 eval adapter serial $args
792 lappend _telnet_autocomplete_skip "vsllink usb_serial"
793 proc "vsllink usb_serial" {args} {
794 echo "DEPRECATED! use 'adapter serial' not 'vsllink usb_serial'"
795 eval adapter serial $args
798 lappend _telnet_autocomplete_skip "xds110 serial"
799 proc "xds110 serial" {args} {
800 echo "DEPRECATED! use 'adapter serial' not 'xds110 serial'"
801 eval adapter serial $args
804 # END MIGRATION AIDS