drivers/stlink_usb: check error code returned by st-link
[openocd.git] / tcl / target / max32620.cfg
1 # Maxim Integrated MAX32620 OpenOCD target configuration file
2 # www.maximintegrated.com
3
4 # adapter speed
5 adapter_khz 4000
6
7 # reset pin configuration
8 reset_config srst_only
9
10 if {[using_jtag]} {
11 jtag newtap max32620 cpu -irlen 4 -irmask 0xf -expected-id 0x4ba00477 -ignore-version
12 jtag newtap maxtest tap -irlen 4 -irmask 0xf -ircapture 0x1 -ignore-version
13 } else {
14 swd newdap max32620 cpu -irlen 4 -irmask 0xf -expected-id 0x2ba01477 -ignore-version
15 }
16
17 # target configuration
18 target create max32620.cpu cortex_m -chain-position max32620.cpu
19 max32620.cpu configure -work-area-phys 0x20005000 -work-area-size 0x2000
20
21 # Config Command: flash bank name driver base size chip_width bus_width target [driver_options]
22 # flash bank <name> max32xxx <base> <size> 0 0 <target> <flc base> <sector> <clk> <burst>
23 # max32620 flash base address 0x00000000
24 # max32620 flash size 0x200000 (2MB)
25 # max32620 FLC base address 0x40002000
26 # max32620 sector (page) size 0x2000 (8kB)
27 # max32620 clock speed 96 (MHz)
28 flash bank max32620.flash max32xxx 0x00000000 0x200000 0 0 max32620.cpu 0x40002000 0x2000 96

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)