FA2022 USB-D11C-serial (Win10 + edbg)
Windows10 + edbg
Download edbg
Download binary edbg-windows or edbg-windows-r24.exe
Unzip and move to Desktop
Open gitbash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 | $ cd Desktop/
$ ls
edbg.exe
$ ./edbg -h
CMSIS-DAP SWD programmer. Built Nov 24 2021 06:54:03.
Usage: C:\Users\yuichi\Desktop\edbg.exe [options]
Options:
-h, --help print this help message and exit
-b, --verbose print verbose messages
-e, --erase perform a chip erase before programming
-p, --program program the chip
-v, --verify verify memory
-k, --lock lock the chip (set security bit)
-u, --unlock unlock the chip (forces chip erase in most cases)
-r, --read read the whole content of the chip flash
-f, --file <file> binary file to be programmed or verified; also read
output file name
-t, --target <name> specify a target type (use '-t list' for a list of
supported target types)
-l, --list list all available debuggers
-s, --serial <number> use a debugger with a specified serial number or in
dex in the list
-c, --clock <freq> interface clock frequency in kHz (default 16000)
-o, --offset <offset> offset for the operation
-z, --size <size> size for the operation
-F, --fuse <options> operations on the fuses (use '-F help' for details)
|
Download bootloader
sam_ba_Generic_D11C14A_SAMD11C14A.bin
| $ ls
edbg.exe
sam_ba_Generic_D11C14A_SAMD11C14A.bin
|
MAX32625PICO as CMSIS-DAP
Hold down the button while connecting the board to your computers USB port. A drive named “MAINTENANCE” will appear.
Ref.MAX32625PICO
Download max32625pico_daplink.bin default DAPLink image
Connection
Burn bootloaders
program: edbg -b -t target_type -epv -f binary_file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | $ ls
edbg.exe
sam_ba_Generic_D11C14A_SAMD11C14A.bin
$ ./edbg -b -t samd11 -pv -f sam_ba_Generic_D11C14A_SAMD11C14A.bin
Debugger: ARM CMSIS-DAP 04090000b9e30815000000000000000000000000979699
06 1.0 (S)
Clock frequency: 16.0 MHz
Error: invalid response during transfer (count = 0/1, status = 7)
$ ./edbg -b -t samd11 -epv -f sam_ba_Generic_D11C14A_SAMD11C14A.bin
Debugger: ARM CMSIS-DAP 04090000b9e30815000000000000000000000000979699
06 1.0 (S)
Clock frequency: 16.0 MHz
Error: invalid response during transfer (count = 0/1, status = 7)
|
Last update: December 9, 2021