flash/nor: remove useless setting of bus_width and chip_width
[openocd.git] / src / jtag / startup.tcl
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # Defines basic Tcl procs for OpenOCD JTAG module
4
5 # Executed during "init". Can be overridden
6 # by board/target/... scripts
7 proc jtag_init {} {
8 if {[catch {jtag arp_init} err]!=0} {
9 # try resetting additionally
10 init_reset startup
11 }
12 }
13
14 # This reset logic may be overridden by board/target/... scripts as needed
15 # to provide a reset that, if possible, is close to a power-up reset.
16 #
17 # Exit requirements include: (a) JTAG must be working, (b) the scan
18 # chain was validated with "jtag arp_init" (or equivalent), (c) nothing
19 # stays in reset. No TAP-specific scans were performed. It's OK if
20 # some targets haven't been reset yet; they may need TAP-specific scans.
21 #
22 # The "mode" values include: halt, init, run (from "reset" command);
23 # startup (at OpenOCD server startup, when JTAG may not yet work); and
24 # potentially more (for reset types like cold, warm, etc)
25 proc init_reset { mode } {
26 if {[using_jtag]} {
27 jtag arp_init-reset
28 }
29 }
30
31 #########
32
33 # TODO: power_restore and power_dropout are currently neither
34 # documented nor supported.
35
36 proc power_restore {} {
37 echo "Sensed power restore, running reset init and halting GDB."
38 reset init
39
40 # Halt GDB so user can deal with a detected power restore.
41 #
42 # After GDB is halted, then output is no longer forwarded
43 # to the GDB console.
44 set targets [target names]
45 foreach t $targets {
46 # New event script.
47 $t invoke-event arp_halt_gdb
48 }
49 }
50
51 add_help_text power_restore "Overridable procedure run when power restore is detected. Runs 'reset init' by default."
52
53 proc power_dropout {} {
54 echo "Sensed power dropout."
55 }
56
57 #########
58
59 # TODO: srst_deasserted and srst_asserted are currently neither
60 # documented nor supported.
61
62 proc srst_deasserted {} {
63 echo "Sensed nSRST deasserted, running reset init and halting GDB."
64 reset init
65
66 # Halt GDB so user can deal with a detected reset.
67 #
68 # After GDB is halted, then output is no longer forwarded
69 # to the GDB console.
70 set targets [target names]
71 foreach t $targets {
72 # New event script.
73 $t invoke-event arp_halt_gdb
74 }
75 }
76
77 add_help_text srst_deasserted "Overridable procedure run when srst deassert is detected. Runs 'reset init' by default."
78
79 proc srst_asserted {} {
80 echo "Sensed nSRST asserted."
81 }
82
83 # measure actual JTAG clock
84 proc measure_clk {} {
85 set start_time [ms];
86 set iterations 10000000;
87 runtest $iterations;
88 set speed [expr "$iterations.0 / ([ms] - $start_time)"]
89 echo "Running at more than $speed kHz";
90 }
91
92 add_help_text measure_clk "Runs a test to measure the JTAG clk. Useful with RCLK / RTCK."
93
94 proc default_to_jtag { f args } {
95 set current_transport [transport select]
96 if {[using_jtag]} {
97 eval $f $args
98 } {
99 error "session transport is \"$current_transport\" but your config requires JTAG"
100 }
101 }
102
103 proc jtag args {
104 eval default_to_jtag jtag $args
105 }
106
107 proc jtag_rclk args {
108 eval default_to_jtag jtag_rclk $args
109 }
110
111 proc jtag_ntrst_delay args {
112 eval default_to_jtag jtag_ntrst_delay $args
113 }
114
115 proc jtag_ntrst_assert_width args {
116 eval default_to_jtag jtag_ntrst_assert_width $args
117 }
118
119 # BEGIN MIGRATION AIDS ... these adapter operations originally had
120 # JTAG-specific names despite the fact that the operations were not
121 # specific to JTAG, or otherwise had troublesome/misleading names.
122 #
123 # FIXME phase these aids out after some releases
124 #
125 lappend _telnet_autocomplete_skip jtag_reset
126 proc jtag_reset args {
127 echo "DEPRECATED! use 'adapter \[de\]assert' not 'jtag_reset'"
128 switch $args {
129 "0 0"
130 {eval adapter deassert trst deassert srst}
131 "0 1"
132 {eval adapter deassert trst assert srst}
133 "1 0"
134 {eval adapter assert trst deassert srst}
135 "1 1"
136 {eval adapter assert trst assert srst}
137 default
138 {return -code 1 -level 1 "jtag_reset: syntax error"}
139 }
140 }
141
142 lappend _telnet_autocomplete_skip adapter_khz
143 proc adapter_khz args {
144 echo "DEPRECATED! use 'adapter speed' not 'adapter_khz'"
145 eval adapter speed $args
146 }
147
148 lappend _telnet_autocomplete_skip adapter_name
149 proc adapter_name args {
150 echo "DEPRECATED! use 'adapter name' not 'adapter_name'"
151 eval adapter name $args
152 }
153
154 lappend _telnet_autocomplete_skip adapter_nsrst_delay
155 proc adapter_nsrst_delay args {
156 echo "DEPRECATED! use 'adapter srst delay' not 'adapter_nsrst_delay'"
157 eval adapter srst delay $args
158 }
159
160 lappend _telnet_autocomplete_skip adapter_nsrst_assert_width
161 proc adapter_nsrst_assert_width args {
162 echo "DEPRECATED! use 'adapter srst pulse_width' not 'adapter_nsrst_assert_width'"
163 eval adapter srst pulse_width $args
164 }
165
166 lappend _telnet_autocomplete_skip interface
167 proc interface args {
168 echo "DEPRECATED! use 'adapter driver' not 'interface'"
169 eval adapter driver $args
170 }
171
172 lappend _telnet_autocomplete_skip interface_transports
173 proc interface_transports args {
174 echo "DEPRECATED! use 'adapter transports' not 'interface_transports'"
175 eval adapter transports $args
176 }
177
178 lappend _telnet_autocomplete_skip interface_list
179 proc interface_list args {
180 echo "DEPRECATED! use 'adapter list' not 'interface_list'"
181 eval adapter list $args
182 }
183
184 lappend _telnet_autocomplete_skip ftdi_location
185 proc ftdi_location args {
186 echo "DEPRECATED! use 'adapter usb location' not 'ftdi_location'"
187 eval adapter usb location $args
188 }
189
190 lappend _telnet_autocomplete_skip xds110_serial
191 proc xds110_serial args {
192 echo "DEPRECATED! use 'adapter serial' not 'xds110_serial'"
193 eval adapter serial $args
194 }
195
196 lappend _telnet_autocomplete_skip xds110_supply_voltage
197 proc xds110_supply_voltage args {
198 echo "DEPRECATED! use 'xds110 supply' not 'xds110_supply_voltage'"
199 eval xds110 supply $args
200 }
201
202 proc hla {cmd args} {
203 tailcall "hla $cmd" {*}$args
204 }
205
206 lappend _telnet_autocomplete_skip "hla newtap"
207 proc "hla newtap" {args} {
208 echo "DEPRECATED! use 'swj_newdap' not 'hla newtap'"
209 eval swj_newdap $args
210 }
211
212 lappend _telnet_autocomplete_skip ftdi_device_desc
213 proc ftdi_device_desc args {
214 echo "DEPRECATED! use 'ftdi device_desc' not 'ftdi_device_desc'"
215 eval ftdi device_desc $args
216 }
217
218 lappend _telnet_autocomplete_skip ftdi_serial
219 proc ftdi_serial args {
220 echo "DEPRECATED! use 'adapter serial' not 'ftdi_serial'"
221 eval adapter serial $args
222 }
223
224 lappend _telnet_autocomplete_skip ftdi_channel
225 proc ftdi_channel args {
226 echo "DEPRECATED! use 'ftdi channel' not 'ftdi_channel'"
227 eval ftdi channel $args
228 }
229
230 lappend _telnet_autocomplete_skip ftdi_layout_init
231 proc ftdi_layout_init args {
232 echo "DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'"
233 eval ftdi layout_init $args
234 }
235
236 lappend _telnet_autocomplete_skip ftdi_layout_signal
237 proc ftdi_layout_signal args {
238 echo "DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'"
239 eval ftdi layout_signal $args
240 }
241
242 lappend _telnet_autocomplete_skip ftdi_set_signal
243 proc ftdi_set_signal args {
244 echo "DEPRECATED! use 'ftdi set_signal' not 'ftdi_set_signal'"
245 eval ftdi set_signal $args
246 }
247
248 lappend _telnet_autocomplete_skip ftdi_get_signal
249 proc ftdi_get_signal args {
250 echo "DEPRECATED! use 'ftdi get_signal' not 'ftdi_get_signal'"
251 eval ftdi get_signal $args
252 }
253
254 lappend _telnet_autocomplete_skip ftdi_vid_pid
255 proc ftdi_vid_pid args {
256 echo "DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'"
257 eval ftdi vid_pid $args
258 }
259
260 lappend _telnet_autocomplete_skip ftdi_tdo_sample_edge
261 proc ftdi_tdo_sample_edge args {
262 echo "DEPRECATED! use 'ftdi tdo_sample_edge' not 'ftdi_tdo_sample_edge'"
263 eval ftdi tdo_sample_edge $args
264 }
265
266 lappend _telnet_autocomplete_skip remote_bitbang_host
267 proc remote_bitbang_host args {
268 echo "DEPRECATED! use 'remote_bitbang host' not 'remote_bitbang_host'"
269 eval remote_bitbang host $args
270 }
271
272 lappend _telnet_autocomplete_skip remote_bitbang_port
273 proc remote_bitbang_port args {
274 echo "DEPRECATED! use 'remote_bitbang port' not 'remote_bitbang_port'"
275 eval remote_bitbang port $args
276 }
277
278 lappend _telnet_autocomplete_skip openjtag_device_desc
279 proc openjtag_device_desc args {
280 echo "DEPRECATED! use 'openjtag device_desc' not 'openjtag_device_desc'"
281 eval openjtag device_desc $args
282 }
283
284 lappend _telnet_autocomplete_skip openjtag_variant
285 proc openjtag_variant args {
286 echo "DEPRECATED! use 'openjtag variant' not 'openjtag_variant'"
287 eval openjtag variant $args
288 }
289
290 lappend _telnet_autocomplete_skip parport_port
291 proc parport_port args {
292 echo "DEPRECATED! use 'parport port' not 'parport_port'"
293 eval parport port $args
294 }
295
296 lappend _telnet_autocomplete_skip parport_cable
297 proc parport_cable args {
298 echo "DEPRECATED! use 'parport cable' not 'parport_cable'"
299 eval parport cable $args
300 }
301
302 lappend _telnet_autocomplete_skip parport_write_on_exit
303 proc parport_write_on_exit args {
304 echo "DEPRECATED! use 'parport write_on_exit' not 'parport_write_on_exit'"
305 eval parport write_on_exit $args
306 }
307
308 lappend _telnet_autocomplete_skip parport_toggling_time
309 proc parport_toggling_time args {
310 echo "DEPRECATED! use 'parport toggling_time' not 'parport_toggling_time'"
311 eval parport toggling_time $args
312 }
313
314 lappend _telnet_autocomplete_skip jtag_dpi_set_port
315 proc jtag_dpi_set_port args {
316 echo "DEPRECATED! use 'jtag_dpi set_port' not 'jtag_dpi_set_port'"
317 eval jtag_dpi set_port $args
318 }
319
320 lappend _telnet_autocomplete_skip jtag_dpi_set_address
321 proc jtag_dpi_set_address args {
322 echo "DEPRECATED! use 'jtag_dpi set_address' not 'jtag_dpi_set_address'"
323 eval jtag_dpi set_address $args
324 }
325
326 lappend _telnet_autocomplete_skip jtag_vpi_set_port
327 proc jtag_vpi_set_port args {
328 echo "DEPRECATED! use 'jtag_vpi set_port' not 'jtag_vpi_set_port'"
329 eval jtag_vpi set_port $args
330 }
331
332 lappend _telnet_autocomplete_skip jtag_vpi_set_address
333 proc jtag_vpi_set_address args {
334 echo "DEPRECATED! use 'jtag_vpi set_address' not 'jtag_vpi_set_address'"
335 eval jtag_vpi set_address $args
336 }
337
338 lappend _telnet_autocomplete_skip jtag_vpi_stop_sim_on_exit
339 proc jtag_vpi_stop_sim_on_exit args {
340 echo "DEPRECATED! use 'jtag_vpi stop_sim_on_exit' not 'jtag_vpi_stop_sim_on_exit'"
341 eval jtag_vpi stop_sim_on_exit $args
342 }
343
344 lappend _telnet_autocomplete_skip presto_serial
345 proc presto_serial args {
346 echo "DEPRECATED! use 'presto serial' not 'presto_serial'"
347 eval presto serial $args
348 }
349
350 lappend _telnet_autocomplete_skip xlnx_pcie_xvc_config
351 proc xlnx_pcie_xvc_config args {
352 echo "DEPRECATED! use 'xlnx_pcie_xvc config' not 'xlnx_pcie_xvc_config'"
353 eval xlnx_pcie_xvc config $args
354 }
355
356 lappend _telnet_autocomplete_skip ulink_download_firmware
357 proc ulink_download_firmware args {
358 echo "DEPRECATED! use 'ulink download_firmware' not 'ulink_download_firmware'"
359 eval ulink download_firmware $args
360 }
361
362 lappend _telnet_autocomplete_skip vsllink_usb_vid
363 proc vsllink_usb_vid args {
364 echo "DEPRECATED! use 'vsllink usb_vid' not 'vsllink_usb_vid'"
365 eval vsllink usb_vid $args
366 }
367
368 lappend _telnet_autocomplete_skip vsllink_usb_pid
369 proc vsllink_usb_pid args {
370 echo "DEPRECATED! use 'vsllink usb_pid' not 'vsllink_usb_pid'"
371 eval vsllink usb_pid $args
372 }
373
374 lappend _telnet_autocomplete_skip vsllink_usb_serial
375 proc vsllink_usb_serial args {
376 echo "DEPRECATED! use 'adapter serial' not 'vsllink_usb_serial'"
377 eval adapter serial $args
378 }
379
380 lappend _telnet_autocomplete_skip vsllink_usb_bulkin
381 proc vsllink_usb_bulkin args {
382 echo "DEPRECATED! use 'vsllink usb_bulkin' not 'vsllink_usb_bulkin'"
383 eval vsllink usb_bulkin $args
384 }
385
386 lappend _telnet_autocomplete_skip vsllink_usb_bulkout
387 proc vsllink_usb_bulkout args {
388 echo "DEPRECATED! use 'vsllink usb_bulkout' not 'vsllink_usb_bulkout'"
389 eval vsllink usb_bulkout $args
390 }
391
392 lappend _telnet_autocomplete_skip vsllink_usb_interface
393 proc vsllink_usb_interface args {
394 echo "DEPRECATED! use 'vsllink usb_interface' not 'vsllink_usb_interface'"
395 eval vsllink usb_interface $args
396 }
397
398 lappend _telnet_autocomplete_skip bcm2835gpio_jtag_nums
399 proc bcm2835gpio_jtag_nums args {
400 echo "DEPRECATED! use 'bcm2835gpio jtag_nums' not 'bcm2835gpio_jtag_nums'"
401 eval bcm2835gpio jtag_nums $args
402 }
403
404 lappend _telnet_autocomplete_skip bcm2835gpio_tck_num
405 proc bcm2835gpio_tck_num args {
406 echo "DEPRECATED! use 'bcm2835gpio tck_num' not 'bcm2835gpio_tck_num'"
407 eval bcm2835gpio tck_num $args
408 }
409
410 lappend _telnet_autocomplete_skip bcm2835gpio_tms_num
411 proc bcm2835gpio_tms_num args {
412 echo "DEPRECATED! use 'bcm2835gpio tms_num' not 'bcm2835gpio_tms_num'"
413 eval bcm2835gpio tms_num $args
414 }
415
416 lappend _telnet_autocomplete_skip bcm2835gpio_tdo_num
417 proc bcm2835gpio_tdo_num args {
418 echo "DEPRECATED! use 'bcm2835gpio tdo_num' not 'bcm2835gpio_tdo_num'"
419 eval bcm2835gpio tdo_num $args
420 }
421
422 lappend _telnet_autocomplete_skip bcm2835gpio_tdi_num
423 proc bcm2835gpio_tdi_num args {
424 echo "DEPRECATED! use 'bcm2835gpio tdi_num' not 'bcm2835gpio_tdi_num'"
425 eval bcm2835gpio tdi_num $args
426 }
427
428 lappend _telnet_autocomplete_skip bcm2835gpio_swd_nums
429 proc bcm2835gpio_swd_nums args {
430 echo "DEPRECATED! use 'bcm2835gpio swd_nums' not 'bcm2835gpio_swd_nums'"
431 eval bcm2835gpio swd_nums $args
432 }
433
434 lappend _telnet_autocomplete_skip bcm2835gpio_swclk_num
435 proc bcm2835gpio_swclk_num args {
436 echo "DEPRECATED! use 'bcm2835gpio swclk_num' not 'bcm2835gpio_swclk_num'"
437 eval bcm2835gpio swclk_num $args
438 }
439
440 lappend _telnet_autocomplete_skip bcm2835gpio_swdio_num
441 proc bcm2835gpio_swdio_num args {
442 echo "DEPRECATED! use 'bcm2835gpio swdio_num' not 'bcm2835gpio_swdio_num'"
443 eval bcm2835gpio swdio_num $args
444 }
445
446 lappend _telnet_autocomplete_skip bcm2835gpio_swdio_dir_num
447 proc bcm2835gpio_swdio_dir_num args {
448 echo "DEPRECATED! use 'bcm2835gpio swdio_dir_num' not 'bcm2835gpio_swdio_dir_num'"
449 eval bcm2835gpio swdio_dir_num $args
450 }
451
452 lappend _telnet_autocomplete_skip bcm2835gpio_srst_num
453 proc bcm2835gpio_srst_num args {
454 echo "DEPRECATED! use 'bcm2835gpio srst_num' not 'bcm2835gpio_srst_num'"
455 eval bcm2835gpio srst_num $args
456 }
457
458 lappend _telnet_autocomplete_skip bcm2835gpio_trst_num
459 proc bcm2835gpio_trst_num args {
460 echo "DEPRECATED! use 'bcm2835gpio trst_num' not 'bcm2835gpio_trst_num'"
461 eval bcm2835gpio trst_num $args
462 }
463
464 lappend _telnet_autocomplete_skip bcm2835gpio_speed_coeffs
465 proc bcm2835gpio_speed_coeffs args {
466 echo "DEPRECATED! use 'bcm2835gpio speed_coeffs' not 'bcm2835gpio_speed_coeffs'"
467 eval bcm2835gpio speed_coeffs $args
468 }
469
470 lappend _telnet_autocomplete_skip bcm2835gpio_peripheral_base
471 proc bcm2835gpio_peripheral_base args {
472 echo "DEPRECATED! use 'bcm2835gpio peripheral_base' not 'bcm2835gpio_peripheral_base'"
473 eval bcm2835gpio peripheral_base $args
474 }
475
476 lappend _telnet_autocomplete_skip linuxgpiod_jtag_nums
477 proc linuxgpiod_jtag_nums args {
478 echo "DEPRECATED! use 'linuxgpiod jtag_nums' not 'linuxgpiod_jtag_nums'"
479 eval linuxgpiod jtag_nums $args
480 }
481
482 lappend _telnet_autocomplete_skip linuxgpiod_tck_num
483 proc linuxgpiod_tck_num args {
484 echo "DEPRECATED! use 'linuxgpiod tck_num' not 'linuxgpiod_tck_num'"
485 eval linuxgpiod tck_num $args
486 }
487
488 lappend _telnet_autocomplete_skip linuxgpiod_tms_num
489 proc linuxgpiod_tms_num args {
490 echo "DEPRECATED! use 'linuxgpiod tms_num' not 'linuxgpiod_tms_num'"
491 eval linuxgpiod tms_num $args
492 }
493
494 lappend _telnet_autocomplete_skip linuxgpiod_tdo_num
495 proc linuxgpiod_tdo_num args {
496 echo "DEPRECATED! use 'linuxgpiod tdo_num' not 'linuxgpiod_tdo_num'"
497 eval linuxgpiod tdo_num $args
498 }
499
500 lappend _telnet_autocomplete_skip linuxgpiod_tdi_num
501 proc linuxgpiod_tdi_num args {
502 echo "DEPRECATED! use 'linuxgpiod tdi_num' not 'linuxgpiod_tdi_num'"
503 eval linuxgpiod tdi_num $args
504 }
505
506 lappend _telnet_autocomplete_skip linuxgpiod_srst_num
507 proc linuxgpiod_srst_num args {
508 echo "DEPRECATED! use 'linuxgpiod srst_num' not 'linuxgpiod_srst_num'"
509 eval linuxgpiod srst_num $args
510 }
511
512 lappend _telnet_autocomplete_skip linuxgpiod_trst_num
513 proc linuxgpiod_trst_num args {
514 echo "DEPRECATED! use 'linuxgpiod trst_num' not 'linuxgpiod_trst_num'"
515 eval linuxgpiod trst_num $args
516 }
517
518 lappend _telnet_autocomplete_skip linuxgpiod_swd_nums
519 proc linuxgpiod_swd_nums args {
520 echo "DEPRECATED! use 'linuxgpiod swd_nums' not 'linuxgpiod_swd_nums'"
521 eval linuxgpiod swd_nums $args
522 }
523
524 lappend _telnet_autocomplete_skip linuxgpiod_swclk_num
525 proc linuxgpiod_swclk_num args {
526 echo "DEPRECATED! use 'linuxgpiod swclk_num' not 'linuxgpiod_swclk_num'"
527 eval linuxgpiod swclk_num $args
528 }
529
530 lappend _telnet_autocomplete_skip linuxgpiod_swdio_num
531 proc linuxgpiod_swdio_num args {
532 echo "DEPRECATED! use 'linuxgpiod swdio_num' not 'linuxgpiod_swdio_num'"
533 eval linuxgpiod swdio_num $args
534 }
535
536 lappend _telnet_autocomplete_skip linuxgpiod_led_num
537 proc linuxgpiod_led_num args {
538 echo "DEPRECATED! use 'linuxgpiod led_num' not 'linuxgpiod_led_num'"
539 eval linuxgpiod led_num $args
540 }
541
542 lappend _telnet_autocomplete_skip linuxgpiod_gpiochip
543 proc linuxgpiod_gpiochip args {
544 echo "DEPRECATED! use 'linuxgpiod gpiochip' not 'linuxgpiod_gpiochip'"
545 eval linuxgpiod gpiochip $args
546 }
547
548 lappend _telnet_autocomplete_skip sysfsgpio_jtag_nums
549 proc sysfsgpio_jtag_nums args {
550 echo "DEPRECATED! use 'sysfsgpio jtag_nums' not 'sysfsgpio_jtag_nums'"
551 eval sysfsgpio jtag_nums $args
552 }
553
554 lappend _telnet_autocomplete_skip sysfsgpio_tck_num
555 proc sysfsgpio_tck_num args {
556 echo "DEPRECATED! use 'sysfsgpio tck_num' not 'sysfsgpio_tck_num'"
557 eval sysfsgpio tck_num $args
558 }
559
560 lappend _telnet_autocomplete_skip sysfsgpio_tms_num
561 proc sysfsgpio_tms_num args {
562 echo "DEPRECATED! use 'sysfsgpio tms_num' not 'sysfsgpio_tms_num'"
563 eval sysfsgpio tms_num $args
564 }
565
566 lappend _telnet_autocomplete_skip sysfsgpio_tdo_num
567 proc sysfsgpio_tdo_num args {
568 echo "DEPRECATED! use 'sysfsgpio tdo_num' not 'sysfsgpio_tdo_num'"
569 eval sysfsgpio tdo_num $args
570 }
571
572 lappend _telnet_autocomplete_skip sysfsgpio_tdi_num
573 proc sysfsgpio_tdi_num args {
574 echo "DEPRECATED! use 'sysfsgpio tdi_num' not 'sysfsgpio_tdi_num'"
575 eval sysfsgpio tdi_num $args
576 }
577
578 lappend _telnet_autocomplete_skip sysfsgpio_srst_num
579 proc sysfsgpio_srst_num args {
580 echo "DEPRECATED! use 'sysfsgpio srst_num' not 'sysfsgpio_srst_num'"
581 eval sysfsgpio srst_num $args
582 }
583
584 lappend _telnet_autocomplete_skip sysfsgpio_trst_num
585 proc sysfsgpio_trst_num args {
586 echo "DEPRECATED! use 'sysfsgpio trst_num' not 'sysfsgpio_trst_num'"
587 eval sysfsgpio trst_num $args
588 }
589
590 lappend _telnet_autocomplete_skip sysfsgpio_swd_nums
591 proc sysfsgpio_swd_nums args {
592 echo "DEPRECATED! use 'sysfsgpio swd_nums' not 'sysfsgpio_swd_nums'"
593 eval sysfsgpio swd_nums $args
594 }
595
596 lappend _telnet_autocomplete_skip sysfsgpio_swclk_num
597 proc sysfsgpio_swclk_num args {
598 echo "DEPRECATED! use 'sysfsgpio swclk_num' not 'sysfsgpio_swclk_num'"
599 eval sysfsgpio swclk_num $args
600 }
601
602 lappend _telnet_autocomplete_skip sysfsgpio_swdio_num
603 proc sysfsgpio_swdio_num args {
604 echo "DEPRECATED! use 'sysfsgpio swdio_num' not 'sysfsgpio_swdio_num'"
605 eval sysfsgpio swdio_num $args
606 }
607
608 lappend _telnet_autocomplete_skip buspirate_adc
609 proc buspirate_adc args {
610 echo "DEPRECATED! use 'buspirate adc' not 'buspirate_adc'"
611 eval buspirate adc $args
612 }
613
614 lappend _telnet_autocomplete_skip buspirate_vreg
615 proc buspirate_vreg args {
616 echo "DEPRECATED! use 'buspirate vreg' not 'buspirate_vreg'"
617 eval buspirate vreg $args
618 }
619
620 lappend _telnet_autocomplete_skip buspirate_pullup
621 proc buspirate_pullup args {
622 echo "DEPRECATED! use 'buspirate pullup' not 'buspirate_pullup'"
623 eval buspirate pullup $args
624 }
625
626 lappend _telnet_autocomplete_skip buspirate_led
627 proc buspirate_led args {
628 echo "DEPRECATED! use 'buspirate led' not 'buspirate_led'"
629 eval buspirate led $args
630 }
631
632 lappend _telnet_autocomplete_skip buspirate_speed
633 proc buspirate_speed args {
634 echo "DEPRECATED! use 'buspirate speed' not 'buspirate_speed'"
635 eval buspirate speed $args
636 }
637
638 lappend _telnet_autocomplete_skip buspirate_mode
639 proc buspirate_mode args {
640 echo "DEPRECATED! use 'buspirate mode' not 'buspirate_mode'"
641 eval buspirate mode $args
642 }
643
644 lappend _telnet_autocomplete_skip buspirate_port
645 proc buspirate_port args {
646 echo "DEPRECATED! use 'buspirate port' not 'buspirate_port'"
647 eval buspirate port $args
648 }
649
650 lappend _telnet_autocomplete_skip usb_blaster_device_desc
651 proc usb_blaster_device_desc args {
652 echo "DEPRECATED! use 'usb_blaster device_desc' not 'usb_blaster_device_desc'"
653 eval usb_blaster device_desc $args
654 }
655
656 lappend _telnet_autocomplete_skip usb_blaster_vid_pid
657 proc usb_blaster_vid_pid args {
658 echo "DEPRECATED! use 'usb_blaster vid_pid' not 'usb_blaster_vid_pid'"
659 eval usb_blaster vid_pid $args
660 }
661
662 lappend _telnet_autocomplete_skip usb_blaster_lowlevel_driver
663 proc usb_blaster_lowlevel_driver args {
664 echo "DEPRECATED! use 'usb_blaster lowlevel_driver' not 'usb_blaster_lowlevel_driver'"
665 eval usb_blaster lowlevel_driver $args
666 }
667
668 lappend _telnet_autocomplete_skip usb_blaster_pin
669 proc usb_blaster_pin args {
670 echo "DEPRECATED! use 'usb_blaster pin' not 'usb_blaster_pin'"
671 eval usb_blaster pin $args
672 }
673
674 lappend _telnet_autocomplete_skip usb_blaster_firmware
675 proc usb_blaster_firmware args {
676 echo "DEPRECATED! use 'usb_blaster firmware' not 'usb_blaster_firmware'"
677 eval usb_blaster firmware $args
678 }
679
680 lappend _telnet_autocomplete_skip ft232r_serial_desc
681 proc ft232r_serial_desc args {
682 echo "DEPRECATED! use 'adapter serial_desc' not 'ft232r_serial_desc'"
683 eval adapter serial_desc $args
684 }
685
686 lappend _telnet_autocomplete_skip ft232r_vid_pid
687 proc ft232r_vid_pid args {
688 echo "DEPRECATED! use 'ft232r vid_pid' not 'ft232r_vid_pid'"
689 eval ft232r vid_pid $args
690 }
691
692 lappend _telnet_autocomplete_skip ft232r_jtag_nums
693 proc ft232r_jtag_nums args {
694 echo "DEPRECATED! use 'ft232r jtag_nums' not 'ft232r_jtag_nums'"
695 eval ft232r jtag_nums $args
696 }
697
698 lappend _telnet_autocomplete_skip ft232r_tck_num
699 proc ft232r_tck_num args {
700 echo "DEPRECATED! use 'ft232r tck_num' not 'ft232r_tck_num'"
701 eval ft232r tck_num $args
702 }
703
704 lappend _telnet_autocomplete_skip ft232r_tms_num
705 proc ft232r_tms_num args {
706 echo "DEPRECATED! use 'ft232r tms_num' not 'ft232r_tms_num'"
707 eval ft232r tms_num $args
708 }
709
710 lappend _telnet_autocomplete_skip ft232r_tdo_num
711 proc ft232r_tdo_num args {
712 echo "DEPRECATED! use 'ft232r tdo_num' not 'ft232r_tdo_num'"
713 eval ft232r tdo_num $args
714 }
715
716 lappend _telnet_autocomplete_skip ft232r_tdi_num
717 proc ft232r_tdi_num args {
718 echo "DEPRECATED! use 'ft232r tdi_num' not 'ft232r_tdi_num'"
719 eval ft232r tdi_num $args
720 }
721
722 lappend _telnet_autocomplete_skip ft232r_srst_num
723 proc ft232r_srst_num args {
724 echo "DEPRECATED! use 'ft232r srst_num' not 'ft232r_srst_num'"
725 eval ft232r srst_num $args
726 }
727
728 lappend _telnet_autocomplete_skip ft232r_trst_num
729 proc ft232r_trst_num args {
730 echo "DEPRECATED! use 'ft232r trst_num' not 'ft232r_trst_num'"
731 eval ft232r trst_num $args
732 }
733
734 lappend _telnet_autocomplete_skip ft232r_restore_serial
735 proc ft232r_restore_serial args {
736 echo "DEPRECATED! use 'ft232r restore_serial' not 'ft232r_restore_serial'"
737 eval ft232r restore_serial $args
738 }
739
740 lappend _telnet_autocomplete_skip "aice serial"
741 proc "aice serial" {args} {
742 echo "DEPRECATED! use 'adapter serial' not 'aice serial'"
743 eval adapter serial $args
744 }
745
746 lappend _telnet_autocomplete_skip cmsis_dap_serial
747 proc cmsis_dap_serial args {
748 echo "DEPRECATED! use 'adapter serial' not 'cmsis_dap_serial'"
749 eval adapter serial $args
750 }
751
752 lappend _telnet_autocomplete_skip "ft232r serial_desc"
753 proc "ft232r serial_desc" {args} {
754 echo "DEPRECATED! use 'adapter serial' not 'ft232r serial_desc'"
755 eval adapter serial $args
756 }
757
758 lappend _telnet_autocomplete_skip "ftdi serial"
759 proc "ftdi serial" {args} {
760 echo "DEPRECATED! use 'adapter serial' not 'ftdi serial'"
761 eval adapter serial $args
762 }
763
764 lappend _telnet_autocomplete_skip hla_serial
765 proc hla_serial args {
766 echo "DEPRECATED! use 'adapter serial' not 'hla_serial'"
767 eval adapter serial $args
768 }
769
770 lappend _telnet_autocomplete_skip "jlink serial"
771 proc "jlink serial" {args} {
772 echo "DEPRECATED! use 'adapter serial' not 'jlink serial'"
773 eval adapter serial $args
774 }
775
776 lappend _telnet_autocomplete_skip kitprog_serial
777 proc kitprog_serial args {
778 echo "DEPRECATED! use 'adapter serial' not 'kitprog_serial'"
779 eval adapter serial $args
780 }
781
782 lappend _telnet_autocomplete_skip "presto serial"
783 proc "presto serial" {args} {
784 echo "DEPRECATED! use 'adapter serial' not 'presto serial'"
785 eval adapter serial $args
786 }
787
788 lappend _telnet_autocomplete_skip "st-link serial"
789 proc "st-link serial" {args} {
790 echo "DEPRECATED! use 'adapter serial' not 'st-link serial'"
791 eval adapter serial $args
792 }
793
794 lappend _telnet_autocomplete_skip "vsllink usb_serial"
795 proc "vsllink usb_serial" {args} {
796 echo "DEPRECATED! use 'adapter serial' not 'vsllink usb_serial'"
797 eval adapter serial $args
798 }
799
800 lappend _telnet_autocomplete_skip "xds110 serial"
801 proc "xds110 serial" {args} {
802 echo "DEPRECATED! use 'adapter serial' not 'xds110 serial'"
803 eval adapter serial $args
804 }
805
806 # 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)