-
Notifications
You must be signed in to change notification settings - Fork 120
/
flashing.txt
105 lines (87 loc) · 2.96 KB
/
flashing.txt
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Access to RomCode SAM-BA monitor
================================
This document explains how to access the RomCode SAM-BA monitor that allows to
flash a system on various boards.
The SAM-BA tool available on Microchip website connects to the chip's SAM-BA
monitor as explained in the product's datasheet.
Additional details can also be found on the Linux4SAM website, by selecting the
appropriate board pages here: http://www.linux4sam.org
Connect the board:
o at91sam9g45m10ek: DBGU: J10, USB sam-ba: J14
o at91sam9rlek: DBGU: J19, USB sam-ba: J21
o at91sam9x5ek: DBGU: J11, USB sam-ba: J20
o sama5d3xek: DBGU: J14, USB sam-ba: J20
o sama5d3 Xplained: DBGU: J23, USB sam-ba: J6
o sama5d4ek: DBGU: J22 or J24, USB sam-ba: J1
o sama5d4 Xplained: DBGU: J1, USB sam-ba: J11
o sam9x60: DBGU: J24, USB sam-ba: J8
o sama5d27 wlsom1 ek: DBGU: J26, USB sam-ba: J10
o sam9x60 curiosity: DBGU: J11, USB sam-ba: J1
o sam9x75eb: DBGU: J34, USB sam-ba: U6 near RESET button
o sam9x75 curiosity: DBGU: J32, USB sam-ba: J2
Start the board in RomBOOT:
o at91sam9g45m10ek:
1. open JP8, JP10 and JP12
2. start the board
3. close JP8, JP10 and JP12
o at91sam9rlek:
1. J11 on 1-2 (BMS=1), open J12 and J13
2. start the board
3. close J12 and J13
o at91sam9x5ek:
1. open JP9 and:
- Cogent: open *NCS jumper
- Embest: open SW1
- Ronetix: open J1 and J2
2. start the board
3. close JP9 and:
- Cogent: close *NCS jumper
- Embest: close SW1 (ON position)
- Ronetix: close J1 and J2
o sama5d3xek:
1. start the board
2. push BP4 and BP1
3. release BP1
4. release BP4
o sama5d3 Xplained:
1. open JP5 (NANDCS) and JP6 (SPICS)
2. start the board
3. close JP5 ans JP6
o sama5d4ek:
1. start the board
2. push BP3 and BP4
3. release BP4
4. release BP3
o sama5d4 Xplained:
1. close JP7 (BOOT_DIS)
2. start the board
3. open JP7
o sam9x60ek:
1. close J14
2. start the board
3. open J14
o sam9x60ek:
1. close J13
2. start the board
3. open J13
o sam9x60 curiosity:
1. open J4 (NANDCS) and Remove SDMMC card.
2. Power on the board
o sam9x75eb:
1. Power on the board
2. Remove SDMMC card and press DISABLE BOOT switch
3. Reboot the board
o sam9x75 curiosity:
1. open J8 (NAND BOOT) and remove SDMMC card.
2. start the board
3. close J8 (NAND BOOT)
"RomBOOT" should appear on your console (this should be ttyUSBx or ttyACMx)
Now locate the USB sam-ba interface it should be ttyACMx, usually ttyACM0
dmesg on your machine should give:
usb 1-2.1.4: New USB device found, idVendor=03eb, idProduct=6124
usb 1-2.1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
cdc_acm 1-2.1.4:1.0: ttyACM0: USB ACM device
Look for idVendor=03eb, idProduct=6124, this is the interface you want to use.
You can then flash the board using the SAM-BA tool. Helpful automation scripts
are available in each board's demo archive available on Linux4SAM website
(http://www.linux4sam.org).