background image

OLIMEX© 2012

OLinuXino-MAXI  user's manual

If you have a standard USB flash drive attached to a USB host, Linux and LAN running the typical 
consumption is around 0.20A.

When powered by the typical 3.7V battery the LAN and USB-hosts are disabled. The consumption 
when Linux is running is around 0.75A.

The board can be powered either from the power jack or from the LIPO_BAT connector. Note that 
since standard batteries can't provide the voltage needed for the board it is advisable to use the 
power from the power jack. When you use the LIPO_BAT connector and a battery the chip handling 
the Ethernet and the USB hosts is disabled. Also the power button has alternative function when the 
board is powered by a battery – check 6.13.

If you have successfully powered the board the red PWR LED will turn on. Note that it is possible   
to have the PWR LED on even if there isn't enough power for proper operation of the board and all 
the peripherals currently connected.

The jumper 5V_E (5V Enable) which is closed by default enables powering the board via the power 
supply circuit. 

Page 29 of 60

Содержание OLinuXino-MAXI

Страница 1: ...OLinuXino MAXI Open source single board Linux computer USER S MANUAL Revision L March 2013 Designed by OLIMEX Ltd 2012 All boards produced by Olimex LTD are ROHS compliant ...

Страница 2: ...d 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 inco...

Страница 3: ... blink the LED 14 2 9 How setup the I2C SPI UART 15 2 10 How to setup Arch Linux distribution 15 2 11 How to use a custom Wi Fi dongle based on RealTek RTL8188CUS and 19 RTL8192CU under ARCH Linux 19 3 Introduction to the chapter 24 3 1 Layout top view 24 CHAPTER 4 THE iMX233 MICROCONTROLLER 25 4 Introduction to the chapter 25 4 1 The microcontroller 25 CHAPTER 5 CONTROL CIRCUITY 28 5 Introduction...

Страница 4: ...3VIO_E jumpers 47 6 12 4 Boot mode selecting jumpers 47 6 13 Additional hardware components 48 6 14 Accessories 48 6 14 1 USB SERIAL CABLE F 48 CHAPTER 7 BLOCK DIAGRAM AND MEMORY 49 7 Introduction to the chapter 49 7 1 Memory addresses 49 7 2 Processor block diagram 50 7 3 Physical memory map 51 CHAPTER 8 SCHEMATICS 52 8 Introduction to the chapter 52 8 1 Eagle schematic 52 8 2 Physical dimensions...

Страница 5: ...ller i MX233 manufactured by FreeScale Semiconductor OLinuXino is an open source open hardware project and all documentation is available to the customer 1 1 Features iMX233 ARM926J processor at 454Mhz 64 MB RAM SD card connector for booting the Linux image TV PAL NTSC video output 3 USB High Speed Host optional WIFI RTL8188CU module Stereo Audio Input Stereo Headphones Audio Output two Buttons UE...

Страница 6: ...have the option to work with MOD WIFI_RTL8188 which is USB WIFI modem with RTL8188CU chip and can be purchased separately MOD WIFI_RTL8188 can be connected to any of the OLinuXino boards via the USB OLinuXino MINI has additional option of having RTL8188CU hardware mounted If you wish RTL8188CU embedded in the device you should purchase OLinuXino MINI WIFI Choosing the embedded WIFI option will lea...

Страница 7: ...iew of the board usage and features Chapter 2 provides a guide for quickly setting up the board and software notes Chapter 3 contains the general board diagram and layout Chapter 4 describes the component that is the heart of the board the iMX233 microcontroller Chapter 5 is an explanation of the control circuitry associated with the microcontroller to reset Also shows the clocks on the board Chap...

Страница 8: ...e worn when handling the board Avoid touching the component pins or any other metallic element 2 3 Requirements In order to set up the OLinuXino optimally the following items are required 6V to 16V source of power with 1A maximum amperage SJTAG interface programmer USB keyboard Monitor with composite interface or Personal Computer USB SERIAL CABLE SD card with Linux image Note that the board arriv...

Страница 9: ...SD in unrecoverable state when powering OLinuXino MICRO The problem might occur if two specific conditions are met simultaneously 1 Plugged iMX233 OLinuXino SD micro SD card with holographic sticker on its back side some of the cards we have distributed are from a brand that places holographic sticker on their backs the other half lack such a sticker 2 Plugged USB SERIAL CABLE F at the moment when...

Страница 10: ...sition of the following HW_OCOTP_ROM0 fuses of the processor SD_MBR_BOOT 3 Blown SD_POWER_GATE_GPIO 21 20 10 PWM3 For burning the fuse position we use the BitBurner software This operation is discussed in details before Proceed with great caution when burning fuses since it is irreversible operation The first batches of the board and the SD card used the Debian Linux image After that we switched o...

Страница 11: ...the USB connector On the opposite side of the cables you might place 50mil 1 27mm male connector following the order of the signals Please also restrain from using wires longer than 20 cm since that might make the connection unreliable Download BitBurner from https www olimex com dev OLINUXINO iMX233 OLINUXINO BitBurner v1 0 4 6 zip Extract it and start the exe If you connect everything you should...

Страница 12: ... not discussed below The Linux image is created and downloaded from https github com Freescale fsl community bsp platform For the test here we used Debian 6 0 with GNOME visual libraries The steps we did 1 From the terminal created folder bin in home folder user dist mkdir bin user dist cd bin Add bin directory to PATH in order to do the next steps easier Else navigate to the right folders 2 Insta...

Страница 13: ...y bsp repo sync 4 You can change the settings for the build if you want at fsl community bsp build conf local conf I changed the machine name to imx233 olinuxino maxi For Linux kernel configurations and settings you can do of course you can use also the default settings fsl community bsp setup environment build fsl community bsp build bitbake linux imx c menuconfig Check the image below 5 Now to s...

Страница 14: ... as an output and we can set its value manually to high or low position make it blink manually The LED mounted on the board uses GPIO65 You can use external diode instead of the one mounted you have to look at the table The Linux implementation of pins in the hardware section to get the correct linux name for the GPIO pin echo out sys class gpio gpio65 direction echo 1 sys class gpio gpio65 value ...

Страница 15: ... the document explain how to setup the internet connection on the board and how to use the GCC compiler to compile HelloWorld example on the OLinuXino Two important preparations 1 You have to download the latest software package from the GitHub of iMX233 OLinuXino down in the code you will meet xxxxxxx which you will have to replace with the correct locations in the package 2 When trying I2C examp...

Страница 16: ...ault size of the partition 5 14 Type w to write partitions to the SD card 6 Create the second partition with ext3 file system sudo mkfs ext3 dev sdb2 7 Mount the second partition sudo mount dev sdb2 mnt mmc If you don t have mountpoint you should create one Just type sudo mkdir mnt dir 8 Login as root for the next operations sudo su IMPORTANT NOTE It is necessary to log in as root not as super use...

Страница 17: ...nected to internet you can use the following command pacman U http xxxxxxx tar xz Using this you can skip the part with the USB flash drive Using the same command you could download different packages pacman Sy package name II Set up the internet This is a working example but you might wish to read some additional information if this doesn t work for you With every reboot the device is assigned wi...

Страница 18: ...ome examples ls And you should see all files and folders You can create new folder if you want with the command mkdir some dir To see our HelloWorld program go to HelloWorld folder cd home examples HelloWorld ls In this folder are two files hello hello_world c The C file is the sourse code Actually this is text file with c extention Type vi or cat hello_world c to view the source You could modify ...

Страница 19: ...home examples led_blink led_blink The means that the script will be running in background 2 11 How to use a custom Wi Fi dongle based on RealTek RTL8188CUS and RTL8192CU under ARCH Linux This procedure was done on the Olinuxino Maxi It was connected with a wired ethernet during the procedure Once the WiFi is functional the wired ethernet can be removed The microSD card can then be moved to another...

Страница 20: ...n Unzip the file Inside there is a folder called driver with a file inside called rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz Copy that file to the Olinuxino target scp rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz root ip_addr_of_Olinuxino root log into Olinuxino cd root mkdir driver mv rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz driver cd driver tar xzf rtl8188C_8192C_us...

Страница 21: ...SS_COMPILE usr bin KVER KVER 2 6 35 6 ARCH KSRC usr src linux 2 6 35 6 ARCH MODDESTDIR usr lib modules 2 6 35 6 ARCH kernel drivers net wireless rtl818x endif Save and exit wq make clean make rmmod 8192cu ko not really needed insmod 8192cu ko make install Verify that the driver has been installed root alarm wireless ls l sys class net total 0 drwxr xr x 4 root root 0 Aug 14 16 55 lo drwxr xr x 4 r...

Страница 22: ... to the encryption type Encryption Command No Encryption iwconfig wlan0 essid linksys WEP w Hex Key iwconfig wlan0 essid linksys key 0241baf34c WEP w ASCII passphrase iwconfig wlan0 essid linksys key s pass1 WPA wpa_supplicant B Dwext i wlan0 c etc wpa_supplicant wpa_supplicant conf Verify association iwconfig wlan0 Assign IP address dhcpcd wlan0 dhcp or static ip addr add 192 168 0 2 24 dev wlan0...

Страница 23: ...ing don t use that since we re using netcfg 2 net profiles or 3 net auto wireless and net auto wired This procedure is using the last option vi etc rc conf Look for DAEMONS delete network and add net auto wireless and net auto wired vi etc conf d netcfg Change to NETWORK my_wifi_network my_eth_network Make sure you have the correct names for WIRED_INTERFACE and WIRELESS_INTERFACE change eth0 to us...

Страница 24: ...CRIPTION 3 Introduction to the chapter Here you get acquainted with the main parts of the board Note the names used on the board might differ from the names used below to describe them For the actual names check the OLinuXino board itself 3 1 Layout top view Page 24 of 60 ...

Страница 25: ...12 Mb s Full speed high speed USB device and host functions Fully integrated full speed high speed Physical Layer Protocol PHY Mass storage host capable uncertified by USB IF Power Management Unit Single inductor DC DC switched converter with multi channel output supporting Li Ion batteries Features multi channel outputs for VDDIO 3 3 V VDDD 1 2 V VDDA 1 8 V VDDM 2 5V and regulated 4 2V source Dir...

Страница 26: ...g protection and performance for NANDs Hardware BCH ECC engine allowing for up to 20 bit correction and programmable redundant area Dual Peripheral Bus Bridges with 18 DMA Channels Multiple peripheral clock domains save power while optimizing performance Direct Memory Access DMA with sophisticated linked DMA command architecture saves power and off loads the CPU Highly Flexible Display Controller ...

Страница 27: ...e Width Modulator PWM Real Time Clock Alarm clock can turn the system on Uses the existing 24 MHz XTAL for low cost or optional low power crystal 32 768 kHz or 32 0 kHz customer selectable via OTP Customer Programmable One Time Programmable OTP ROM via Integrated eFuse Block Resistor less boot mode selection 128 bit boot mode crypto key Boot mode specification of NAND characteristics for device th...

Страница 28: ...5 MHz quartz crystal Q2 is found at pins 60 and 61 of the Ethernet controller LAN9512 JZX 5 3 Power supply circuit The power supply circuit of OLinuXino MAXI allows flexible input supply from 6V to 16V direct current This means a wide range of power supplies adapters converters are applicable The maximum amperage recommended is 1A by default 0 250mA if 3 3VIO_E is closed read below All measures be...

Страница 29: ...ge needed for the board it is advisable to use the power from the power jack When you use the LIPO_BAT connector and a battery the chip handling the Ethernet and the USB hosts is disabled Also the power button has alternative function when the board is powered by a battery check 6 13 If you have successfully powered the board the red PWR LED will turn on Note that it is possible to have the PWR LE...

Страница 30: ...ilt in DC DC has a limit of 250mA of amperage the chip heats a bit so we decided to put external DC DC for better stability When working with 3 3VIO_E closed pay attention to the amperage used If 3 3VIO_E is closed soldered it enables the additional DC DC which is the better solution if powering the board from external supply However if 3 3VIO_E is closed and you power the board from a battery the...

Страница 31: ...esented Notes regarding the interfaces are given 6 1 Debugging interfaces If you don t have a separate monitor or display around and you don t wish to swap cables constantly with your personal computer using the debug interfaces provide better option for you OLinuXino experience There are three debugging options available on the OLinuXino It is preferable to use one of the first two UART or SJTAG ...

Страница 32: ...REEN BLUE wires GND BLUE RX INPUT GREEN TX OUTPUT RED You have to connect to OLinuXino MAXI U_DEBUG connector in this sequence BLUE wire to pin 3 GND GREEN wire to pin 2 TX RED wire to pin 1 RX U_DEBUG Pin Signal Name Processor Pin 1 PWM0 DUART_RXD 125 2 PWM1 DUART_TXD 126 3 GND 30 35 98 105 112 118 4 DEBUG 84 You can also check the pin names at the bottom of the board under the U_DEBUG header 6 1...

Страница 33: ... pins are multiplexed with the SD card signals In order to use the 6 pin JTAG you will have to stop using the SD card Note also that the classic JTAG interface comes without plastic header mounted so in order to use it you will need to use wires for connection Consider the the software settings required to switch from SJTAG to 6 pin JTAG and vice verse referring to the iMX233 manual For instance T...

Страница 34: ...asheet should be always the first piece of paper you consult when dealing with electronics Classic JTAG multiplexed with SD card Pin Signal Name Processor Pin 1 SSP1_DATA1 85 2 SSP1_DATA0 84 3 GND 30 35 98 105 112 118 4 SSP1_SCK 90 5 SD_VCC 6 SSP1_CMD 83 7 SSP1_DATA3 87 8 SSP1_DATA2 86 Notice that the pad numeration is written at the bottom of OLinuXino MAXI under the microSD card connector Please...

Страница 35: ...s might draw too much current from the slot which might cause power state problems If you suspect the microSD card is causing problems please try using another one of better quality for better results microSD card connector Pin Signal Name Processor Pin 1 SSP1_DATA2 86 2 SSP1_DATA3 87 3 SSP1_CMD 83 4 SD_VCC 5 SSP1_SCK 90 6 GND 30 35 98 105 112 118 7 SSP1_DATA0 84 8 SSP1_DATA1 85 Notice that the pa...

Страница 36: ...nd the microSD card 6 3 UEXT module OLinuXino board has UEXT connector and can interface Olimex s UEXT modules For more information on UEXT please visit http www olimex com dev OTHER UEXT pdf Note the two jumpers PIN29 SOFT_CL PIN22 LCD_EN I2C_SCL and PIN28 SOFT_SDA3 PIN21 LCD_HSYNC I2C_SDA which by default are set to a software SPI They can be used to set the whole UEXT to a hardware SPI Page 36 ...

Страница 37: ...MOSI 21 9 SSP2_SCK 33 10 PIN12 LCD_D11 UEXT_CS 25 The UEXT pinout is also printed at the bottom of the board under the connector 6 4 GPIO General Purpose Input Output 40pin connector The GPIO pins are led out on a separate 40pin connecter They allow the user to attach additional hardware check readings or perform hardware debug The GPIO Pin column shows connector number and does NOT represent the ...

Страница 38: ...n Name Processor pin GPIO Pin Name Processor pin 11 PIN13 LCD_D12 27 31 PIN3 LCD_D02 4 12 PIN22 LCD_EN I2C_SCL 11 32 PIN32 LRADC1 107 13 PIN12 LCD_D11 UEXT_CS 25 33 PIN2 LCD_D01 3 14 PIN23 LCD_DISP 12 34 PIN33 LRADC0 108 15 PIN11 LCD_D10 24 35 PIN1 LCD_D00 2 16 PIN24 LCD_WR 13 36 PIN34 MIC 116 17 PIN10 LCD_D09 23 37 5VUEXT 102 18 PIN25 LCD_RS 14 38 3 3VREG 19 PIN9 LCD_D08 SSP2_MISO 22 39 VIN 20 PI...

Страница 39: ...r the hardware of the board but still can be controller by the Linux it can t be found at the GPIO connector though The Linux implementation of pins Linux GPIO iMX 233 GPIO OLinuXino Name OLinuXino GPIO Connector Linux GPIO iMX 233 GPIO OLinuXino Name OLinuXino GPIO Connector 0 PIN9 19 32 to 39 Not implemented Not implemented 1 PIN10 17 51 PIN25 18 2 PIN11 15 52 PIN24 16 3 PIN12 13 53 PIN26 20 4 P...

Страница 40: ...LinuXino MAXI user s manual When looking at the bottom of OLinuXino MAXI near the GPIO connector there is also an additional GND pad named GND_PIN which is a fast way to have access to a ground signal Page 40 of 60 ...

Страница 41: ...ally the LAN9512 devices simplify system design by leveraging the existing USB stack and reducing the PCB footprint by up to 65 compared to discrete competitive solutions USB based networking technology offers a cost effective and smart design alternative to traditional PCI PCI Express networking solutions due to the flexibility of routing and placement of Ethernet and USB connectivity ports The b...

Страница 42: ...AL NAME 1 TX 2 TX 3 VDD 4 NOT CONNECTED 5 NOT CONNECTED 6 VDD 7 RX 8 RX The two leds on the front side of the LAN connector show the state of the Ethernet The meaning behind the different states can be found in the table below LED Color Usage Right Green Link status Left Yellow Activity status 6 7 PWR Jack The power jack used is the typical 2 5mm one used by Olimex in most of our products You shou...

Страница 43: ... can be found in chapter 5 of this manual 6 8 Headphones and line in connector Standard audio jack and phone jack are mounted for the audio interfacing Headphones Audio out connector Pin SIGNAL NAME Processor Pin 2 L channel 113 3 R channel 109 5 GND GND pins The headphones resistance is 16 Ohms Page 43 of 60 ...

Страница 44: ...or and the memory but won t be enough to power the LAN and the USB hosts Pin Signal Name 1 VBAT 2 GND The pins are also written on the top of the board in the base of the connector 6 10 Composite video connector The composite video is the connector you should use if you wish OLinuXino MAXI video output on a monitor The whole signal is controlled by pin 104 from the i MX233 processor The signal is ...

Страница 45: ...t the jumpers are SMD type and opening a jumper would require cutting closing a jumper would require soldering To be able to do the quoted operations you will need basic engineering skills and experience You can check below the table or the schematic for the correct positions Value of 1 means the jumper is closed BOOT MODE D03 d02 d01 d00 USB 0 0 0 0 3 3V I2C Master 0 0 0 1 33 3V SPI Flash 1 Maste...

Страница 46: ... cutting technique it is better not to try to adjust the jumpers 6 12 1 SCL_SW SCL_HW and SDA_SW SDA_HW Those two jumpers must be moved together there are two available options configuring software I2C interface SCL_SW SDA_SW or hardware I2C interface SCL_HW SDA_HW positions Jumpers are set to SCL_HW and SDA_HW by default This defines hardware I2C Page 46 of 60 ...

Страница 47: ...r if you use battery it will not power the chip handling the USB and the LAN functionality Basically the board will lack USB HOSTs and LAN when jumpers are set in variant 1 and the board is powered by a battery via the BAT connector If you set the jumpers in 2 state the board s 3 3V will be handled by the built in iMX233 DC DC but the problem is it isn t configured to be used with another chip so ...

Страница 48: ...bring the processor to normal power mode you can short circuit the pads for this feature without having to mount a button 512 32M x 16 MBit DDR SDRAM the exact memory used at the moment of writing is Xylinx H5DU5xxxyyy LED1 Power LED 6 14 Accessories Here you will find additional information for Olimex products you can use with OLinuXino MAXI purchase 6 14 1 USB SERIAL CABLE F The cable for the U_...

Страница 49: ...scale for one of higher quality 7 1 Memory addresses Below is the table with some of the most frequently used addresses For full list of addresses check the manual released by Freescale Chapter Memory Map Decode block Device Mnemonic Start address End address Size AHB On chip RAM OCRAM 0x00000000 0x00007FFF 32KB On chip RAM alias OCRAM 0x00008000 0x3FFFFFFF External memory 0x40000000 0x5FFFFFFF 51...

Страница 50: ...OLIMEX 2012 OLinuXino MAXI user s manual 7 2 Processor block diagram Page 50 of 60 ...

Страница 51: ...OLIMEX 2012 OLinuXino MAXI user s manual 7 3 Physical memory map Page 51 of 60 ...

Страница 52: ...physically OLinuXino 8 1 Eagle schematic OLinuXino schematic is visible for reference here You can also find them on the GitHub for OLinuXino at our site https www olimex com Products OLinuXino iMX233 iMX233 OLinuXino MAXI The link to the GitHub is located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 52 of 60 ...

Страница 53: ...3 FET1 GND GND_PIN 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 GPIO_CO N HEADPHONES 1 2 3 4 5 6 7 8 JTAG L1 L2 L3 L4 L5 L6 L7 AG AG AY AY KG KG KY KY RCT 6 RD 7 RD 8 TCT 3 TD 1 TD 2 75 75 75 75 1nF 2kV 1 4 5 2 3 7 8 6 GREEN YELLOW LAN LED1 LINE_IN 1 2 LIPO_BAT PWR 1 2 PWR_BUT PWR _LED Q1 Q2 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R1...

Страница 54: ...ser s manual 8 2 Physical dimensions Note that all dimensions are in inches The three highest elements on the board in order from the tallest to the shortest are inductor L2 USB host connector Ethernet LAN connector Page 54 of 60 ...

Страница 55: ... 6 added more info about the WIFI option on OLinuXino Mini Page 10 added instructions how to blink the board s LED Page 20 removed erroneous information of compatibility between U_DEBUG interface and OLIMEX MOD USB RS232 Page 28 fixed the table for the Linux names there were errors Page 35 added new chapter with info about USB SERIAL CABLE All edited numerous typos spelling mistakes punctuation et...

Страница 56: ...erable state Page 37 Adjusted info on external and internal 3 3V DC DC 9 23 37 F 05 07 12 Page 8 changed typo about the needed programmer Page 9 adjusted info about a SD card problem Page 23 adjusted U_DEBUG connect info to make it clearer 8 9 23 G 18 07 12 Pages 10 11 Added info about fuse programming 10 11 H 12 09 12 Pages 3 4 Added more links and page numbers Page 10 Added info about ArchLinux ...

Страница 57: ...ut the LQFP128 package of iMX233 26 27 28 29 K 04 01 12 Page 11 Wrong wiring for the fuse burning was present at the picture 11 L 21 03 13 Page 6 fixed the voltages for MINI and MAXI in the comparison table Page 16 fixed the voltages for MINI and MAXI in the comparison table Page 58 Updated board change log Various links updated 6 16 58 Page 57 of 60 ...

Страница 58: ...tom and the distance between them was increased 4 Jumpers SW_SCL HW_SCL and SW_SCK HW_SCK were made bigger and default position moved to hardware I2C 5 5V_E jumper moved to bottom 6 The FET located in parallel to power supply was removed 7 Q2 moved away from D1 8 The 40pin GPIO connector symbol was edited so it represents reality not symmetrical cut 9 PWR_JACK and RCA connectors separated further ...

Страница 59: ...Xino MICRO tiny in size tiny in price and perfect for breadbording iMX233 OLinuXino MINI WIFI the MINI version of OLinuXino embedded RTL8128CU WIFI module iMX233 OLinuXino SD SD card with the Linux image which can be used with every board from the OLinuXino family MOD WIFI_RTL8188 external USB WIFI modem with RTL8188 chip USB SERIAL CABLE USB serial console cable for U_DEBUG SY0612E power supply a...

Страница 60: ...ill coffee on them during your work when they are powered Please note that warrany do not cover problems caused by unproper use shorts over voltages ESD shock etc If the board has warranty label it should be not broken Broken labels void the warranty same applies for boards modified by the customer for instance soldering additional components or removing components such boards will be not be a sub...

Отзывы: