1 source [find target/at91sam7a2.cfg]
3 # delays needed to get stable reads of cpu state
7 # board uses pullup and connects only srst
8 reset_config srst_open_drain
10 # srst is connected to NRESET of CPU and fully resets everything...
11 reset_config srst_only srst_pulls_trst
14 $_TARGETNAME configure -event reset-start {
18 $_TARGETNAME configure -event reset-init {
19 # init script from http://www.mikrocontroller.net/topic/107462
21 # AMC (advanced memory controller)
24 # AMC_CS0 - FLASH 1MB (0x40000000-0x400FFFFF) + DM9000E (0x40100000)
25 mww 0xFFE00000 0x40003EBD
27 # AMC_CS1 - RAM low 2MB (0x40400000-0x405FFFFF)
28 mww 0xFFE00004 0x404030A9
30 # AMC_CS2 - RAM high 2MB (0x40800000-0x405FFFFF)
31 #mww 0xFFE00008 0x404030A9
33 mww 0xFFE00008 0x408030A9
36 mww 0xFFE00024 0x00000004
39 mww 0xFFE00020 0x00000001
44 # the following base addresses from the original script did not correspond to those from datasheet
45 # changed bases from 0xFF000000 to 0xFFF00000
47 # disable watchdog, to prevent unwanted resets
48 mww 0xFFFA0068 0x00000000
49 echo "disabled watchdog"
54 mww 0xFFFEC004 0x18070004
56 # PLL = 10 ==> Coreclock = 6Mhz*10/2 = 30 Mhz
57 mww 0xFFFEC010 0x762D800A
60 mww 0xFFFEC000 0x23050004
67 $_TARGETNAME arm7_9 dcc_downloads enable
68 $_TARGETNAME arm7_9 fast_memory_access enable
70 # remap: ram at 0, flash at 0x40000000, like reset-init above does
71 $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x4000 -work-area-backup 1
72 flash bank onboard.flash cfi 0x40000000 0x00100000 2 2 at91sam7a2.cpu
74 # boot: ram at 0x300000, flash at 0x0, useful if board is in funny configuration
75 #$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1
76 #flash bank onboard1.flash cfi 0x00000000 0x00100000 2 2 at91sam7a2.cpu
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)