2 # basic register defintion for C100
3 source [find c100regs.tcl]
5 source [find c100config.tcl]
6 # C100 helper functions
7 source [find c100helper.tcl]
10 # Telo board & C100 support trst and srst
11 # Note that libftd2xx.so tries to assert srst
12 # which break this script
13 # use libftdi.so library instead with this script
14 # make the reset asserted to
15 # allow RC circuit to discharge for: [ms]
16 jtag_nsrst_assert_width 100
17 jtag_ntrst_assert_width 100
18 # don't talk to JTAG after reset for: [ms]
21 reset_config trst_and_srst separate
26 # issue telnet: reset init
27 # issue gdb: monitor reset init
28 $_TARGETNAME configure -event reset-init {
30 # this will setup Telo board
32 #turn up the JTAG speed
34 puts "JTAG speek now 3MHz"
35 puts "type helpC100 to get help on C100"
38 $_TARGETNAME configure -event reset-deassert-post {
39 # Force target into ARM state.
40 # soft_reset_halt # not implemented on ARM11
41 puts "Detected SRSRT asserted on C100.CPU"
45 $_TARGETNAME configure -event reset-assert-post {
50 proc power_restore {} { puts "Sensed power restore. No action." }
51 proc srst_deasserted {} { puts "Sensed nSRST deasserted. No action." }
54 # boots from NOR on CS0: 8 MBytes CFI flash, 16-bit bus
55 # it's really 16MB but the upper 8mb is controller via gpio
56 # openocd does not support 'complex reads/writes' to NOR
57 flash bank cfi 0x20000000 0x01000000 2 2 $_TARGETNAME
59 # writing data to memory does not work without this
60 memwrite burst disable
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)