ATMEL MBC-SAM9G45 Core Board User Guide
ATMEL MBC-SAM9G45 ARM9 Board User Guide
Rev. 1.0
![]()
Release:2010-5-31

EMBEST CO., LIMITED
Address: Room 509, Luohu Science & Technology Building,
No.85, Taining Road, Shenzhen, Guangdong, China 518020
Telephone: +86-755-25621715 /
Fax: +86-755-25616057
Sales Email: sales.en@embedinfo.com
Support Email: support.en@embedinfo.com
Information Email: info@embedinfo.com
Website: http://www.embedinfo.com/en
Technical Assistance: http://www.embedinfo.com/en/Request.asp
Revision history
|
Rev |
Date |
Description |
|
1.0 |
2010-5-31 |
Initial version |
Chapter 1 Overview
1.1 The Microcontroller Introduction
The ARM926EJ-S based AT91SAM9G45 features the frequently demanded combination of user interface functionality and high data rate connectivity, including LCD Controller, resistive touchscreen, camera interface, audio, Ethernet 10/100 and high speed USB and SDIO. With the processor running at 400MHz and multiple 100+ Mbps data rate peripherals, the AT91SAM9G45 has the performance and bandwidth to the network or local storage media to provide an adequate user experience.
The AT91SAM9G45 supports the latest generation of DDR2 and NAND Flash memory interfaces for program and data storage. An internal 133 MHz multi-layer bus architecture associated with 37 DMA channels, a dual external bus interface and distributed memory including a 64-Kbyte SRAM which can be configured as a tightly coupled memory (TCM) sustains the high bandwidth required by the processor and the high speed peripherals.
The I/Os support 1.8V or 3.4V operation, which are independently configurable for the memory interface and peripheral I/Os. This feature completely eliminates the need for any external level shifters. In addition it supports 0.8 ball pitch package for low cost PCB manufacturing.
The AT91SAM9G45 power management controller features efficient clock gating and a battery backup section minimizing power consumption in active and standby modes.
1.2 The Development Board Introduction
The ATMEL MBC-SAM9G45 ARM9 Board is an ARM embedded evaluation board produced by Embest, integrate the ATMEL ARM926EJ-S-based processor AT91SAM9G45, operating at 400MHz frequency, and can support WinCE and Linux. The board has 256MB NandFlash, 4 MB DataFlash and 128 MB DDR2 SDRAM.
1.3 Hardware resources list
|
l AT91SAM9G45 ARM 32-bit CPU, 400MHz maximum frequency l An internal 64KB SRAM l An internal 64KB ROM l An external 256MB NandFlash l An external 4MB DataFlash l 2 external 64MB DDR2 SDRAM l 1 reset buttons l 1 UART l 1 Mini USB |
Chapter 2 Getting Started
2.1 Check listing
1) A ATMEL MBC-SAM9G45 ARM9 Board
3) A cross-serial line
4) A USB line
5) A serial port adapter
7) A CD-ROM
2.2 Documents Description
|
File name / Item |
Description |
Attribute |
|
MBC-SAM9G45 WinCE User Manual |
Descript how to download and use WinCE |
|
|
MBC-SAM9G45 Linux User Manual |
Descript how to download and use Linux |
|
|
MBC-SAM9G45 UserManualV1.0.pdf |
The first version of the User Manual |
|
|
SAM9G45-CORE_SCH.pdf |
Development board schematic |
|
|
Datasheet of AT91SAM9G45 |
|
|
|
AT91SAM9G45 Reference Manual.pdf |
Reference Manual of AT91SAM9G45 |
|
|
Other PDF documents |
Introduce other modules in the board, such as USB, NandFlash… |
|
2.3 Version Information
Ø The version of the SAM-BA: SAM-BA V2.9
2.4 Hardware resource requirements
When we test MBC-SAM9G45 ARM9 Board, PC recommended the following configuration:
l 2.0GHz (or higher) of the CPU
l 512M RAM
l 2 USB interfaces
l A serial interface
l Windows XP operating system
2.5 Preparations
Ø Jumper Settings: Jumper use the default sets, no need to change.
Ø Serial Connection: Connect com of board and the com of PC through serial port cable.
Ø USB Connection: Using USB cable, one end plugged into the Mini USB port on the board, the other end connected to PC.
Ø Serial Port Receive Settings: In the PC, run HyperTerminal serial communication program, select the serial port used and set the following parameters (to set status: Baud rate (115200), data bits (8 bits), stop bits (1 bit), parity bit (no ), data flow control (no)).
2.6 How to use the factory program
The factory program in the ATMEL MBC-SAM9G45 Development Board is Linux.
After reset the board, you can see the uboot’s load information from the HyperTerminal. And when Linux is loaded successfully, you can see the information as follows:
at91sam login:root
Input ‘root’ to login the Linux system.
2.7 How to recovery the factory program
2.7.1 Install download tools
We have a simple way to download Linux images to ATMEL MBC-SAM9G45 ARM9 Board. You only need a USB cable to download Linux images through SAM-BA. SAM-BA can download bin or hex file to MBC-SAM9G45 board using USB cable.
If you do not install SAM-BA in your PC, you can install it as follows.
Open 03-tools/SAM-BA directory, double click to install AT91-ISP v1.13.exe.

Then install SAM-BA according to the hint. After install, you will see SAM-BA v2.9 icon in the desktop.
2.7.2 Connect ATMEL MBC-AM9G45 ARM9 Board with SAM-BA
2.7.2.1 Disable NandFlash
Open the JP3 jumper in the MBC-SAM9G45 board to Disable NandFlash, then press K1 button to reset the board.
2.7.2.2 Install MBC-SAM9G45’s USB driver
Ø After install the SAM-BA and disable the NandFlash in the board according to the step in 2.2.1, then power on or reset the board. PC will pop-up a dialog that find an USB device and need to install its driver.
Ø The USB driver has been in SAM-BA’s install directory: ATMEL Corporation\AT91-ISP v1.13\sam-ba 2.9\drv, click next to point out the install path.
Note: You should install the USB driver only in the first time.
2.7.2.3 Connect the ATMEL MBC-SAM9G45 ARM9 Board
Double click the SAM-BA v2.9 icon in the PC’s desktop, then it will display the dialog:

Click ‘Connect’ to connect the ATMEL MBC-SAM9G45 ARM9 Board with PC.
2.7.2.4 Enable NandFlash
After you connect to the MBC-SAM9G45 board, you should close the JP3 jumper to enable NandFlash.
2.7.3 Download Linux images
1) Auto download
After step1 and step2, open the 02-Images\linux image, click SAM9G45_nandflash.bat. Waiting about 3 minutes, SAM-BA will download the Linux images to the board automatically. After download, connect the development board with the PC using serial port line, then reset the board, you will see the Linux startup information in the HyperTerminal.
2) Manual download
Ø NandFlash demo Memory map

Ø Use SAM-BA to download
ü After step2.1 and step2.2,you can get

ü Select NandFlash then enable NandFlash

ü Download nandflash_at91sam9g45ekes.bin


ü Download u-boot.bin

ü Download ubootEnvtFileNandFlash.bin

ü Download uImage

ü Download Angstrom-x11-image-demo-glibc-at91.rootfs.jffs2

Chapter 3 ATMEL MBC-SAM9G45 ARM9 Board Introduction
3.1 Board Interface Overview

Joggles description
|
Joggle name |
Function |
|
J1 |
5V Power |
|
J2 |
Extended pins |
|
J3 |
Mini USB |
|
J4 |
UART |
J1 interface
|
Pin |
Pins signal |
|
1 |
5V |
|
2 |
GND |
J3 interface
|
Pin |
Pins signal |
|
1 |
5V |
|
2 |
D- |
|
3 |
D+ |
|
4 |
ID |
|
5 |
GND |
J4 interface
|
Pin |
Pins signal |
|
1 |
3V3 |
|
2 |
DTXD |
|
3 |
DRXD |
|
4 |
GND |
3.2 Board Extended Pins Description
J2 Extended pins
|
Pin |
Pins signal |
Pin |
Pins signal |
|
2 |
5V |
1 |
5V |
|
4 |
GND |
3 |
PA10/ETX0 |
|
6 |
HFSDMA/HHSDMA |
5 |
PA11/ETX1 |
|
8 |
HFSDPA/HHSDPA |
7 |
PA12/ERX0 |
|
10 |
GND |
9 |
PA13/ERX1 |
|
12 |
NC |
11 |
PA14/ETXEN |
|
14 |
NC |
13 |
PA15/ERXDV |
|
16 |
GND |
15 |
PA16/ERXER |
|
18 |
PD27/SPI0_NPCS3/PCK1 |
17 |
PA17/ETXCK |
|
20 |
PD14/TF1 |
19 |
PA18/EMDC |
|
22 |
PD12/PCK0/TK1 |
21 |
PA19/EMDIO |
|
24 |
PD10/TD1 |
23 |
RF0/PD5 |
|
26 |
PD11/RD1 |
25 |
PB13/DTXD |
|
28 |
PD13/RK1 |
27 |
PB12/DRXD |
|
30 |
PD15/RF1 |
29 |
GND |
|
32 |
PA20/TWD0 |
31 |
PE7/LCDD2/LCDD0 |
|
34 |
PA21/TWCK0 |
33 |
PE8/LCDD3/LCDD1 |
|
36 |
NRST |
35 |
PE9/LCDD4/LCDD2 |
|
38 |
NTRST |
37 |
PE10/LCDD5/LCDD3 |
|
40 |
TCK |
39 |
PE11/LCDD6/LCDD4 |
|
42 |
TDO |
41 |
PE12/LCDD7/LCDD5 |
|
44 |
RTCK |
43 |
PE13/LCDD10/LCDD6 |
|
46 |
TDI |
45 |
PE14/LCDD11/LCDD7 |
|
48 |
TMS |
47 |
PE15/LCDD12/LCDD8 |
|
50 |
PB19/SPI0_NPCS2/TXD0 |
49 |
PE16/LCDD13/LCDD9 |
|
52 |
PB18/SPI0_NPCS1/RXD0 |
51 |
PE17/LCDD14/LCDD10 |
|
54 |
PB4/TXD1 |
53 |
PE18/LCDD15/LCDD11 |
|
56 |
PB5/RXD1 |
55 |
PE19/LCDD18/LCDD12 |
|
58 |
PB6/TXD2 |
57 |
PE20/LCDD19/LCDD13 |
|
60 |
PB7/RXD2 |
59 |
PE21/LCDD20/LCDD14 |
|
62 |
SHDN |
61 |
PE22/LCDD21/LCDD15 |
|
64 |
WKUP |
63 |
PE23/LCDD22/LCDD16 |
|
66 |
PB14/SPI1_MISO |
65 |
PE24/LCDD23/LCDD17 |
|
68 |
PB15/CTS0/SPI1_MOSI |
67 |
PE25/LCDD18 |
|
70 |
PB16/SCK0/SPI1_SPCK |
69 |
PE26/LCDD19 |
|
72 |
PB17/RTS0/SPI1_NPCS0 |
71 |
PE27/LCDD20 |
|
74 |
PD24/SPI0_NPCS1/PWM0 |
73 |
PE28/LCDD21 |
|
76 |
PD26/PCK0/PWM2 |
75 |
PE29/LCDD22 |
|
78 |
PD7/AC97TX/TIOA5 |
77 |
PE30/LCDD23 |
|
80 |
PD6/AC97RX |
79 |
PE2/LCDCC |
|
82 |
VDDBU |
81 |
PE0/PCK0/LCDPWR |
|
84 |
GND |
83 |
PE1/LCDMOD |
|
86 |
PB28/ISI_PCK |
85 |
GND |
|
88 |
PB29/ISI_VSYNC |
87 |
PE5/LCDDOTCK |
|
90 |
PB30/ISI_HSYNC |
89 |
PE4/LCDHSYNC |
|
92 |
PB31/PCK1/ISI_MCK |
91 |
PE3/LCDVSYNC |
|
94 |
PB20/ISI_D0 |
93 |
PE6/LCDDEN |
|
96 |
PB21/ISI_D1 |
95 |
GND |
|
98 |
PB22/ISI_D2 |
97 |
PD22/TIOA2/TSAD2 |
|
100 |
PB23/ISI_D3 |
99 |
PD21/TIOA1/TSAD1 |
|
102 |
PB24/ISI_D4 |
101 |
PD23/TCLK0/TSAD3 |
|
104 |
PB25/ISI_D5 |
103 |
PD20/TIOA0/TSAD0 |
|
106 |
PB26/ISI_D6 |
105 |
GND |
|
108 |
PB27/ISI_D7 |
107 |
PA0/TCLK3/MCI0_CK |
|
110 |
PB28/ISI_D8 |
109 |
PA1/TIOA3/MCI0_CDA |
|
112 |
PB9/RXD3/ISI_D9 |
111 |
PA2/TIOB3/MCI0_DA0 |
|
114 |
PB10/TWD1/ISI_D10 |
113 |
PA3/TCKL4/MCI0_DA1 |
|
116 |
PB11/TWCK1/ISI_D11 |
115 |
PA4/TIOA4/MCI0_DA2 |
|
118 |
GND |
117 |
PA5/TIOB4/MCI0_DA3 |
|
120 |
5V |
119 |
5V |
3.3 Jumpers Settings
|
Jumper |
DEFAULT |
Description |
|
JP1 |
CLOSED |
VDDBU POWER SUPPLY |
|
JP2 |
OPENED |
Dataflash CS |
|
JP3 |
CLOSED |
Nandflash CS |
|
JP5 |
CLOSED |
+5V POWER SUPPLY |
3.4 Hardware Interface Introduction
3.4.1 UART
MBC-SAM9G45 development board provide a 4-pin UART debug interface, we can convert it to 9-pin common RS-232 interface with the provided Adapter. This UART port can be used for communication and trace purposes. It offers an ideal channel for ISP downloading.
3.4.2 Mini USB Port
A USB Mini AB interface is implemented to transport USB data, and it also supports USB-OTG full speed.
3.4.3 Reset Button
The Button K1 is used to reset the MBC-SAM9G45 Board.
3.4.4 LED
When MBC-SAM9G45 Board is power, the LED D1 is bright.
Chapter 4 Linux User Manual
Refer to “MBC-SAM9G45 Linux User Manual”
Chapter 5 Windows CE 6.0 User Manual
Refer to “MBC-SAM9G45 WinCE User Manual”
Appendix A: After-sale Service
Embest is at your service, and we have special Technical Support Engineers to provide support and consultation in forms of telephone, E-mail and Fax.
• TEL: +86-755-25621715
• FAX: +86-755-25616057
• E-mail: support.en@embedinfo.com




