O 8 o o o o o c a 2-1 CD CD CD CD CD CD CD a: CD CD 83 CD ...
SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6...
Transcript of SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6...
![Page 1: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/1.jpg)
SAM9-L9260 development board Users Manual
Rev. B, June 2008Copyright(c) 2009, OLIMEX Ltd, All rights reserved
![Page 2: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/2.jpg)
INTRODUCTION:
SAM9-L9260 is a low cost development platform with ARM9 microcontroller, 64MB SDRAM and 512MB NAND Flash. The board has Ethernet 100Mbit controller, USB host, USB device, RS232 and 40 pin extension port with all unused SAM9260 ports available for add-on boards. SAM9-L9260 has waste amount of Flash and RAM and runs Linux, WindowsCE and other RTOS natively. The on-board RTC clock is equipped with a 3V Li backup battery.
BOARD FEATURES:
- MCU: AT91SAM9260 16/32 bit ARM9™ 200MHz operation - 50MHz system (main) clock- standard JTAG connector with ARM 2x10 pin layout for
programming/debugging with ARM-JTAG - 64 MB SDRAM - 512MB NAND Flash (seen in Linux as silicon drive) - Ethernet 100Mbit connector - USB host and USB device connectors - RS232 interface and drivers - SD/MMC card connector - one user button and one reset button - one power and two status LEDs - on board voltage regulator 3.3V with up to 800mA current - single power supply: 5V DC required - power supply filtering capacitor - 18.432 Mhz crystal on socket - extension header - PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print - Dimensions: 100 x 80 mm (3.94 x 3.15")
ELECTROSTATIC WARNING:
The SAM9-L9260 board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables: 1.8 meter USB A-B cable to connect with USB host. Null modem RS232 female – female to connect with PC COM port.
Hardware: ARM-JTAG, ARM-USB-OCD or other compatible tool if you want to program this board with JTAG, usually with linux installed you can develop without the need for JTAG.
Software: The CD contains Linux 2.6 complete with source and binary in CD.
![Page 3: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/3.jpg)
BOARD LAYOUT:
![Page 4: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/4.jpg)
SCHEMATIC:
PA
28_E
CR
S
2.5V
2.5V
2.5V
HEAD6
Li_bat_holder
SW-TAKT6x3.8
100n
F10
0nF
100n
F10
0nF
100n
F10
0nF
100n
F
100n
F10
0nF
100n
F10
0nF
100n
F10
0nF
100n
F
100nF 100nF
10pF10pF15pF15pF
100nF100nF
100nF100nF
100nF100nF
100nF100nF
100nF100nF
100nF100nF
100nF100nF
100nF100nF
100nF
100nF
100nF
10uF
/6.3
V
10uF/6.3V100nF 100nF
100nF
100nF
100nF
10nF1nF
47uF/6.3V
100nF
100nF
100nF100nF
100nF
10uF/6.3V
10uF/6.3V
10uF/6.3V
NA
NA
100n
F
5.1pF
47pF
100nF
100nF
47pF
10uF/6.3V100nF
20pF
20pF
100nF
10uF/6.3V
100nF
100nF10uF/6.3V
100nFNA
10nF100nF
33pF(NA)
15pF 15pF
10uF/16V 10uF/16V
100u
F/6.
3V/ta
nt
10uF/16V
1uF
10nF100nF
100u
F/6.
3V/ta
nt
100uF/6.3V/tant
1nF
100nF100nF
1uF
BAT54C
1N5819S(NA)
FB08
05/1
20
470nH
470nH
ferrite bead
ferr
ite b
ead
FB1206
RJLBC-060TC1
+5V
+5V
+5V
+5V
yellow
18.432MHz
32768kHz/6pF
25MHz
560R
470K
4.7K
330
0R
1K
470K
1K1K
33K
470K
4.7K
0R
1K
NA
100K 1.6M
0R
0R
1K100K
1K
330
100K
100K
100K
100K
0R
0R
1K
33K
1K
470K
33K
100
1K
330
4.7K 4.7K
4.99K/1%
1.5K/1%2.2K
49.9
R/1
%49
.9R
/1%
NA
33K
33K
49.9
R/1
%
49.9
R/1
%
330R330R
1K
NA
1K
0R
3.3k3.3k3.3k3.3k
NA
3333
330 470K
15K
15K
1K
33K
15K 22K 0R1.5K(NA)
33
33
3.3K
47(NA)
47(NA)
68
330R/1%
100R/1%
330R/1%
220R/1%
100R/1%560R
NA
10K33K33K33K33K
68
MFR030
MFR110
SW-TAKT6x3.8
SD-CARD
greenBSS138
1,5KE6,8CA
K4S561632C-TC/L75
K9XXG08UXM
K4S561632C-TC/L75
AT45DB161D-SU
ST3232
KS8721BL
24LC256(NA)
USB_B
USB_A
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V 3.3V
3.3V
3.3V
3.3V
3.3V
3.3V 3.3V
3.3V3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V 3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
1.8V
1.8V
1.8V
1.8V
RC1587NO_CUT
LM1117
MCP1700T-1802E/MB
WRITE PROTECTED (NORMALLY OPEN)
7 X 100nF 7 X 100nF
12 X
100
nF
5 X
100
nF
PA10_ETX2,PA11_ETX3,PA12_ETX0,PA13_ETX1,PA16_ETXEN,PA19_ETXCK,PA22_ETXER,PA28_ECRS,PA29_ECOL
PA
10_E
TX2,
PA
11_E
TX3,
PA
12_E
TX0,
PA
13_E
TX1,
PA
16_E
TXE
N,P
A19
_ETX
CK
,PA
22_E
TXE
R,P
A28
_EC
RS
,PA
29_E
CO
LP
A14
_ER
X0,
PA
17_E
RX
DV
,PA
18_E
RX
ER
,PA
27_E
RX
CK
PA
15_E
RX
1,P
A20
_EM
DC
,PA
21_E
MD
IO,P
A25
_ER
X2,
PA
26_E
RX
3
AD[0..1],PC[4..11],PC13_RDYBSY,PC14_NANDCS,PC15 AD[0..1],PC[4..11],PC13_RDYBSY,PC14_NANDCS,PC15
A[0
..24]
A[0
..24]
A[0..24]
D[0..31]
D[0..31]
D[0
..31]
HDPA,HDMA,DDP,DDM
PA
[0..2
9],P
A1_
MC
CD
B,P
A2_
SP
CK
,PA
0_M
CD
B0,
PA
5_M
CD
B1,
PA
4_M
CD
B2,
PA
3_M
CD
B3,
PA
23_T
WD
,PA
24_T
WC
K,P
HY
_IR
Q
PB
[0..1
1],P
B[1
4..3
1]
PB[0..11],PB[14..31]PB
[0..1
1],P
B[14
..31]
PB[0..11],PB[14..31]
PB[0..11],PB[14..31]
TDI,TMS,TCK,RTCK,TDO,JTAGSEL,NTRST,NRST
A0
A0A1
A1
A2
A2
A2A3A3 A3A4
A4
A4A5
A5
A5A6
A6
A6A7
A7
A7A8
A8
A8A9
A9
A9A10
A10
A10A11
A11
A11
A13
A13
A13A14
A14
A14
A16
A16
A16A17
A17
A17
A21_NANDALE
A21_NANDALE
A21_NANDALE
A22_NANDCLE
A22_NANDCLE
A22_NANDCLE
AD0
AD0
AD1
AD1
AGND
AGND
AGND
AGNDAVDD AVDD
AVDD
AVDD
CASN
CASN
CASN
CASN
CFIOR_NBS1_NWR1
CFIOR_NBS1_NWR1 CFIOW_NBS3_NWR3
CFIOW_NBS3_NWR3
CTS
D0
D0
D0
D1
D1
D1
D2
D2
D2
D3
D3
D3
D4
D4
D4
D5
D5
D5
D6
D6
D6
D7
D7
D7
D8
D8
D9
D9
D10
D10D11D11D12
D12
D13
D13
D14
D14
D15
D15
D16
D16
D17
D17
D18
D18
D19
D19
D20
D20
D21
D21
D22
D22
D23
D23
D24
D24
D25
D25
D26
D26
D27
D27
D28
D28
D29
D29
D30
D30
D31
D31
DDM
DDM
DDP
DDP
HDMA
HDMA
HDPA
HDPA
ICE_NRST
ICE_NTRST
JTAGSELJTA
GS
EL
LAN_RST
LED
100/
DU
P
LED
AC
T
NANDOE
NANDOE
NANDWE
NANDWE
NCE
NRST
NRST
NRST
NRST
NRST
NTRSTNTRST
OSCSELOSCSEL
PA0_MCDB0
PA0_MCDB0
PA0_MCDB0
PA1_MCCDBPA1_MCCDB
PA1_MCCDB
PA2_SPCK
PA2_SPCK
PA3_MCDB3
PA3_MCDB3
PA4_MCDB2
PA4_MCDB2
PA5_MCDB1
PA5_MCDB1
PA6
PA
6
PA8_MCCK
PA8_MCCK
PA9
PA
9
PA10_ETX2
PA
10_E
TX2
PA11_ETX3
PA
11_E
TX3
PA12_ETX0
PA
12_E
TX0
PA13_ETX1
PA
13_E
TX1
PA14_ERX0
PA14_ERX0
PA14_ERX0
PA15_ERX1
PA15_ERX1
PA15_ERX1
PA16_ETXEN
PA
16_E
TXE
N
PA17_ERXDV
PA17_ERXDV
PA17_ERXDV
PA18_ERXER
PA18_ERXER
PA18_ERXER
PA19_ETXCK
PA
19_E
TXC
K
PA20_EMDC
PA20_EMDC
PA21_EMDIO
PA21_EMDIO
PA22_ETXER
PA
22_E
TXE
R
PA23_TWD
PA23_TWD
PA23_TWD
PA24_TWCK
PA24_TWCK
PA24_TWCK
PA25_ERX2
PA25_ERX2
PA25_ERX2
PA26_ERX3
PA26_ERX3
PA26_ERX3
PA27_ERXCK
PA27_ERXCK
PA28_ECRS
PA28_ECRS
PA29_ECOL
PA
29_E
CO
L
PA29_ECOL
PB0
PB0
PB0
PB1
PB1
PB1
PB2
PB2
PB2
PB3
PB3
PB3
PB4
PB4
PB5
PB5
PB6_TXD1
PB6_TXD1
PB7_RXD1
PB7_RXD1
PB8
PB8
PB8
PB9
PB9
PB9
PB10
PB10
PB11
PB11
PB14_DRXD
PB14_DRXD
PB15_DTXD
PB15_DTXD
PB16
PB16
PB17
PB17
PB18
PB18
PB19
PB19
PB20
PB20
PB21
PB21
PB22
PB22
PB23
PB23
PB24
PB24
PB25
PB25
PB26
PB26
PB27
PB27
PB28_RTS1
PB28_RTS1 PB28_RTS1
PB28_RTS1
PB29_CTS1
PB29_CTS1
PB29_CTS1
PB30
PB30
PB31
PB31
PC4
PC4
PC4
PC5
PC5
PC
5
PC6
PC6
PC7
PC7
PC8
PC8
PC8
PC9
PC9
PC10
PC10
PC10
PC11
PC11
PC13_RDYBSY
PC13_RDYBSY
PC13_RDYBSY
PC14_NANDCS
PC14_NANDCS
PC14_NANDCS
PC15
PC15
PC15
PH
Y_I
RQ
PHY_IRQ
PHY_IRQ
PLLRCA
PLLRCA
RASN
RASN
RASN
RASN
RNB
RTCK
RTCK
RTS
RXDRXD1/DRXD
SDA10
SDA10SDA10
SDCLK SDCLK
SDCLK
SDCLK
SDCLK
SDCLKEN
SDCLKEN
SDCLKEN
SDCS
SDCS
SDWEN
SDWEN
SDWEN
TCKTCK TDI
TDI
TDO
TDOTMS
TMS
TXDTXD1/DTXD
VDDBU
VDDBU
VDDBU
VDDCORE
VDDIO
VREFP
VREFP
12
1.8V
_MC
U_E
1 23.3V_E
12
3.3V
_MC
U_E
1
2
3A
2_L/
A2_
H
123456
AEXT
+-
BAT
1 2 3
BAT/EXT
12
BD
S_E
12
BMS_LOW
BUT
C1
C2
C3
C4
C5
C6
C6
C7
C8
C9
C9
C10
C11
C11
C12
C13
C13
C14
C15 C16
C17C18
C19C20
C21C22
C23C24
C25C26
C27C28
C29C30
C31C32
C33C34
C35C36
C37
C38
C39 C40 C41C42 C43 C44
C45
C46
C47 C48
C49
C50
C51
C52C53
C54
C55
C56
C57
C58
C59
C60
C61
C62
C63
C64
C65
C66C67
C68
C69
C70
C71
C72
C73C74
C75C76
C77C79
C80
C81 C82
C89C90
C91
C92
C93
C94C95
C96
C97
C98
C99C100
C101
1 2CPE
D1
D3
12
DF_E
1 23 45 67 89 10
11 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40
EXT
FB
GND
123
INTR
C/E
XTC
LK
1234567891011121314151617181920
JTAG
L1
L2
L5
L6
L7
AG AG
AY AY
COM 3
KG KG
KY KY
NC 6RD+ 7
RD- 8
TD+ 1
TD- 27575
7575
1nF/2kV
1452
3786
GREEN
YELLOW
LAN
1 2
NANDF_E12
NTRST_E
1 2 3
PHY_PDE/PHY_PDCTRL
PWR_5V
PWR_JACK
PWR_LED
Q1
Q2
Q4
R1
R2
R3
R4
R5
R6
R7
R8R9
R10
R11
R12
R13
R14
R15
R16 R17
R18
R19
R20R21
R22
R23
R24
R25
R26
R27
R28
R29
R30
R31
R32
R33
R34
R35
R36
R37
R38 R39
R40
R41 R42
R43
R44
R45
R46
R47
R48
R49
R50R51
R52
R53
R54
R55
R56R57R58R59
R60
R61R62
R63 R64
R65
R66
R67
R68
R69 R70 R71R72
R73
R74
R75
R76
R77
R78
R79
R80
R81
R82
R83R84
R85
R86R87R88R89R90
R91
RF1
RF2
12345
6789
RS232_0
RST
1 2 3
RXD1/DRXD
CD/DAT3/CS 1
CLK/SCLK 5
CMD/DI 2
CP1 13
CP2 15
DAT0/DO 7
DAT1/RES 8
DAT2/RES 9
VDD 4VSS1 3
VSS2 6
WP1 10
WP2 14
SD/M MC
STAT
T1
1 2TCK-RTCK
TVS
1 2 3
TXD1/DTXD
A023
A124
A225
A326
A429
A530
A631
A732
A833
A934
A10/AP22
A1135
A1236
BA020
BA121
CAS17
CKE37 CLK38
CS19
DQ02
DQ14
DQ25
DQ37
DQ48
DQ510
DQ611
DQ713
DQ842
DQ944
DQ1045
DQ1147
DQ1248
DQ1350
DQ1451
DQ1553
DQMH39 DQML15
NC140
RAS18
VDD11
VDD214
VDD327
VDDQ13
VDDQ29
VDDQ343
VDDQ449
VSS128
VSS241
VSS354
VSSQ16
VSSQ212
VSSQ346
VSSQ452
WE16
U1
A0/NBS099A1/NWR2/NBS298A297A396A495A594A693A792A889A988A1087A1186A1285A1384A1483A1582A16/BA081A17/BA180A1879A1976A2075A21/NANDALE74A22/NANDCLE73
ADVREFP157
BMS40
CAS104
D0106D1107D2108D3109D4110D5111D6112D7118D8119D9120D10121D11122D12123D13124D14125D15126
DDM54DDP55
GNDANA156GNDBU44
GNDCORE139
GNDCORE278
GNDCORE3146
GNDCORE4173
GNDCORE5204
GNDIOM166
GNDIOM291
GNDIOM3113
GNDIOM4133
GNDIOP0-16
GNDIOP0-214
GNDIOP0-325
GNDIOP0-433
GNDIOP0-553
GNDIOP0-6188
GNDIOP0-7200
GNDIOP1170
GNDPLLA153
GNDPLLB(GNDOSC)151
HDMA50
HDPA51
JTAGSEL43
NANDOE71NANDWE72
NC152
NCS068NCS1/SDCS103
NRD/CFOE69
NRST36
NTRST35
NWR0/NWE/CFWE70NWR1/NBS1/CFIOR102NWR3/NBS3/CFIOW101
OSCSEL41
PA0/SPI0_MISO/MCDB0179
PA1/SPI0_MOSI/MCCDB180
PA2/SPI0_SPCK181
PA3/SPI0_NPCS0/MCDB3182
PA4/RTS2/MCDB2183
PA5/CTS2/MCDB1184
PA6/MCDA0185
PA7/MCCDA186
PA8/MCCK189
PA9/MCDA1190
PA10/MCDA2/ETX2191
PA11/MCDA3/ETX3192
PA12/ETX0193
PA13/ETX1194
PA14/ERX0195
PA15/ERX1196
PA16/ETXEN197
PA17/ERXDV198
PA18/ERXER201
PA19/ETXCK202
PA20/EMDC205
PA21/EMDIO206
PA22/ADTRG/ETXER207
PA23/TWD/ETX2208
PA24/TWCK/ETX31
PA25/TCLK0/ERX22
PA26/TIOA0/ERX33
PA27/TIOA1/ERXCK4
PA28/TIOA2/ECRS7
PA29/SCK1/ECOL8
PB0/SPI1_MISO/TIOA39
PB1/SPI1_MOSI/TIOB310
PB2/SPI1_SPCK/TIOA411
PB3/SPI1_NPCS0/TIOA512
PB4/TXD015
PB5/RXD016
PB6/TXD1/TCLK117
PB7/RXD1/TCLK218
PB8/TXD219
PB9/RXD220
PB10/TXD3/ISI_D8161
PB11/RXD3/ISI_D9162
PB14/DRXD21
PB15/DTXD22
PB16/TK0/TCLK323
PB17/TF0/TCLK426
PB18/TD0/TIOB427
PB19/RD0/TIOB528
PB20/RK0/ISI_D0163
PB21/RF0/ISI_D1164
PB22/DSR0/ISI_D2165
PB23/DCD0/ISI_D3166
PB24/DTR0/ISI_D4167
PB25/RI0/ISI_D5168
PB26/RTS0/ISI_D6171
PB27/CTS0/ISI_D7172
PB28/RTS1/ISI_PCK175
PB29/CTS1/ISI_VSYNC176
PB30/PCK0/ISI_HSYNC177
PB31/PCK1/ISI_MCK178PC0/AD0/SCK3
158PC1/AD1/PCK0159PC4/A23/SPI1_NPCS262PC5/A24/SPI1_NPCS167PC6/TIOB2/CFCE163PC7/TIOB1/CFCE264PC8/NCS4/CFCS0/RTS361PC9/NCS5/CFCS1/TIOB060PC10/A25/CFRNW/CTS358PC11/NCS2/SPI0_NPCS157PC13/FIQ/NCS656PC14/NCS3/NANDCS/IRQ259PC15/NWAIT/IRQ1127PC16/D16/SPI0_NPCS2128PC17/D17/SPI0_NPCS3129PC18/D18/SPI1_NPCS1130PC19/D19/SPI1_NPCS2131PC20/D20/SPI1_NPCS3134PC21/D21/EF100135PC22/D22/TCLK5136PC23/D23137PC24/D24138PC25/D25139PC26/D26140PC27/D27141PC28/D28142PC29/D29143PC30/D30144PC31/D31145
PLLRCA154
RAS105
RTCK37
SDA10100
SDCK115SDCKE117SDWE116
SHDN49
TCK34
TDI30
TDO29
TMS31
TST42
VDDANA160 VDDBU47
VDDCORE138
VDDCORE277
VDDCORE3147
VDDCORE4174
VDDCORE5203
VDDIOM165
VDDIOM290
VDDIOM3114
VDDIOM4132
VDDIOP0-15
VDDIOP0-213
VDDIOP0-324
VDDIOP0-432
VDDIOP0-552
VDDIOP0-6187
VDDIOP0-7199
VDDIOP1169
VDDPLLA155
VDDPLLB(VDDOSC)148
WKUP48
XIN149
XIN3246
XOUT150
XOUT3245
U2
AT91SAM9260
#CE9
#RE8
#WE18
#WP19
ALE17 CLE16
I/O_029
I/O_130
I/O_231
I/O_332
I/O_441
I/O_542
I/O_643
I/O_744
PRE38
R/#B7
VCC112
VCC237
VSS113
VSS236
U3
A0 23
A1 24
A2 25
A3 26
A4 29
A5 30
A6 31
A7 32
A8 33
A9 34
A10/AP 22
A11 35
A12 36
BA0 20
BA1 21
CAS 17
CKE 37CLK 38
CS 19
DQ02
DQ14
DQ25
DQ37
DQ48
DQ510
DQ611
DQ713
DQ842
DQ944
DQ1045
DQ1147
DQ1248
DQ1350
DQ1451
DQ1553
DQMH 39DQML 15
NC1 40
RAS 18
VDD11
VDD214
VDD327
VDDQ13
VDDQ29
VDDQ343
VDDQ449
VSS128
VSS241
VSS354
VSSQ16
VSSQ212
VSSQ346
VSSQ452
WE 16
U4
/CS/ 4
/RESET/ 3
/WP/5
GND7 SCK 2
SI 1SO
8
VCC6
U5
C1+1
C1-3
C2+4
C2-5
R1IN13R1OUT12
R2IN8R2OUT9
T1IN11T1OUT
14
T2IN10T2OUT
7
V+2
V-6
U6
CO
L/R
MII
21C
RS
/RM
II_B
TB22
FXSD/FXEN34
GND1 8
GND2 12
GN
D3
23
GND435 GND536
GN
D6
39
GN
D7
43
GN
D8
44
INT/PHYAD025 LED0/TEST26 LED1/SPD100/NFEF27 LED2/DUPLEX28 LED3/NWAYEN29
MDC 2MDIO 1
PD#30
RE
XT
37
RS
T#48
RX+33
RX-32
RXC 10
RXD0/PHYAD4 6RXD1/PHYAD3 5RXD2/PHYAD2 4RXD3/PHYAD1 3
RXDV/CRSDV/PCS_LPBK 9
RXER/ISO 11
TX+
41TX
-40
TXC
/RE
FCLK
15
TXD
017
TXD
118
TXD
219
TXD
320
TXE
N16
TXE
R14
VD
DC
13
VDDIO1 7
VD
DIO
224
VD
DP
LL47
VD
DR
CV
38
VDDRX31
VD
DTX
42
XI
46X
O45 U7
A01 A12 A23
4
SCL6
SDA5
8
WP7VCC
GND
U8
1 23 45 67 89 10
UEXT
1234
USB_D
1234
USB_H
1
VI3VO
2
GND/ADJ
VR1(3.3V)
ADJ/GND
IN OUT
VR2(1.8V)
GND1
VIN2
VOUT3
VR3(1.8V)
WA
KE
_UP
1 2WPE
12
WP
_NFL
AS
H_E
1 2
WP_SFLASH_E
+5VDC_only
SAM9-L9260Rev. B
http://www.olimex.com/dev
COPYRIGHT(C) 2008, Olimex Ltd
+ +
+
+
+
+
+
+
+
+
+
+
++
+
+
RJ4
5 S
IDE
1:1
1:1A
rray
EE
PR
OM
USB
SHIELD
USB
SHIELD
![Page 5: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/5.jpg)
PROCESSOR FEATURES:
SAM9-L9260 board uses CPU AT91SAM9260 from Atmel® with the following features:- Incorporates the ARM926EJ-S™ ARM® Thumb® Processor
o DSP Instruction Extensions, ARM Jazelle® Technology for Java® Acceleration
- External Bus Interface (EBI)o Supports SDRAM, Static Memory, ECC-enabled NAND Flash and
CompactFlash®- USB 2.0 Full Speed (12 Mbits per second) Device Port
o On-chip Transceiver, 2,432-byte Configurable Integrated DPRAM- USB 2.0 Full Speed (12 Mbits per second) Host- Ethernet MAC 10/100 Base T
o Media Independent Interface or Reduced Media Independent Interface
o 28-byte FIFOs and Dedicated DMA Channels for Receive and Transmit
- Bus Matrixo Six 32-bit-layer Matrixo Boot Mode Select Option, Remap Command
- Fully-featured System Controller, includingo Reset Controller, Shutdown Controllero Four 32-bit Battery Backup Registers for a Total of 16 Byteso Clock Generator and Power Management Controllero Advanced Interrupt Controller and Debug Unito Periodic Interval Timer, Watchdog Timer and Real-time Timer
- Reset Controller (RSTC)o Based on a Power-on Reset Cell, Reset Source Identification and
Reset Output Control- Clock Generator (CKGR)
o Selectable 32,768 Hz Low-power Oscillator or Internal Low Power RC Oscillator on Battery Backup Power Supply, Providing a Permanent Slow Clock
o 3 to 20 MHz On-chip Oscillator, One up to 240 MHz PLL and One up to 130 MHz PLL
- Power Management Controller (PMC)o Very Slow Clock Operating Mode, Software Programmable Power
Optimization Capabilitieso Two Programmable External Clock Signals
- Advanced Interrupt Controller (AIC)o Individually Maskable, Eight-level Priority, Vectored Interrupt
Sourceso Three External Interrupt Sources and One Fast Interrupt
Source, Spurious Interrupt Protected- Debug Unit (DBGU)
o 2-wire UART and Support for Debug Communication Channel, Programmable ICE Access Prevention
- Periodic Interval Timer (PIT)o 20-bit Interval Timer plus 12-bit Interval Counter
- Watchdog Timer (WDT)o Key-protected, Programmable Only Once, Windowed 16-bit
Counter Running at Slow Clock- Real-time Timer (RTT)
o 32-bit Free-running Backup Counter Running at Slow Clock with 16-bit Prescaler
![Page 6: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/6.jpg)
- One 4-channel 10-bit Analog-to-Digital Converter- Three 32-bit Parallel Input/Output Controllers (PIOA, PIOB, PIOC)
o 96 Programmable I/O Lines Multiplexed with up to Two Peripheral I/Os
o Input Change Interrupt Capability on Each I/O Lineo Individually Programmable Open-drain, Pull-up Resistor and
Synchronous Outputo – High-current Drive I/O Lines, Up to 16 mA Each
- Peripheral DMA Controller Channels (PDC)- One Two-slot MultiMedia Card Interface (MCI)
o SDCard/SDIO and MultiMediaCard™ Complianto Automatic Protocol Control and Fast Automatic Data Transfers
with PDC- One Synchronous Serial Controller (SSC)
o Independent Clock and Frame Sync Signals for Each Receiver and Transmitter
o I²S Analog Interface Support, Time Division Multiplex Supporto High-speed Continuous Data Stream Capabilities with 32-bit
Data Transfer- Four Universal Synchronous/Asynchronous Receiver Transmitters
(USART)o Individual Baud Rate Generator, IrDA® Infrared
Modulation/Demodulation, Manchester Encoding/Decodingo Support for ISO7816 T0/T1 Smart Card, Hardware
Handshaking, RS485 Supporto Full Modem Signal Control on USART0
- Two 2-wire UARTs- Two Master/Slave Serial Peripheral Interfaces (SPI)
o 8- to 16-bit Programmable Data Length, Four External Peripheral Chip Selects
o Synchronous Communications- Two Three-channel 16-bit Timer/Counters (TC)
o Three External Clock Inputs, Two Multi-purpose I/O Pins per Channel
o Double PWM Generation, Capture/Waveform Mode, Up/Down Capability
o High-Drive Capability on Outputs TIOA0, TIOA1, TIOA2- One Two-wire Interface (TWI)
o Master, Multi-master and Slave Mode Operationo General Call Supported in Slave Mode
- IEEE® 1149.1 JTAG Boundary Scan on All Digital Pins- Required Power Supplies:
o 1.65V to 1.95V for VDDBU, VDDCORE and VDDPLLo 1.65V to 3.6V for VDDIOP1 (Peripheral I/Os)o 3.0V to 3.6V for VDDIOP0 and VDDANA (Analog-to-digital
Converter)o Programmable 1.65V to 1.95V or 3.0V to 3.6V for VDDIOM
(Memory I/Os)
![Page 7: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/7.jpg)
AT91SAM9260 Block Diagram
![Page 8: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/8.jpg)
MEMORY MAP:
![Page 9: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/9.jpg)
POWER SUPPLY CIRCUIT:The power supply for SAM9-L9260 must be regulated +5VDC. Please apply exactly 5V as the same power line goes to USB hosts and if you apply over 5V you will damage your USB devices attached to the host.The current consumption is typical 250mA with 180 MHz clock of SAM9260 and 90MHz clock of external bus.For the RTC there is a battery backup power supply from a small 3V Li battery type CR2032.
RESET CIRCUIT:
SAM9-L9260 reset circuit is made with a 4.7k pull-up resistor and a RST button connected to GND.
CLOCK CIRCUIT:
Quartz crystal Q1-18.432Mhz is connected to SAM9-L9260 Xin and Xout pins. Quartz crystal Q2-32768Hz is connected to SAM9-L9260 Xin32 and Xout32 pins.
JUMPER DESCRIPTION:
SMD jumper description
3.3V_E Enable the main 3.3V regulator VR1(3.3V)-RC1587
Default state - closed
3.3V_MCU_E Enable 3.3V to the SAM9260 microcontroler.
Default state - closed
1.8V_MCU_E Enable 1.8V to the SAM9260 microcontroler.
Default state - closed
BDS_E BounDary Scan Enable. The BDS_E jumper is used to select the JTAG boundary scan when JTAGSEL pin asserted at a high level (tied to VDDBU). This pin integrates a permanent pull-down resistor of about 15KΩ to GNDBU. When BDS_E is open JTAG function is selected.
Default state – open
TCK-RTCK Connects RTCK and TCK pins of SAM9260.
Default state open
WPE Connects PC4(pin62) to Write Protection pin of SD/MMC socket. If WP function is not used, WPE jumper has to be open and PC4 is available of EXT connector pin 20.
Default state - closed
![Page 10: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/10.jpg)
CPE Connects PC8(pin61) to Card Present pin of SD/MMC socket. If CP function is not used, CPE jumper has to be open and PC8 is available of EXT connector pin 14.
Default state - closed
NTRST_E When the NTRST_E jumper is closed – connects NTRST(pin 35) to JTAG connector (pin3).
Default state - closed
WP_SFLASH_E When the WriteProtect_SerialFLASH_Enable jumper is closed it allows to protect the boot code written to U5(AT45DB161D-SU) flash memory.
Default state open
WP_NFLASH_E When the WriteProtect_NandFLASH_Enable jumper is closed user can't write in the NAND flash.
Default state open
A2_L/A2_H Connects Address2(A2)pin of U8-24LC256 memory (default not mounted) to logical 0 or logical 1, i.e. A2_L/A2_H define the memory address of I2C bus.Default state - open
PTH jumper description:
BMS_LOW Boot Mode Sellect _ LOW jumper select the boot memory External memory or embedded ROM. When BMS_LOW is closed – BMS pin is logical 0, otherwise – logical 1.
Default state - open BMS_LOW
BAT/EXT The BATerry/EXTernal jumper defines the power source which supplies the backup logic from VDDBU - pin 47. BAT position – 3V Li battery type CR2032 plugged in BAT holder supplies VDDBU through backup VR3(1.8V) MCP1700T-1802E/MB voltage regulator. EXT position – The VDDBU is powered from main 1.8V voltage regulator VR2(1.8V) – LM1117. Default state BAT/EXT
INTRC/EXTCLKThe INTRC/EXTCLK jumper defines the SAM9260 slow clock source.INTRC position – internal RC slow clock oscilator is selectedEXTCLK position – external 32768 crystal is used for SAM9260 slow clock.
![Page 11: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/11.jpg)
Default state INTRC/EXTCLK
RXD1/DRXDThe RXD1/DRXD jumper defines which pin - RXD1 or DRXD - is connected to the RS232 driver (ST3232), i.e. the board allows comunication with PC COM port through RXD1 or DRXD.
RXD1 position – RXD1 function of SAM9260 pin 18 is tied to pin12(R1OUT) of U6(ST3232). DRXD position – DRXD function of SAM9260 pin 21 is tied to pin12(R1OUT) of U6(ST3232). Default state RXD1/DRXD
TXD1/DTXDThe TXD1/DTXD jumper defines which pin - TXD1 or DTXD - is connected to RS232 driver (ST3232), i.e. the board allows comunication with PC COM port through TXD1 or DTXD.
TXD1 position – TXD1 function of SAM9260 pin 17 is tied to pin11(T1IN) of U6(ST3232). DTXD position – DTXD function of SAM9260 pin 22 is tied to pin11(T1IN) of U6(ST3232). Default state TXD1/DTXD
PHY_PDE/PHY_PDCTRL
PHY_PDE position – The PHY chip U7(KS8721BL) enter to power down mode. PHY_PDCTRL position – The PHY chip power down mode is controled from SAM9260 PC1(pin58). OPEN position – The PHY chip is alwаys enabled.
Default state- open PHY_PDE/PHY_PDCTRL
NANDF_E The NANDFlash_Enable allows PC14/NAND_CS pin of SAM9260 to control CE pin of NAND FLASH memory U3(K9F4G08UXM). If the board has to boot from NAND flash the NANDF_E jumper must be closed.
Default state- close NANDF_E
DF_E The DataFlash_Enable allows PC11/SPI0_NPCS1 pin of SAM9260 to control CS pin of serial Data Flash memory U5(AT45DB161D-SU). If the board has to boot from Data Flash the DF_E jumper must be closed.
Default state- close DF_E
![Page 12: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/12.jpg)
![Page 13: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/13.jpg)
INPUT/OUTPUT:
RS232_0 is used as terminal in Linux, so you can connect to PC hyperterminal for instance and work at command prompt.
The cable between SAM9-L9260 and PC must be female – female, null modem type. Terminal settings are 115200 , 8bits, 1stop, no parity, no flow control.
User button with name BUT – connected to SAM9260 pin127 PC15(IRQ1);
Status green LED with name STAT (SAM9260 pin185 PA6). The default Linux installation ties it to NAND activity and lights it up whenever NAND is accessed.
Power supply yellow LED with name PWR_LED indicates the state of SAM9260. The default Linux installation links it to the CPU load and is blinking it with a distinctive heartbeat pattern.
The LED PWR_5V (red) indicates +5V present on the board when it's on.
EXTERNAL CONNECTOR DESCRIPTION:
JTAG:
The JTAG connector allows a software debugger to talk via a JTAG (Joint Test Action Group) port directly to the core. Instructions may be inserted and executed by the core thus allowing SAM9260 memory to be programmed with code and executed step by step by the host software.For more details refer to IEEE Standard 1149.1 - 1990 Standard Test Access Port and Boundary Scan Architecture and SAM9260 datasheets and users manual.
Pin # Signal Name Pin # Signal Name
1 VCC 2 VCC
3 ICE_NTRST 4 GND
![Page 14: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/14.jpg)
5 TDI 6 GND
7 TMS 8 GND
9 TCK 10 GND
11 RTCK 12 GND
13 TDO 14 GND
15 ICE_NRST 16 GND
17 NC 18 GND
19 NC 20 GND
UEXTPin # Signal Name
1 VCC
2 GND
3 PB8
4 PB9
5 PA24_TWCK
6 PA23_TWD
7 PB0(SPI1_MISO)
8 PB1(SPI1_MOSI)
9 PB2(SPI1_SPCK)
10 PB3(SPI1_NPCS0)
USB_D:
Pin # Signal Name
1 +5V
2 USBDM
3 USBDP
4 GND
![Page 15: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/15.jpg)
USB_A:
Pin # Signal Name
1 +5V
2 HDMA
3 HDPA
4 GND
LAN:
Pin # Signal Name
1 TD+
2 TD-
3 RD+
4 GND_LAN
5 GND_LAN
6 RD-
7 GND_LAN
8 GND_LAN
LED Color Usage
Right Yellow Activity
Left Green 100MBits/s (Half/Full duplex)
![Page 16: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/16.jpg)
EXT:
SAM9-L9260 has an ext_connector with 40 pins
Pin # Signal Name Pin # Signal Name
1 3.3V 2 3.3V
3 PC15 4 +5V
5 PB0 6 PC14_NANDCS
7 PB1 8 PC13_RDYBSY
9 PB2 10 PC10
11 PB3 12 PC9
13 PB4 14 PC8
15 PB5 16 PC7
17 PB8 18 PC6
19 PB9 20 PC4
21 PB10 22 PB31
23 PB11 24 PB30
25 PB16 26 PB29_CTS1
27 PB17 28 PB28_RST1
29 PB18 30 PB27
31 PB19 32 PB26
33 PB20 34 PB25
35 PB21 36 PB24
37 PB22 38 PB23
39 GND 40 GND
![Page 17: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/17.jpg)
RS232:
Pin # Signal Name
1 NC
2 RXD
3 TXD
4 6
5 GND
6 4
7 RTS
8 CTS
9 NC
![Page 18: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/18.jpg)
MECHANICAL DIMENSIONS:
![Page 19: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/19.jpg)
SOFTWARE development:
OverviewThe board comes with Linux preloaded in the NAND and DATAFLASH flash
memories. It's based on a custom-built kernel and a Debian 5.0 userland. To use it, connect a null-modem cable to the board and to a serial port on your computer, start a terminal program (e.g. HyperTerminal on Windows, minicom on Unix systems) and configure it to use a 115200 baud rate, 8 data bist, 1 stop bit and no parity and no flow control. Then apply power to the board (use a 5VDC regulated power supply with at least 500mA output current) and you should see the board start-up messages. The default root password is 'olimex'.
Restoring the default bootloader and kernel
If for some reason you need to restore the default factory configuration of the board, the procedure is as follows:
First install the ATMEL AT91-ISP v1.12 package which comes on the disk. Reboot the computer if needed.
Remove the NANDF_E and DF_E jumpers on the SAM9-L9260 board and power it up. Connect an USB cable to the USB_D connector on the board and wait for the board to be detected (the driver should already be installed by the AT91-ISP v1.12 package, so let Windows search for it).
Close the NANDF_E and DF_E jumpers and run the at91sam9260_demo_linux_dataflash.bat file from the sam9-l9260-samba directory. After a while the log file will be displayed and the system should be restored to the default state.
WARNING! This procedure erases the whole NAND flash and the root filesystem will also be destroyed and reset to its factory defaults in the process.
After a successful script execution the bootloaders and the Linux uImage will be placed in DATAFLASH and the root filesystem will be placed in NANDFLASH. The reason to boot from DATAFLASH is an AT91SAM9260 chip errata issue.
Alternative on-board root filesystem restore procedure
Boot-up the board with an alternate root filesystem (e.g. a USB flash drive, NFS exported filesystem...) and use the following command (assuming that the rootjffs2.img file is available in.)sam9-l9260:~# flash_eraseall -j /dev/mtd1sam9-l9260:~# nandwrite -a /dev/mtd1 /rootjffs2.img
You may get some errors about bad blocks not being erased - this is normal and is related to the priciple of operation of NAND flashes. After the process is completed, reboot the board.
Running with another root filesystem
You may choose to use another media for the root filesystem for various reasons - more capacity, faster access, etc. A complete root tree is archived in the sources/sam9-l9260-rootfs.tar.bz2 file. It can be extracted to an empty ext3 partition on an USB drive or to some NFS exported directory. Then you need to tell the kernel where to find the root - this is
![Page 20: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/20.jpg)
accomplished by interrupting the u-boot process at the "Hit any key to stop autoboot:..." prompt and setting the bootargs variable. For example, to boot from a USB flash drive, the command is:
U-Boot> setenv bootargs mem=64M console=ttyS0,115200 root=/dev/sda1 rootdelay=10
and for booting from an NFS server at adress 192.168.0.75:
U-Boot> setenv bootargs mem=64M console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.0.75:nfsroot,proto=tcp ip=192.168.0.222:192.168.0.75
Toolchain
The sources for the bootloaders and the Linux kernel must be compiled under Linux PC host. We don't intend to support Cygwin.
The projects were compiled using Codesourcery G++ lite 2009q1, freely available from http://www.codesourcery.com. A convenience tarball is provided that contains the Codesourcery binaries along with some useful shell scripts. This tarball must be extracted in user's home directory. Example:
cd $HOMEtar xjf codesourcery-toolchain-2009q1-repack.tar.bz2
The latter will create a directory$HOME/bin/codesourcery-armgcc-2009q1
Along with some shell scripts that must be sourced before compilation:$HOME/bin/linux_cross_compile.sourceme$HOME/bin/bootloader_cross_compile.sourceme
The latter shell scripts would add the cross compiler binaries to the PATH environment variable and will set the ARCH and CROSS_COMPILE variables to arm and arm-none-linux-gnueabi-/arm-none-eabi- respectively.
Building a custom kernel
The recommended build method is to use a cross-compiler. Building natively should also work but would be very time-consuming. At the moment of this writing, the current kernel version is 2.6.31-rc3, for which a pre-patched tarball is provided. After extracting the sources in a temporary directory you can build the default kernel by typing
$ source $HOME/bin/linux_cross_compile.sourceme$ make sam9_l9260_defconfig$ make uImage
After the compilation, the kernel should be available at arch/arm/boot/uImage. If the build process fails to detect the mkimage program then you need to get it and put it in your PATH. The easiest way is to compile U-Boot and fetch it from the u-boot/tools subdirectory.The new kernel can be transferred to the board by various means - e.g. use the board restoration process and change the kernel in there, tftpboot-ing the board, etc.
Convenience GIT patches for the kernel are also provided in a separate tarball.
![Page 21: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/21.jpg)
Building the bootstrap binary
Extract the sources from source/at91bootstrap-2.4-olimex.tar.bz2 to your working directory and issue the following commands:$ source $HOME/bin/bootloader_cross_compile.sourceme$ make sam9_l9260_defconfig
If everything is correct, the resulting binary file will be located in the /binaries directory.
Building U-Boot
Extract the sources from source/u-boot-olimex-git20090716.tar.bz2 and issue:$ source $HOME/bin/bootloader_cross_compile.sourceme$ make sam9l9260_config$ make
Cross-compiling a simple "hello world" example
Extract one of the provided cross-compilers on your host system and add it to the PATH variable. Use the cross-compiler to build the example, then transfer it to the board by e.g. USB flash drive, http download etc. Example commands:----- On the host system -----$ source $HOME/bin/linux_cross_compile.sourceme$ cat > hello.c#include <stdio.h>int main(void)
unsigned int i;printf("\r\nProba proba ");for (i=0; i<10; i++)
printf("\r\n%d", i);return 0;
^D$ arm-none-linux-gnueabi-gcc -o hello hello.c$ cp hello ~/htdocs/----- On the board -----~ # wget http://192.168.0.xx/hello~ # chmod 777 hello~ # ./helloProba proba01....
![Page 22: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/22.jpg)
Using JTAG to program the board
A sample project is provided in the “TEST_BUTT” directory that demonstrates how to write a project that runs directly on the core, without the need of an operating system. It was developed using IAR Embedded Workbench for ARM ver. 4.42A with a Segger J-Link JTAG adapter
Common QuestionsQ: When booting from the internal NAND flash the board seems to hang at "INIT: version 2.86 booting" and/or "Activating swap...done" linesA: When mounting the JFFS2 root filesystem, the system performs a consystency check (similar to fsck). This almost blocks all access to the nand flash and the system appears to hang. Please wait - on a first boot of a new filesystem this could take up to 5 minutes and is considered normal.
Q: There are messages "Buffer I/O error on device mtdblock0, logical block 0;end_request: I/O error, dev mtdblock0, sector 0" during boot-up. Is there a problem on the board?A: These messages indicate incorrect OOB records in the part of the flash where the bootloader is stored and are due to the version of SAM-BA which is used to write the various parts of the bootloader. For all pracical reasons the above messages are harmless.
Q: The I/O operations are slow when using the on-board nand flash or USB flash drive.A: When doing a sequential read/write (e.g. one single large file) flash memories can be fast. When reading/writing many small files the performance will be really low.
Q: How to boot from the on board DataFlash?A: Make sure that NANDF_E jumper is not connected and DF_E jumer is connected. If the dataflash has been correctly programmed, the board should start up.
Q: Is the SD/MMC card supported?A: The SD/MMC card is fully supported, including detection of card insertion/removal and write lock
Q: What do the two LED's indicate?A: These two leds are driven by default by the linux LED driver. The STAT LED is switched on NAND memory access. The PWR_LED LED is blinking with a distinctive heartbeat pattern and a frequency that depends on the system load.
Q: The system time is lost after reset, how to avoid that?A: Unfortunately the Linux AT91SAM9 RTC driver is not yet operational. When it is completed, you would just need a standard 3V battery at the socket at the back of the board. Until then please set the date manually or use a network time synchronization utility as ntpdate. Note also that AT91SAM9260 chips have a RomBOOT errata issue where RomBOOT incorrectly resets the RTT on every system reset.
![Page 23: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/23.jpg)
Acknowledgemens:
The kernel used is based on Linux-2.6.31-rc3The root filesystem is a debian lenny distributionThe bootstrap loader is based on the at91bootstrap-2.4 package, provided by ATMEL at http://www.at91.comThe u-boot bootloader is based on a GIT checkout from http://git.denx.de/u-bootThe cross-compilers are available from http://www.codesourcery.comAll of the above packages are distributed under the GPL and/or another free license (e.g. BSD license).
![Page 24: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/24.jpg)
ORDER CODE:
SAM9-L9260 – assembled and tested (no kit, no soldering required)
How to order? You can order to us directly or by any of our distributors. Check our web www.olimex.com/dev for more info.
All boards produced by Olimex are RoHS compliant
Software revision history:
REV.A - created April 2008
REV.B - created September 2008
- moved bootloaders and Linux kernel image to DATAFLASH because of SAM9 chip errata
- switched to codesourcery toolchain
- updated to Linux version 2.6.26.3
- updated to u-boot-1.3.4-git
- moved NAND flash root image writing into the SAM-BA script
REV.C - created July 2009
- updated to Linux version 2.6.31-rc3
- updated to Debian Lenny ARMEL distribution
- updated to latest GIT checkout of u-boot (2009.06-00374-g3427faf)
Hardware revision:
Rev. B - created June 2008
![Page 25: SAM9-L9260 development board Users Manual - MCI Electronics · Software: The CD contains Linux 2.6 complete with source and binary in CD. BOARD LAYOUT: SCHEMATIC: P A 2 8 _ E C R](https://reader036.fdocuments.us/reader036/viewer/2022071004/5fc140fc3e857c787057fea9/html5/thumbnails/25.jpg)
Disclaimer:
© 2009 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.