jtag/aice: switch to command 'adapter serial'
[openocd.git] / src / jtag / startup.tcl
1 # Defines basic Tcl procs for OpenOCD JTAG module
2
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
9 }
10 }
11
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.
14 #
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.
19 #
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
26 }
27 }
28
29 #########
30
31 # TODO: power_restore and power_dropout are currently neither
32 # documented nor supported.
33
34 proc power_restore {} {
35 echo "Sensed power restore, running reset init and halting GDB."
36 reset init
37
38 # Halt GDB so user can deal with a detected power restore.
39 #
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
46 }
47 }
48
49 add_help_text power_restore "Overridable procedure run when power restore is detected. Runs 'reset init' by default."
50
51 proc power_dropout {} {
52 echo "Sensed power dropout."
53 }
54
55 #########
56
57 # TODO: srst_deasserted and srst_asserted are currently neither
58 # documented nor supported.
59
60 proc srst_deasserted {} {
61 echo "Sensed nSRST deasserted, running reset init and halting GDB."
62 reset init
63
64 # Halt GDB so user can deal with a detected reset.
65 #
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
72 }
73 }
74
75 add_help_text srst_deasserted "Overridable procedure run when srst deassert is detected. Runs 'reset init' by default."
76
77 proc srst_asserted {} {
78 echo "Sensed nSRST asserted."
79 }
80
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";
88 }
89
90 add_help_text measure_clk "Runs a test to measure the JTAG clk. Useful with RCLK / RTCK."
91
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"
98 }
99 }
100
101 proc jtag args {
102 eval default_to_jtag jtag $args
103 }
104
105 proc jtag_rclk args {
106 eval default_to_jtag jtag_rclk $args
107 }
108
109 proc jtag_ntrst_delay args {
110 eval default_to_jtag jtag_ntrst_delay $args
111 }
112
113 proc jtag_ntrst_assert_width args {
114 eval default_to_jtag jtag_ntrst_assert_width $args
115 }
116
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.
120 #
121 # FIXME phase these aids out after some releases
122 #
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"}
137 }
138 }
139
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
144 }
145
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
150 }
151
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
156 }
157
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
162 }
163
164 lappend _telnet_autocomplete_skip interface
165 proc interface args {
166 echo "DEPRECATED! use 'adapter driver' not 'interface'"
167 eval adapter driver $args
168 }
169
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
174 }
175
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
180 }
181
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
186 }
187
188 lappend _telnet_autocomplete_skip xds110_serial
189 proc xds110_serial args {
190 echo "DEPRECATED! use 'xds110 serial' not 'xds110_serial'"
191 eval xds110 serial $args
192 }
193
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
198 }
199
200 proc hla {cmd args} {
201 tailcall "hla $cmd" {*}$args
202 }
203
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
208 }
209
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
214 }
215
216 lappend _telnet_autocomplete_skip ftdi_serial
217 proc ftdi_serial args {
218 echo "DEPRECATED! use 'ftdi serial' not 'ftdi_serial'"
219 eval ftdi serial $args
220 }
221
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
226 }
227
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
232 }
233
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
238 }
239
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
244 }
245
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
250 }
251
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
256 }
257
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
262 }
263
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
268 }
269
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
274 }
275
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
280 }
281
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
286 }
287
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
292 }
293
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
298 }
299
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
304 }
305
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
310 }
311
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
316 }
317
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
322 }
323
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
328 }
329
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
334 }
335
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
340 }
341
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
346 }
347
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
352 }
353
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
358 }
359
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
364 }
365
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
370 }
371
372 lappend _telnet_autocomplete_skip vsllink_usb_serial
373 proc vsllink_usb_serial args {
374 echo "DEPRECATED! use 'vsllink usb_serial' not 'vsllink_usb_serial'"
375 eval vsllink usb_serial $args
376 }
377
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
382 }
383
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
388 }
389
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
394 }
395
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
400 }
401
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
406 }
407
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
412 }
413
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
418 }
419
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
424 }
425
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
430 }
431
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
436 }
437
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
442 }
443
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
448 }
449
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
454 }
455
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
460 }
461
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
466 }
467
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
472 }
473
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
478 }
479
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
484 }
485
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
490 }
491
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
496 }
497
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
502 }
503
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
508 }
509
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
514 }
515
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
520 }
521
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
526 }
527
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
532 }
533
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
538 }
539
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
544 }
545
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
550 }
551
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
556 }
557
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
562 }
563
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
568 }
569
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
574 }
575
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
580 }
581
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
586 }
587
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
592 }
593
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
598 }
599
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
604 }
605
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
610 }
611
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
616 }
617
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
622 }
623
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
628 }
629
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
634 }
635
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
640 }
641
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
646 }
647
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
652 }
653
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
658 }
659
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
664 }
665
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
670 }
671
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
676 }
677
678 lappend _telnet_autocomplete_skip ft232r_serial_desc
679 proc ft232r_serial_desc args {
680 echo "DEPRECATED! use 'ft232r serial_desc' not 'ft232r_serial_desc'"
681 eval ft232r serial_desc $args
682 }
683
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
688 }
689
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
694 }
695
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
700 }
701
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
706 }
707
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
712 }
713
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
718 }
719
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
724 }
725
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
730 }
731
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
736 }
737
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
742 }
743
744 # END MIGRATION AIDS

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)