tcl/board: Add am625 native swd configuration
[openocd.git] / tcl / target / ti_k3.cfg
index 99b5b51a30b2838b5cadd9af491f28569009a478..ef1f1569a17e80f5eb2fd41b9a2bad6cadfe7419 100644 (file)
@@ -120,6 +120,16 @@ switch $_soc {
                # M4 processor
                set _gp_mcu_cores 1
                set _gp_mcu_ap_unlock_offsets {0xf0 0x7c}
+
+               # Setup DMEM access descriptions
+               # DAPBUS (Debugger) description
+               set _dmem_base_address 0x740002000
+               set _dmem_ap_address_offset 0x100
+               set _dmem_max_aps 10
+               # Emulated AP description
+               set _dmem_emu_base_address 0x760000000
+               set _dmem_emu_base_address_map_to 0x1d500000
+               set _dmem_emu_ap_list 1
        }
        am62a7 {
                set _CHIPNAME am62a7
@@ -329,3 +339,22 @@ if { $_gp_mcu_cores != 0 } {
                halt 1000
        }
 }
+
+# In case of DMEM access, configure the dmem adapter with offsets from above.
+if { 0 == [string compare [adapter name] dmem ] } {
+       if { [info exists _dmem_base_address] } {
+               # DAPBUS (Debugger) description
+               dmem base_address $_dmem_base_address
+               dmem ap_address_offset $_dmem_ap_address_offset
+               dmem max_aps $_dmem_max_aps
+
+               # The following are the details of APs to be emulated for direct address access.
+               # Debug Config (Debugger) description
+               dmem emu_base_address_range $_dmem_emu_base_address $_dmem_emu_base_address_map_to
+               dmem emu_ap_list $_dmem_emu_ap_list
+               # We are going local bus, so speed is really dummy here.
+               adapter speed 2500
+       } else {
+               puts "ERROR: ${SOC} data is missing to support dmem access!"
+       }
+}

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)