Home
SAM9-L9260 development board Users Manual
Contents
1. 256M Bytes 256M Bytes 256M Bytes 256M Bytes 256M Bytes 256M Bytas 256M Bytes 256M Bytes 1 518M Bytes 0x30 0000 FFFF Internal Memory Mapping 60000 0000 0x10 0000 0x10 8020 0x20 0000 0x20 1000 0x30 1000 0x50 0000 0504000 OxOF FF FFFF Peripheral Mapping OxFOGO 0000 OxFFFA 0000 OxFFFA 4000 OxFFFA 2020 OxFFFA 000 OxFFFB 0000 OxFFFB 4000 CxFFFB 9000 OxFFFB OxFFFC 0009 1 4000 8002 SPIO OxFFFC C000 OxFFFD 0009 4009 sc 8 5 S OxFFFD 8009 USARTS OxFFFD CODO TC3 TC4 TCS OxFFFE 0000 OxFFFE 4000 OxFFFF 000 16K Byles 16K Bytes 16K Bytes 16K Bytes 16K Bytes 46K Bytes 16K Byles 16K Bytes 16K Byles 16K Bytes 46K Bytes 16K Bytes 46K Bytes 16K Byles 46K Bytes 16K Byles 46K Bytes 16K Bytes 32K Bytes 4K Bytes 4K Bytes 16K Bytes OxFFFF FFFF 1 be ROM 50 or SRAM depending on BMS and REMAP System Controller Mapping OxFFFF C900 OxFFFF E300 OxFFFF EA00 OxFFFF ECOO OxFFFF EEOO MATRIX OxFFFF EF10 512 Byles OxFFFF F000 oe OxFFFF F200 OxFFFF F400 12 Bytes OxFFFF F800 512 bylos F800 512 bytas OxFFFF FCOO 256 Bytes OxFFFF FDOO 16 Dytas KFFFF FDIO 18 Bylo F
2. gt P 54 1 39 Tarz Sil 227 C 1jjtop sock l RaQ G lt RZS SDCLK 1 teur7e3ul 2 5 21 1 65 66 5 S A 3 L 9 2 6 0 C22 jigonF 21941 0001001 CASN C23 1 0 3 1080n COPYRIGHT lt C 2008 OLIMEX Ltd 5 C24 1 132 GNDIONS NR SL Aor 877 RASN er http uuw olimex com dev gt p E parT gt f s2 JD Opo z POI C30 100nF age DIOS 5 PUR_JACK 00105925 GNDIOPO 7 8103 32 C32 100 1168 VODIOPL L FB1206 RC1587NO_CUT 01 4 C33 2 O ay 341 100 apa aka nae BAT EXT Sf C35 IDARE VODCORE2 GNOCORE2 GND ADI 5 1895 HE 1 20 ENDCORE TYS 289 5 914 Alar P A x ESL JOANNE VODEORES GNOCORES 606 4 Mt UDDBU GNDBU C97 avoo AUDD AGND UDDANA 4 c38 H UDDBU UPEFD 1000 6 30 tant B13 AR Liber holder em leas SaL 2 55 6100 Pi I Obs lt eur E43 438 UDDPLLEB UDDOSE apuRerp 452 C4411 AGND 3 3U 3 30 1 5 100 peen XIN 5 2 T3 pop 55 DD 2 x GN
3. 2412256 PHY_IRQ R75 PBL0 111 PB L14 311 10 2 11 3 6812 0 13 1 16 19 22 28 5 29 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 Media Independent Interface or Reduced Media Independent Interface 28 byte FIFOs and Dedicated DMA Channels for Receive and Transmit Bus Matrix Six 32 bit layer Matrix Boot Mode Select Option Remap Command Fully featured System Controller including o Reset Controller Shutdown Controller o Four 32 bit Battery Backup Registers for a Total of 16 Bytes o Clock Generator and Power Management Controller Advanced Interrupt Controller and Debug Unit 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 Lo
4. 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 125 Analog Interface Support Time Division Multiplex Support o 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 Decoding Support for 1507816 1 Smart Card Hardware Handshaking RS485 Support o Full Modem Signal Control on USARTO Two 2 wire UARTs Two Master Slave Serial Peripheral Interfaces SPI 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 High Drive Capability on Outputs TIOAO TIOA1 TIOA2 One Two wire Interface TWI Master Multi master and Slave Mode Operation o General Call Supported in Slave Mode IEEE 1149 1 JTAG Boundary Scan on All Digital Pins Required Power Supplies 1 65 to 1 95V for VDDBU VDDCORE and VDDPLL 1 65V to 3 6V for VDDIOP1 Peripheral I Os 3 0V to 3 6V for VDDIOPO and VDDANA Analog to digital Converter o Programmable 1 65V to 1 95V or 3 0V to 3 6V for VDDIOM Memory
5. SAM9 L9260 development board Users Manual Rev D September 2009 Copyright c 2009 OLIMEX Ltd All rights reserved 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 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 64MB 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 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 electrost
6. 0 151 04 PCSZNCS5ZCFCS1ZTIDBO RILBC DSOTCL RX RXD2 PHYADZ 5 PALS ERXL to 2825 6519 151_05 PCB NCS4 CFCSA RTS3 RX RXD1ZPHY D3 lt PALS a PRO 2 26 5 161 2 672 UDDRX RXDO PHYAD4 gt 28 51 22 5 151 07 6 2 PD VODIOL m PB2B RTS1 1SI_PCK PCS A24 SPI4_NPCSL 3 3 5 iori LED3 NWAYEN GND1 Bes PB29 CTS4 ISI_VSYNC PC4 A23 SPI1_NPCS2 p Q HE THRE LED2 DUPLEX RXDU CRSDU PCS_LPEK 2838 1 2 pB30 PCK0 1SI HSYNC PC1 AD1 PCKO LED1 SPD100 NFEF 2831 178 PCB ADB SCKS p lt LED TEST m RXER ISO x HE D6 37 SEI INT PHYADO 5 602 TXOL 0TXO Tj 33 470K 33 b 117 2 114 317 55 is BS E R52 FERAS 9 DASE E a 3 35 O 22 TAIN TLOUT ellow 3000F m 230 PATS ERX 58 R38 R39 581 2e 2878 CTS T20UT Fi PA14_ERXB EE 4 7K 4 7 0817 271 2 BI2 RE 7 STAT 9 m B18 B R10UT PA24_TWCK Ce R2QUT 55138 g 4 37 pase 820 gt lt E ERE E pa 28 1 33 gt PHY_PDE PHY_POCTRL r N g 5
7. etc Example commands the host system source HOME bin linux_cross_compile sourceme cat gt hello c include lt stdio h gt int main void unsigned int i print r nProba proba for 0 i lt 10 i printf r n d i return 0 arm none linux gnueabi gcc hello hello c cp hello htdocs the board weet http 192 168 0 xx hello chmod 777 hello hello Proba 0 1 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 Embedded Workbench for ARM ver 4 42A with a Segger J Link JTAG adapter Common Questions Q When booting from the internal NAND flash the board seems to hang at INIT version 2 86 booting and or Activating swap done lines A When mounting the JFFS2 root filesystem the system performs a consistency 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 There are messages Buffer I O error on device mtdblock0 logical block 0 end_request error dev mtdblock0 sector 0 during boot up Is there a problem on the board A These messages indicate incorrect OOB recor
8. 398 2 339 1 1 ais 157 _ 288 3 659 33k 33k 33K 33 19 33K 33k 3 39 2 ae SD MMC BMS_LOW gt 152 aiz ena 58 812 C15 C15 vj ej s A16 8 9 N He 142 16 B Ea 1 Fei 815 es 2 WTF 05876 M 179 84 A13 N v N 5 KOON PA SPIG_MISO NCOBA A13 9 N CO DAT3 CS 5 DAT HECHE 0270 deos 180 1 1 051 12 9 an 100nF 100 eal s 5 6 3 8 CHDZDI 3 PAS HCUB3 181 PAZ SPIG_SPCK A11 86 ALA T R5 0851 DAF PEDE 182 PA3 SPIA_NPCS MCOB3 aig 8 10 PC13_RDYBSY RNB 4 MCCK LENT DES MCDB 2 2 ag 88 R CLK SCLK 184 pas cTS2 MCDBL 8 88 22 uss2 4 zen EAS 185 Das zHMCDAQ 82 7 A21_NANDALE 9 311 3 39 00 g roug PAS_M 189 as 22 58 1 5 asa MCCK 189 as St DAT2 RES LUBE PAS NCDAL At 1 Sg 13 92 Vi HH ae Ss SE SR Fore PAL 1 rz g leas R35 P 12 ETXB AL NHRZ NBSZ 093 A3 R13 PAEA 239 188 SE POET 58 8 5 5 4 7
9. D20 16 Bylas OxFFFF FDO 16 Bytes OxFFFF FD40 16 Bylos OxFFFF FDS0 16 Bytas OkFFFF FDG 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 e 3 3V_MCU E Enable 3 3V to the SAM9260 microcontroler Default state closed LEZ 1 8 Enable 1 8V to the SAM9260 microcontroler Default state closed E 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 15KQ to GNDBU When BDS_E is open JTAG function is selected rir Default state open TCK RTCK Connects RTCK a
10. DPLLE GNOOSC Don 5 E 01 18 13 80 o3 0 3 39 E a UDDBU 21 m DNA 185819 lt 6 2 meee SEES Sat igu C18 C17 1 0 21 00 32 100 SDAL HOPA HDMA DDP PLLRCA 154 95 5 50818 1104 ASN R R70 R71 9 KE F 1 C19 105 RA PC14_NANDCS 3 39 NIY l 22 R JTAG 19 1 5M 2 20pF sone 46 DHEN RESTA cee USB_D 2 RABBI ice wrest 28 socke bot NANOF_E 4 2 1 A 9 ZZ NAND 43k _ SSR 33p Nn P 1 N 35 74 ANDO AN 8 THS Tk PLLECA 34 NIRST sa 45 10 9 TCK g x TDI NRO CFOE 6 RZ4 39R 4 amp a RICK 642 Less Rope TOI NWRS NBS3 CFIOW 201 CELH Need c81 82 C73 swan 14 13 O InF ANDE 15pF 7 16 15 TDO 10nF Tacsi TS NURB NUE CFUE 20 ee R3 12 LICE_NRST RS NST Nak 27 Mates a_S 3 3 18 12 f 22 STCK neso WMO 22_ 3 30 A21 NANDALE NAST A22 NANDCLE 2 DCLE 3 30 R20 1 42 z4 AZ1_NANDALE ON A21 NANDALE 1 1 15 4 TDI THS TCK RTCK TD0 JTAGSEL NTRST NRST R21 10K 40 aza 25 78 HOMA 961
11. I Os T91SAM9260 Block Diagram MASTER SLAVE IRODIROZ2 gt 10 100 Ethernet Imaga MAC Sensor DRXD DTXD Interface DMA DMA 6 layer Matrix OSCSEL XIN32 SHDN 22 channs EBI Peripheral CompactFlash DMA NAND DRAM Controller VDDCORE NAST 4 charnel Use 10 bit ADO Device eei PRET GOO 2 5 lt lt F LE PIS LF LAP LNG OOP PLE SF SF gs Oe SEL lt REESE a REE se OS 2 TFA LS SR ROSAS 4 00 015 2014950 AINBS2NWR2 2 1 A18 A20 AIEBAO AITIBAL Ncso NCS1 SDCS NWR1NBS1 NWRANBSI SDCK_SDCKE RAS CAS 2 252 4656 NCST NCS3 NANDCS MEMORY Address Memory Space Ox0000 0000 Internal Memories OxOF FF FFFF 0 1000 0000 EBI Chip Select 0 Oxi FEF FFFF 0x2000 0000 EBI Chip Select 1 SDRAMG Ox2FFF FFFF 0x3000 0000 EBI Chip Select 2 N3FFF FFFF 0x4000 0000 EBI Chip Select 3 NANDFlash Ox4FFF 0x5000 0000 EBI Chip Select 4 Compact Flash OXSFFF FFFF Sao 0x8000 0000 EBI Chip Select 5 Compact Flash FFFF Slot 1 0x7000 0000 EBI Chip Select 6 Ox7FFF 0x3000 0000 Chip Select 7 OxBFFF FFFF 0x9000 0000 OxEFFF FFFF 0 020 0000 Internal Peripherals OxFFFF
12. ION TAG 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 7 F N 4 3 5 7 44 5 49 Signal Pin Signal USB Pint Signal Name _ Signal Signal LAN Signal Name SAM9 L9260 has ext_connector with 40 pins 2 89999099998999999 9 seem 2 PB5 PB8 e e mm e mamn o s D N 2 5232 DIMENSIONS 2 yes 92002 35 Ba Veo 20000 0 n000 410 000600 28 OOOOOOOOOni 00000000002 2 90 O O Os SOFTWARE development Overview The board comes with Linux preloaded in the NAND DATAFLASH flash memories It s based on a custom built kernel and
13. K 1K gux a 006 816 045 22 32 2 86 1 097 Ba Na oe a DALE RST 19 012 A1 AP 0010 0010 ALB AP 3 390 PAZB EMDC 011 211 0011 0044 us CE 2 6 s NA 3 ioa SH TAKT6x3 8 8 XY 5 jH 8 2 2 08 0914 001 7 lt 24 07 T 0915 0915 gt PA25 TCLK ERXZ 06 BAL 3 3U BAL 3 NRST mx 26 05 5 Q ax a PAZ TIUALZERXCK 04 lt Ae 9001 1 001 1 4 033 470 3 39 aw PAZB TIUAZ ECRS 0 39 1002 0002 DOMH ZHP ZCS z C PAZS SCK1 ETOL 02 lt 18 UDD3 HD_SFL SH_E lia oy 01 vooo cs WRITE PROTECTED NORMALLY OPEN lt ag CASN 17 2002 pouz HE lt DFE 50 RASN pas 00 Senay AS R55 R St PO1 SP11_MOSI TIOBI 1 21 145 D21 ae eee ii o PB2 SP11_SPCK TIOA4 144 03 SDCLK 98 28 554 28 Rass TEE ng PA3 SP11_NPC
14. SA TIOAS 29 29 243 029 SDCLKEN22 cre uss2 552 22 __SDCLKEN 8 2 2 142 058 0553 9553 x Q4 PES RXD 27 027 05501 3 39 4QuF 6 3U GP ze PH6 TXDL TCLKL 26 025 140 D26 3 30 eae 2 5 100nF 25 2 139 025 5302 05502 s PA7 RXDL TCLK2 PC25 025 05503 5503 ii 2 PC24 D24 138 521 48 05504 05504 a PAS RXD2 PC23 023 ee em py yy IKE PBAB TXD3 1S1I_D8 22 gt 2 126 022 R2 45561632 175 45541632 7175 ceg errite bead PB11 RXD3 ISI_D9 21 121 00 125 021 470K C71 PB14 134 02 RST f 1 Gur 6 3U PB15 Pa14 DRXO PC26 D24 SPI1_NPCS3 49 013 5 231 019 3 39 PB16 TK TCLK3 pc18 D18 SPI4_nPES1 130 018 PB17 TF TCLK4 pc17 D17 splo_npcsa 229 017 8 Raa 1 1 4 PpC16 D16 sple_npcs2 128 _ 016 2 1 5 17 a PB13ZRDBZ TIOB5 PC15 NWAIT IRGL 2 PH2BZ RKBZISI_DQ P 5 5 ase ae ee anata ADLG 11 PCL4 111 PC13_ PDYBSY PC14 5 15 ADL 1I PCL4 111 PC13_RDYBSY PC14_NANDCS PC15 tt 5 PALO 22 05 151_ 2 PC11ZNC52ZSPIQ_NPLS1 HDC 3 PADS 2 23 0 0 151 03 PC14 A25 CFRNW CTS3 FXSO F XEN RXD3 PHYADL PA25 ERX2 24
15. a Debian 5 0 userland To use it connect 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 115200 baud rate 8 data bits 1 stop bit and no parity and no flow control Then apply power to the board use a 5 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 and DF jumpers 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 jumpers and run the at91sam9260_demo_linux_dataflash bat file from the sam9 19260 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 bootloade
16. al jumper defines the power source which supplies the backup logic from VDDBU pin 47 position Li battery type CR2032 plugged in 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 EXTCLK The INTRC EXTCLK jumper defines the SAM9260 slow clock source INTRC position internal RC slow clock oscilator is selected EXTCLK position external 32768 crystal is used for SAM9260 slow clock Default state INTRC EXTCLK RXD1 DRXD The RXD1 DRXD jumper defines which 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 DTXD The 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 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 mo
17. atic 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 BOARD LAYOUT ethernet ext usb host gt t r 701 LED TTE Sa Res wake up jtag uext SCHEMATIC 3 300 1 80
18. de PHY_PDCTRL position The PHY chip power down mode is controled from SAM9260 PC1 pin58 OPEN position The PHY chip is always enabled Default state open PHY _PDE PHY_PDCTRL NANDFlash_Enable allows PC14 NAND_CS of SAM9260 to control CE pin of NAND FLASH memory U3 K9F4GO08UXM If the board has to boot from NAND flash the NANDF_E jumper must be closed Default state close NANDF_E DF_EThe DataFlash_Enable allows PC11 SPIO_NPCS1 pin of SAM9260 to control CS pin of serial Data Flash memory US5 AT45DB161D SU If the board has to boot from Data Flash the DF_E jumper must be closed Default state close DF_E INPUT OUTPUT 5232_0 is used terminal in Linux so you can connect to 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 DESCRIPT
19. ds 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 Make sure that jumper is not connected and 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 RomBOOT errata issue
20. etenv bootcmd tftpboot V bootm u boot setenv bootfile ulmage u boot boot The above example assumes you board gets IP 192 168 0 239 your TFTP server has IP 192 168 0 225 and the kernel image filename 15 ulmage can t run user programs under Linux 2 6 26 due to Illegal Opecode A See http forum sparkfun com viewtopic php t 12800 Recent SAM9 L9260 CDs don t have this problem Q I get mmap errors while trying to run apt get A See http glomation net smf index php topic 5 0 for more information RootFS images with recent CDs have this fix applied What drivers are included in the provided Linux kernel for SAM9 L9260 A The kernel includes drivers for MTD NAND Ethernet USB host USB gadget device Two serial ports SD MMC RTC but see AT91SAM9260 errata RTC is reset with each system reset I get macb tx underrun errors A Unfortunately this a limitation of the AT91SAM9260 SoC A simple google search reveals patches that in some way resolve this but they are not yet in mainline Another option is to slow down the Ethernet interface which somewhat mitigates the issue 9 192608 ethtool s 0 speed 10 autoneg off If you don t have ethtool then you can install it with apt get Q Is there a GUI option for SAM9 L9260 A Vishnu Tadepalli has added a kernel driver for MOD NOKIA6610 connected to SAM9 L9260 UEXT port and has ported NanoX for this combo See the nanx sam9 19260 z
21. ip and linux 2 3 1 rc8 olimex patches zip archives Please contact the Mr Tadepalli for support Q How do I build a JFFS2 root filesystem image from my host PC A You need the mkfs jffs2 and sumtool utilities Please check your distribution documentation to see how to install them Then type mkfs jffs2 root path to sam9 19260 rootfs e128KiB n p o temporary image tmp 8 sumtool e128KiB n p i temporary image tmp o my image jffs2 8 rm f temporary image tmp Q I suspect a bad SDRAM How do I test it A First try to reflash the on board memories using the Firmware Restoration Procedure from the board s User Manual If despite following exactly the given steps SAM BA exits with error then the hardware might be faulty The next step is to stress test SDRAM Boot Linux login and run the following command multiple times If you get a kernel panic about virtual memory then the SDRAM might be faulty sam9 192608 find xdev type f xargs n1 P100 md5sum Acknowledgemens The kernel used is based on Linux 2 6 31 re3 The root filesystem is a debian lenny distribution The bootstrap loader is based on the at91bootstrap 2 4 package provided by ATMEL at http www at91 com The u boot bootloader is based on a GIT checkout from http git denx de u boot The cross compilers are available from http www codesourcery com All of the above packages are distributed under
22. nd TCK pins of SAM9260 Default state open ES 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 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 8 is available of EXT connector pin 14 Default state closed e 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 US AT45DB161D SU flash memory rr Default state open WP NFLASH_E When the WriteProtect_NandFLASH_Enable jumper is closed user can t write in the NAND flash rr Default state open A2_L A2_H Connects Address2 A2 pin of U8 24LC256 memory default not mounted to logical or logical 1 2 L A2_H define the memory address of I2C bus Default state open PTH jumper description BMS LOW 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 0 REMAP 1 Address BMS 1 BMS 0 0 0000 0000 RM 50 4 Default state open BMS_LOW The BATerry EXTern
23. rces in a temporary directory you can build the default kernel by typing source HOME bin linux_cross_compile sourceme make sam9_19260_defconfig make ulmage After the compilation the should available at arch arm boot ulmage 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 Building the bootstrap binary Extract the sources from source at9 1 bootstrap 2 4 olimex tar bz2 to your working directory and issue the following commands source HOME bin bootloader_cross_compile sourceme make sam9_19260_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 sam919260_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
24. rs and the Linux ulmage will be placed in DATAFLASH and the root filesystem will be placed in NANDFLASH The reason to boot from DATAFLASH is 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 19260 flash_eraseall j dev mtd1 sam9 19260 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 principle 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 19260 rootfs tar bz2 file It can be extracted to empty ext3 partition on an USB drive to some 5 exported directory Then you need to tell the kernel where to find the root this 15 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 15 U Boot gt setenv bootargs mem 64M console ttyS0 115200 root dev sdal rootdelay 10 and for booting from an NFS server at adress 192 168 0 75 U Boot gt seten
25. ted 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
26. the GPL and or another free license e g BSD license ORDER CODE SAM9 L9260 assembled and tested 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 Po Petree See Al boards produced by Olimex are RoHS compliant 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 3 updated to Debian Lenny ARMEL distribution updated to latest GIT checkout of u boot 2009 06 00374 g3427faf REV D created September 2009 added a few FAQ entries Disclaimer 2008 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 adap
27. v 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 Please see the linux 2 6 xx Documentation filesystems nfsroot txt file from the Linux sources directory 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 HOME tar xjf codesourcery toolchain 2009q 1 repack tar bz2 The latter will create a directory SHOME bin codesourcery armgcc 2009q1 Along with some shell scripts that must be sourced before compilation SHOME bin linux_cross_compile sourceme SHOME 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 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 15 2 6 31 3 for which a pre patched tarball is provided After extracting the sou
28. w Power RC Oscillator on Battery Backup Power Supply Providing a Permanent Slow Clock to 20 MHz On chip Oscillator 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 Capabilities o Two Programmable External Clock Signals Advanced Interrupt Controller AIC o Individually Maskable Eight level Priority Vectored Interrupt Sources o Three External Interrupt Sources and One Fast Interrupt Source Spurious Interrupt Protected Debug Unit DBGU 2 wire UART and Support for Debug Communication Channel Programmable ICE Access Prevention Periodic Interval Timer PIT 20 bit Interval Timer plus 12 bit Interval Counter Watchdog Timer WDT Key protected Programmable Only Once Windowed 16 bit Counter Running at Slow Clock Real time Timer RTT 32 bit Free running Backup Counter Running at Slow Clock with 16 bit Prescaler One 4 channel 10 bit Analog to Digital Converter Three 32 bit Parallel Input Output Controllers PIOA PIOB PIOC 96 Programmable I O Lines Multiplexed with up to Two Peripheral I Os o Input Change Interrupt Capability on Each I O Line Individually Programmable Open drain Pull up Resistor and Synchronous Output High current Drive I O Lines Up to 16 mA Each Peripheral DMA Controller Channels PDC One Two slot MultiMedia Card Interface MCI S DCard SDIO and MultiMediaCard Compliant
29. where RomBOOT incorrectly resets the RTT on every system reset Q What kernel options do I need for NFS root filesystem support A These options must be enabled NOT AS MODULES NFS 5 CONFIG ROOT NFS CONFIG PNP PNP CONFIG PNP PNP DHCP I have built my own ulmage kernel image Now how do I install modules A First you need to place the target root filesystem somewhere on the build machine Remember to use root for all extraction manipulation procedures Then enter the Linux source directory where you typed make ulmage and type compile make modules then install as root make INSTALL_MOD_PATH path to target root filesystem modules_install Note that the path must be to the root filesystem s root directory and NOT the lib or lib modules subdirectories Q How do I use TFTP to boot my custom compiled kernel I want to skip the whole write ulmage to flash then boot process and instead use something much more quicker A You need to set the board s IP address the TFTP server IP address and a few more U Boot environment variables So stop U Boot by pressing ENTER during the countdown after reset and type the following lines in the U Boot prompt u boot setenv ipaddr 192 168 0 239 u boot setenv netmask 255 255 255 0 u boot setenv serverip 192 168 0 225 u boot s
Download Pdf Manuals
Related Search
Related Contents
Sony DR-BT21G Headphones User Manual LC-50LE440U LC Cisco Aironet 5.8 GHz 9 dBi Omni Omnidirectional Antenna GRANDIO SOLAR FAN Nilfisk-ALTO Floortec R 360 B User's Manual Polar FT80 Manual del Usuario Samsung 27" FULL HD Monitor Plano E350 Série 3 Guide-gestion administration The HALO Range - SAI Copyright © All rights reserved.
Failed to retrieve file