Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:due [2022/10/25 10:51] – external edit 127.0.0.1 | boards:due [2022/12/15 22:20] (current) – [Programming] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Arduino Due ==== | ==== Arduino Due ==== | ||
+ | <wrap right> | ||
+ | {{boards: | ||
+ | </ | ||
+ | |||
The Due is a larger form factor Arduino board containing a ATSAM3X8E ARM Cortex-M3 processor | The Due is a larger form factor Arduino board containing a ATSAM3X8E ARM Cortex-M3 processor | ||
running at 84MHz. | running at 84MHz. | ||
Line 18: | Line 22: | ||
SAM BA is the ROM based bootloader found on the processor and | SAM BA is the ROM based bootloader found on the processor and | ||
is connected to via the programming port. | is connected to via the programming port. | ||
- | |||
- | The controller on the programming port switches to bootloader | ||
- | mode when the port is opened at 1200 baud. | ||
[[tools: | [[tools: | ||
Line 27: | Line 28: | ||
<wrap right> | <wrap right> | ||
{{: | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
</ | </ | ||
- | JTAG utilises the miniature header and can be used with the JLink | + | JTAG utilises the miniature header and can be used with the [[tools: |
- | EDU Mini. | + | |
+ | With an adapter the [[interfaces: | ||
+ | |||
+ | < | ||
+ | openocd -f " | ||
+ | Open On-Chip Debugger 0.12.0-rc2+dev-00012-g4e077fdda (2022-11-12-16: | ||
+ | Licensed under GNU GPL v2 | ||
+ | For bug reports, read | ||
+ | http:// | ||
+ | adapter speed: 4000 kHz | ||
+ | |||
+ | jtag | ||
+ | cortex_m reset_config sysresetreq | ||
- | [[tools:segger|Segger J-Link]] | + | Info : Listening on port 6666 for tcl connections |
+ | Info : Listening on port 4444 for telnet connections | ||
+ | Info : clock speed 500 kHz | ||
+ | Info : JTAG tap: sam3.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4) | ||
+ | Info : [sam3.cpu] Cortex-M3 r2p0 processor detected | ||
+ | Info : [sam3.cpu] target has 6 breakpoints, | ||
+ | Info : starting gdb server for sam3.cpu on 3333 | ||
+ | Info : Listening on port 3333 for gdb connections | ||
+ | </ | ||
+ | < | ||
+ | gdb-multiarch | ||
+ | (gdb) set architecture armv7 | ||
+ | (gdb) target extended-remote localhost: | ||
+ | (gdb) info registers | ||
+ | r0 | ||
+ | r1 | ||
+ | r2 | ||
+ | r3 | ||
+ | r4 | ||
+ | r5 | ||
+ | r6 | ||
+ | r7 | ||
+ | r8 | ||
+ | r9 | ||
+ | r10 0x2358288a | ||
+ | r11 0x314f2ac3 | ||
+ | r12 0xa8 168 | ||
+ | sp | ||
+ | lr | ||
+ | pc | ||
+ | xPSR | ||
+ | msp 0x20087fd8 | ||
+ | psp 0x4921e0e0 | ||
+ | primask | ||
+ | basepri | ||
+ | faultmask | ||
+ | control | ||
+ | </ | ||
===Resources== | ===Resources== | ||