Home

OLinuXino-MAXI Open-source single

image

Contents

1. AAP An CASN RASN CLKN Doc VEDIO 3 y K GK PIN2SILCD RS DCDC VDDA CAT TE PTOA ae LCD RS must to be pulled E E High to enable Residor Boot Mode if pulled low the M233 will attempt to boot fom OTP Cero ges cz PFE CHER SOFTS cepe SOFT SDA d E ZAI BAT ES SSP2 SCK I 1 GM ROYO capo VDDXTAL GPM FOY vm E SELECT era portio PINTSILCD D15 MHziHC A0SM mia PINTS LCD i M3 CAE XTN PINT4 LCD_D13 E PINAILCI 2 PINTSILCD D12 ODC VDDA 2 5 PINIZILCD DTI UEXT CS E 1 DU 25 proosr q PINTILCD DIO 00 PINTLCD D 5 z PINTUILCD DO II PINS LCD DOB SSPZ MISO PINB LCD_DO7 PINZILCD DX dez PINS LCD DOS PINS LCD D04 PINILCD D03 PINS LCD_DOZ PIN2ILCD DX PINTILCD DOO PIN26 LCD BOOT MODE SELECT LCD DATA LCD gt BOOT MODE Doo WR USB 3 3V 12C Master a PRZULCD HSYNCI2C SDK 33V SPI Fash T Master mE Veneta EY PINZULCD VSYNC 3 3V SPI Flash 2 Master CD VSYNCACD BUSY PINISILCD DOTCLK E 3 3V NAND LCD DOTQKGFM ROY 2 Te Starup waits tar JTAG debugger connection LRADCO IC SDA GPM C pa AUARTIRD 3 3V SD MMC 1 Default M URADK 2G SCLIGEMRDY2IAUA 33V
2. Er essa spar roscoe fe E E 9 pinia ico p13 D13 29 PIN4 LcD Do3 D03 PIN21 LCD_HSYNC GPIO a GPIO 4 em ER e Emma gt pm eene fe E U 18 PIDS ACD RS O RS 38 3VREG 3VREG PIN9 LCD D08 30 35 98 PIN26 LCD CS 10 GND 105 112 118 The hardware is associated differently in the Linux following the GPIO naming conventions suggested in the iMX233 datasheet You can check the connection between Linux naming of the pin Olimex naming of the pin and the consecutive connector pin number in the table below The Page 40 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual ones filled with Not implemented doesn t have Linux support by the time of writing and will be updated overtime Linux GPIO is the one you should use in Linux the one in the datasheet OLinuXino name is the pin as written on the bottom of the board OLinuXino GPIO Connector is the consecutive number of pins with BAT being Pin 1 and GND 40 Note that if OLinuXino Name starts with P and then is followed by a number X the PX is the name written on the bottom of the board under the connector with white ink If OLinuXino Name is other text it is a signal used for 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 A Linux A 2 GPIO iMX oLinuXino Name OLinuXino GPIO OLinuXino OLinuXino GPIO G
3. 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 You have to set these jumpers to the SCL HW and SDA_HW positions if using some of our examples on the web They require hardware I2C Page 48 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual The default position is SCL SW SDA SW 6 12 2 5V_E The 5V_E jumper allows control over the powering line If you want to disable the 5V powering line open 5V_E jumper The default position is closed 6 12 3 3 3V_E and 3 3VIO_E jumpers Important these jumpers must be moved together Closing both of 3 3V_E and 3 3VIO_E at the same time will damage the processor One of them has to be open unsoldered cut There are two possible positions 1 3 3V_E closed soldered 3 3VIO_E open unsoldered cut 2 3 3V_E open unsoldered cut 3 3VIO_E closed soldered In the default variant 1 the board uses the mounted by OLIMEX DC DC 3 3V convertor which when the board is powered by external supply is the better alternative However 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
4. HW OCOTP ROMG Reserved 7 HW OCOTP ROM7 SSP SCK INDEX 11 8 as SD BUS WIDTH 13 12 Current value 0x00200008 New value 0x00200008 2 7 Building the Linux image Note that building the Linux image from scratch is a time consuming task Even with powerful machine and fast internet connection it might take few hours compiling Some Linux distributions might lack the tools required to compile build execute scripts download from repository how to get those is 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 Installed repo utility needed for the bitbake file fetching from the repository Page 12 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual user dist curl https dl ssl google com dl googlesource git repo repo gt bin repo user dist chmod a x bin repo 3 Created directory for the project and download the BSP source from the git repository user dist mkdir fsl community bsp user dist cd fsl community bsp fsl community bsp repo init u https github com Freescale fsl community bsp platform b denzil fsl
5. amp pacman Sy package name gt 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 with different MAC address To change this use Page 17 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual the commands amp ip link set dev usb0 down amp ip link set dev usb0 address aa bb cc dd ee ff amp ip link set dev usb0 up To set an IP address enter amp ifconfig usb0 192 168 0 249 or whatever address you want After that add default gateway route add default gw 192 168 0 1 usb0 Finally you should add DNS server You should modify etc resolv conf with vi or other program For example amp vi etc resolv conf Press d several times to remove all lines Press I to enter insert mode Type amp nameserver 192 168 0 1 Again this is example You should add you DNS server After you finish entering this press Esc This will set the program in command mode In command mode press amp wq This should do the work To check connection use ping If it doesn t check your configuration again and router settings You can use ifconfig to see OLinuXino settings III Using GCC to make Hello World In the home folder there are some examples amp cd home examples amp ls And you should see all files and folders You can create new folder if you want with the command amp mkdir some dir
6. OLinuXino MAXI Open source sinole board Linux computer USER S MANUAL Revision J October 2012 Designed by OLIMEX Ltd 2012 lead free All boards produced by Olimex LTD are ROHS compliant OLIMEXO 2012 OLinuXino MA XI User s Manual DISCLAIMER 2012 Olimex Ltd Olimex logo and combinations thereof are registered trademarks of Olimex Ltd Other product names may be trademarks of others and the rights belong to their respective owners 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 The Hardware project is released under the Creative Commons Attribution Share Alike 3 0 United States License You may reproduce it for both your own personal use and for commertial use You will have to provide a link to the original creator of the project http www olimex com on any documentation or website You may also modify the files but you must then release them as well under the same terms Credit can be attributed through a link to the creator website http www olimex com The software is released under GPL It is possible that the pictures in this manual differ from the latest revision of the board The product described in this document is subject to continuous development and improvements All particulars of the product and its use contain
7. When removing the card please make sure that you release it from the connector by pushing and NOT by pulling the card directly this can damage both the connector and 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 38 of 61 OLIMEXO 2012 UEXT connector O E o 112 118 seem o Se m Wu www es san ec sm 8 ss o OLinuXino MAXI User s Manual 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 naming on the bottom of the board 2 o i 1815152022 ee uu Page 39 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual GPIO connector hardware GPIO GPIO A pe foe aan C GND 105 112 118 PIN27 PWM2 91 Ls lemons p pne ide E emensus po a ems pe Es rasa pe as eene fp Ee esami ur pe erc
8. m Four Channel 16 Bit Timer with Rotary Decoder m Five Channel Pulse Width Modulator PWM B 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 W 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 that the customer is soldering to the board This means no more costly delays waiting for new device support in t he boot ROM Fully software programmable and accessible m Flexible I O Pins All digital pins have drive strength controls Most non EMI digital pins have general purpose input output GPIO mode For comprehensive information on the microcontroller visit the Freescale s web page for a datasheet Page 28 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual At the moment of writing the microcontroller datasheet can be found at the following link http www freescale com files dsp doc ref_manual IMX23RM pdf Page 29 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 5 CONTROL CIRCUITY S Introduction to the chapter Here you can find information about reset circuit and quartz crystals locations the power supply circuit is discussed 5 1 Reset OLinuXino s reset circuit includes R9 47K R10 47 Q T1
9. C Pages 9 10 added details on compiling 14 06 12 the Linux image All changed the names of the chapters for proper bookmarking in the pdf Page 57 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual Changes Modified Page Page 4 Added links to chapter names Page 10 Typos bugs in code Page 12 Added new sub chapter 4 10 12 45 Page 45 Added link to the OLinuXino yahoo group Page 9 23 Added info on how to connect the USB SERIAL CABLE F to the board Page 23 Added errata on specific bug that might leave the SD card in 9 23 37 unrecoverable state Page 37 Adjusted info on external and internal 3 3V DC DC Page 8 changed typo about the needed programmer Page 9 adjusted info about a SD card problem ae sa Page 23 adjusted U DEBUG connect info to make it clearer Pages 3 4 Added more links and page numbers 3 4 10 Page 10 Added info about ArchLinux Page 15 added info on how to install ArchLinux examples and also how to connect to certain WIFI USB dongles also 15 added important info about the I2C jumpers near the UEXT Pages 26 27 28 29 Fixed wrong info about the LQFP128 package of iMX233 26 27 28 29 Page 58 of 61 D 18 06 12 E 03 07 12 F 05 07 12 G 18 07 12 Pages 10 11 Added info about fuse 10 11 cn programming H 12 09 12 I 19 09 12 3 29 10 12 OLIMEXO 2012 OLinuXino MA XI User s Manual 9 2 Board revision Revision Notable Change
10. SD MMC 2 PAMOROTAR PAMIROTARYBIDUART TX zi m PANDIGFM FOY3 SSPI DETECTIGFM_ CESNUSB_D SsPI_CVDSPI_MOSILTAG TDO SSP1 DATAOISPi MSQUTAG TDL EIE SSPI_DATA1 2C SOLUTAG TOLK SOKUTAG TRST sp MICRO MCIMXG33CAG4C NA WU08S 1 CMD CODAT Headphones and Line In DART or SUTAG HE om 33Vio RMA HEADPHONES Eee SSP1 DATA CLA70nH O805 1 76R 250mA DUART RXD 33VREG DUART DD o SJTAG Psw im He POWER REC Button INA HNDA PWR BUT ue ges 3 J 2 VDOXTAL secar LI AUDIO JAQK SPINP W47S Reset Circuit 5 Gurnee RESET XIALI VIDEO_CON POWER SUPPLY CIRCUIT 6 16VDC T 5VEXT EA s mei m umaman volte J THE on GND PIN RJ45 SIDE Been tq mioa N i 8 OLinuXino MAXI revision B1 Gor EN Designed by OLIMEX 2012 LAN9512 J2X Pag
11. The iMX233 can boot the operating system from different locations The default location for the Linux files we used is the microSD card There are 4 four jumpers responsible for the boot location D03 D02 D01 and DOO They are located on the top of the board between the processor and 40pin GPIO connector Note that 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 Start up waits for JTAG 1 1 debugger connection Page 47 of 61 OLIMEXO 2012 OLinuXino MAXI User s Manual 2 aH rz PIN4 LCD DO open 2 Spr Dar H 522 t BINZ LCD De4 A Close 2 gp DOO H TT PINA LCD D9 RA1206 c4X0603 4BB 4 7K BH RH2 Hill ds RAi286 c 4xO603 4B8 47k BOOT MODE SELECT BODT MODE USB O 83 3U I2C Master f 3V SPI Flash 1 Master P S 3U NAND 3U SD MMC 4 Default llb Des _ S 3U SPI Flash 2 Master P9 LB B A S 3U SD MMC 2 _ 1 1 4 4 n 2 5 4 5 4 T 4 r 6 12 Jumper description Please note that all the jumpers on the board are SMD type If you feel insecure of your soldering cutting technique it is better not to try to adjust the jumpers
12. To see our HelloWorld program go to HelloWorld folder amp cd home examples HelloWorld amp 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 the source whatever you want After the source is ready to compile the file use Page 18 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual amp gcc o hello world c hello For more complicated compiling type amp man gcc To execute the program amp hello some name gt The result of the execution should be Hello some name gt In the other directory home i2c are three examples for hardware I2C You could compile them using the same command amp gcc o lt file gt c lt file gt After execution you could see the I2C working using osciloscope connected to the corresponding GPIOs You can see that the LED1 on the board is blinking This is a backgrond shell process Again in the home you can see a third folder led blink In this one there is a file led blink Type amp catled blink You can see that this is shell script To execute this script every time the linux is loaded the path should be added to the file rc local amp vi etc rc local Add the path to the script file home examples led blink led blink amp The amp means that the script will be running in background 2 10 How to use a custom W
13. User s Manual We save it as as gpio and we make it executable with chmod x gpio then we execut the script with gpio The LED should start blinking with 0 5Hz 2 8 How setup the I2C SPI UART Good place to check if you are trying to configure the I2C SPI UART etc via Linux is http www inf furb br maw asm51 Telit GE863 PRO3 Linux SW UserGuide r5 pdf Telit have explained how to do it with their board but it follows the same pattern for OLinuXino Another way to test I2C is using the i2c tools utility which is available in OpenEmbedded NOTE that to use hardware I2C you have to set the SMD jumpers to the proper side For SPI you can use spidev tool Git link click check the spidev_test c code for an example 2 9 How to setup Arch Linux distribution This is a step by step guide for building the Archlinux image for Olimex OLinuXino MAXI The second and the third part of 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 examples I2C jumpers has to be configured for hardware I2C mode Page 15 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual I How
14. community 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 fs1 community bsp build bitbake linux imx c menuconfig Check the image below linux imx Configuration File Edit View Terminal Help Linux Kernel Configuration Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing Y includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt Enable loadable module support Enable the block layer gt System Type gt Bus support gt Kernel Features Boot options gt CPU Power Management gt Floating point emulation Userspace binary formats lt exit gt lt Help gt 5 Now to start building the image Page 13 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual fsl community bsp setup environment build fsl community bsp build bitbake core image minimal Note on different Linux distributions you might have different tools installed and you will probably need to install dependencies needed for the compil
15. handled by the built in iMX233 DC DC but the problem is it isn t configured to be used with another chip so it doesn t provide enough current for all the USB HOSTs and the LAN which might cause some of the devices plugged in the USB to lack power and also might burn the chip if too much current is drawn However in this 2 mode of jumpers it is possible to power the board from a battery and still have some current on the USB HOSTs and the LAN The maximum current the built in DC DC can provide safely is 200mA 6 12 4 Boot mode selecting jumpers The boot mode is discussed in chapter 6 11 of this manual Page 49 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 13 Additional hardware components The components below are mounted on OLinuXino but are not discussed above They are listed here for completeness Reset button used to reset the board Power button when Linux is running pressing PWR BUT will put the board in low power mode when powered by battery PWR_BUT is used to initially power up the board and pressing the board again after it is powered will put it low power mode Recovery pads REC these can be used for attaching a recovery button when powered by battery the recovery button is used to 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 in the first revisions of the board is Xylin
16. helps you set up the OLinuXino development board for the first time Please consider first the electrostatic warning to avoid damaging the board then discover the hardware and software required to operate the board The procedure to power up the board is given and a description of the default board behavior is detailed 2 1 Electrostatic warning OLinuXino is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be 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 arrives without SD card or Linux image You can purchase a card with Linux separately It is recommended that the user has basic Linux experience Some of the suggested items can be purchased by Olimex for instance iMX233 OLinuXino SD SD card with the Linux image USB SERIAL CABLE F USB serial console cable female check 6 1 1 UART Debug for info how to connect it to the board SY0612E power supply adapter 12V 0 5A for iMX233 OLinuXino Maxi Page 8 of 61 OLIMEXO 2012 OLinuXino MA XI User s Ma
17. 188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz driver cd driver tar xzf rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 tar gz cd rtl8188C_8192C_usb_linux_v3 4 3_4369 20120622 vi Makefile Page 20 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual Change the line CONFIG PLATFORM 1386 PC y to CONFIG PLATFORM 1386 PC n Below it add the line CONFIG PLATFORM ARM iMX233 y find the block ifeq S CONFIG PLATFORM ARM PXA2XX y EXTRA CFLAGS DCONFIG LITTLE ENDIAN ARCH arm CROSS COMPILE arm none linux gnueabi KVER 2 6 34 1 KSRC usr src linux 2 6 34 1 endif ifeq S CONFIG PLATFORM ARM iMX233 y EXTRA CFLAGS DCONFIG LITTLE ENDIAN ARCH arm CROSS 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 Page 21 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 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 root root 0 Aug 14 16 55 usb0 drwxr xr x 5 root root 0 Aug 14 16 43 wlan0 wlan is the new driver reboot Make sure you can see both usb0 ethernet and wlan0 on all the following ifconfig Is l sys class net iwconfig you may need to br
18. 7 PWR Jack The power jack used is the typical 2 5mm one used by Olimex in most of our products You should provide between 6 and 16 volts 1A to the board Page 44 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual EN More info about the power supply 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 aee e o emm e s e ee The headphones resistance is 16 Ohms llllHeadphones and Line In i Headphones resistance Rl Rr 16 Ohms Page 45 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 9 Battery connector When using the battery connector keep in mind that it is an energy solution that wouldn t be able to power the board and all the peripherals The voltage of a 3 7V LIPO battery would be enough to power the processor and the memory but won t be enough to power the LAN and the USB hosts Sh 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 lead to the middle of the connector The outside part is the GND 4o pint 104 Page 46 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 11 Boot mode positions
19. APTER 4 THE iMX233 MICROCONTROLLER 4 Introduction to the chapter In this chapter is located the information about the heart of OLinuXino its microcontroller The information is a modified version of the datasheet provided by its manufacturers 4 1 The microcontroller ARM926 CPU Running at 454 MHz Integrated ARM926EJ S CP 16 Kbyte data cache and 16 Kbyte instruction cache One wire JTAG interface Resistor less boot mode selection using integrated OTP values 32Kbytes of Integrated Low Power On Chip RAM 64 Kbytes of Integrated Mask Programmable On Chip ROM 1 Kbit of On Chip One Time Programmable OCOTP ROM Universal Serial Bus USB High Speed Up to 480 Mb s Full Speed Up to 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 Direct power from 5 V source USB wall power or other source with programmable current limits for load and battery charge circuits Silicon speed and temperature sensors enable adaptive power management over temperature and silicon process Audio Codec Stereo headphone DAC with 99 dB SNR Ste
20. BLE F with OLinuXino MAXI it is advisable to first insert the iMX233 OLinuXino SD card and then power the board if using battery also press the PWR button Wait 4 5 seconds and then connect the USB SERIAL CABLE F Please also check 2 4 Powering the board for detailed info Note on how to use the U DEBUG with USB SERIAL CABLE F which has RED GREEN 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 You can also check the pin names at the bottom of the board under the U DEBUG header 6 1 2 SJTAG debug The second interface is the Serial JTAG SJTAG one wire interface It works with various external JTAG debugger dongles through a Freescale defined FPGA CPLD SJTAG supports the Green Hills Slingshot and ETM probe debugger dongles as well as those made by ARM Abatron and Lauterbach Page 34 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual Note that the SJTAG interface comes without plastic header mounted The HW DIGCTL CTRL USE SERIAL JTAG bit in the digital control block selects whether the one wire serial JTAG interface or the alternative six wire parallel JTAG interface is used There are other options in the digital control block which might interest you and our advice is to check the iMX233 s datasheet released by Freescale SJTAG The pin names are also written at the b
21. D JTAG 0x0 Use six wire parallel JTAG mode SERIAL JTAG 0x1 Use one wire serial JTAG mode It is good idea to check the datasheet of the M X233 processor for all the options in the digital control block The processor s datasheet should be always the first piece of paper you consult when dealing with electronics pem pem e Dem j Dmm F sj 8 pee e Notice that the pad numeration is written at the bottom of OLinuXino MAXI under the microSD card connector Please check the manual part for microSD card for a schematic of the pins Page 36 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 2 SD MMC slot The microSD card slot is a standard 8pin connector We have tested a number of microSD cards on the OLinuXino boards and all of them worked fine regardless manufacturer or capacity However keep in mind that some of the lower quality microSD cards 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 sem opem e Lm p pee o Le peee opem opem Notice that the pad numeration is written at the bottom of OLinuXino MA XI under the microSD Page 37 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual card connector
22. LINUXINO THEY ARE CONSIDERED SUITABLE ONLY FOR OLINUXINO Page 2 of 61 OLIMEXO 2012 OLinuXino MAXI User s Manual Table of Contents DISCLAIMER u s sssssssisssisaqsessassssssstesqsasahsssasausasqsussqassasssssisask sszsswsssssscsssssssssasa 2 CHAPTER I OVERVIEW uuu asss sssaaisssssssswssuactassqss usasssqaaqkastyshussss assissasasyassa 5 1 Introduction to the Chapter ccccccccccscssssssssssssssssssssssssssssssscscscscscscscssscssssssscssssssscssssssssseoes 5 EAE AMeriieillal si T aaia aa S 10 2 7 Building the Lingpnx IBRag6 usa oii invi CR cab eR ELI AV AI REB ELE Le ERR PANIER d lx 12 2 10 How to use a custom Wi Fi dongle based on RealTek RTL8188CUS and RTL8192CU under ARCH LIDUX uk aad edes eda sad e duae da cae nav iud edd adea e Dav ada edu eL La va Padel DE Ope 19 CHAPTER 3 OLINUXINO BOARD DESCRIPTION 25 3 Introduction to the chaptepuu ll l a asss aaa aaiae iiaeia 25 CHAPTER 4 THE iIMX233 MICROCONTROLLER 26 A Introduction to the chapter iioii eee eiae oss sets e soe e ep abu o so tea ee e ea neos eso beue o eese v rape Eee oues Ue dU ela 26 6 1 3 Classic JTAG d ebuguu l i a Suma Qusa ea osa eoo dU Ra die deba 35 Page 3 of 61 OLIMEXO 2012 OLinuXino MAXI User s Manual CHAPTER 9 REVISION HISTORY AND SUPPORIT A 57 ERIGI DECRE SII CS TREE
23. PIO iMX 233 GPIO Connector 233 GPIO Name Connector EN PIN9 28 32 for29 Lam mM mS EM L3 omm o J s e gt omm m Lom J JTAG_TDO1 Not mM PIG EM BE Las nus oee Co eem 2 SEC Lm ome 3 J j Lo worsen sek c eene _ L Lm ome 2 j Le sera pecie _ L m ses wees L T Below you can find the GPIO_CON as seen in the schematic Page 41 of 61 OLIMEXO 2012 OLinuXino MAXI User s Manual BPIO CON BH4 R gt VIN 5UEXT 3 3URE GO PIN34 MIC PIN1 LCD_D00 PIN3S LRADCO PIN2Z LCD_D 1L PIN32 LRADC41 PINS LCD_D 2 PIN31 PIN4 LCD_D 3 PIN3S PINS LCD_D 4 PIN29 SOFT SCL PIN6 LCD_D 5 PIN28 SOFT_SDA PINZ LCD_D 6 PIN27 PHM2 PINS LCD DO7 PIN26 LCD CS PINS LCD D88 SSP2 MISD PIN25 LCD RS PIN1 LCD_D S PIN24 LCD_WR PIN11 LCD D10 PIN2S3 LCD DISP PINI2 LCD_D414 UEXT_CS PIN22 LCD_EN I2C_SCL PIN13 LCD D12 PIN21 LCD_HSYNC 12C_SDA 10 PIN14 LCD D13 PIN20 LCD USYNC 8 PIN15 LCD D414 PINAS LCD_DOTCLK 6 PIN16 LCD D415 PIN18 LCD_D17 LAN_RES 4 PINI7 LCD_D16 2 E T When looking at the bottom of OLinuXino MA XI 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 42 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 5 USB HOSTs The USB hosts and the Ethernet are controller by a sin
24. S 57 B Document adis LERNEN 57 9 2 Board POV TG eet 59 Page 4 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing the OLinuXino single board computer from Olimex This document provides a user s guide for the Olimex OLinuXino board As an overview this chapter gives the scope of this document and lists the board s features The differences between the members of the OLinuXino family are mentioned The document s organization is then detailed The OLinuXino development board enables code development of applications running on the microcontroller i M X233 manufactured by FreeScale Semiconductor OLinuXino is an open source open hardware project and all documentation is available to the customer 1 1 Features jMX233 ARM926J processor at 454Mhz 64MBRAM SD card connector for booting the Linux image TV PAL NTSC video output 3USB High Speed Host optional WIFI RTL8188CU module Stereo Audio Input Stereo Headphones Audio Output two Buttons UEXT connector for connection of different peripherial modules 40 pin GPIO for connection of other hardware Board is in shape for fit inside Pactec JM42 plastic box http www pactecenclosures com pdfs drw_JM 42 pdf Power supply input 6 16VDC PCB dimensions 3 70 x 2 15 94 0mm x 54 6mm Nominal dimensions 3 70 x 2 65 94 0mm x 67 3m
25. T2 Q1 and a RESET button The RESET is specific for the fact that it is accomplished when the quartz is disconnected using 3 3V and the transistors T1 and T2 Reset Circuit ur oo 5 2 Clocks 24 MHz quartz crystal Q1 is connected to pins 121 and 122 of the iMX233 processor 25 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 below are taken at 10V external supply Page 30 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual If measuring the current consumption it should be around 0 06A before initializing all the peripherals The consumption raises to 0 12A without LAN and USB hosts initialized and Linux running The consumption goes up 0 15A with the Linux running when LAN and both USB hosts initialized 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
26. age 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 LAN and the USB HOSTs will not receive enough power and will be disabled Page 32 of 61 OLIMEXO 2012 CHAPTER 6 CONNECTORS AND PINOUT 6 Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout and notes about them Jumpers functions are described Notes and info on specific peripherals are presented Notes regarding the interfaces are given 6 1 Debugging interfaces OLinuXino MA XI User s Manual 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 Debug UART or SJTAG je e Bei o TER US 2 1 There are three debugging options available on the OLinuXino It is preferable to use one of the first two UART or SJTAG but in case you want to use the classic 6 wire parallel JTAG there is an option explained below Page 33 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 1 1 UART debug The first one is a debug UART interface U DEBUG You can use our USB SERIAL CABLE for debugging via the UART In order to avoid SD card malfunction when using the USB SERIAL CA
27. ard The Linux image can be purchased separately on a SD card or you can built and adjust it yourself When we program the boards we change the default position of the following HW OCOTP ROMO 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 over to ArchLinux for the ease of the package manager Instructions how to build the ArchLinux can be found at the gitHub address of OLinuXino 2 6 Using BitBurner IMPORTANT MODIFYING THE FUSES IS IRREVERSIBLE PROCESS BURNING THE WRONG FUSES MIGHT DAMAGE OLINUXINO IRREVERSIBLY BURNING WRONG FUSES MIGHT CAUSE BOOT PROBLEMS BURN FUSES AT OWN RISK Page 10 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual The bit burning is done via the USB of the computer connected to the OLINUXINO board and the BitBurner software To be able to burn the fuses you will need to make a custom cable that connects a USB with the 3 pin holes found at the bottom of the board named GND DP DM check the picture below for a better view how the three wires must be connected NOT CONNECTED Ed After soldering the three wires you can place a marker on each of them or use colore
28. 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 Page 31 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual p d POWER SUPPLY CIRCUIT 6 16UDC A x pou m T DR X Vx Ll tt amp I A O O ven e 06 EA gms 7 U L mm H Wl ee ye ma T eee RENS The jumper 5V E 5V Enable which is closed by default enables powering the board via the power supply circuit The 3 3V E 3 3V Enable jumper when closed enables the 3 3V power line Note the 3 3VIO E jumper which by default is closed if you open it cut it it disables the UG DC DC converter and enables a built in the iMX233 DC DC The problem is that the built 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 amper
29. d wires to be able to distinguish them You can also use some gel to keep them tight on 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 iM X233 OLINUXINO BitBurner v1 0 4 6 zip Extract it and start the exe If you connect everything you should see and choose HID compilant device from the Select device drop down menu Page 11 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual ST BitBurner i MX23 Select device HID compliant device gt Ready Info E Name OtpAccessPitc 3780 sb Select OTP register Internal name OTP Register Size 10896 bytes HW OCOTP CUSTO Date modified N A HW OCOTP CUST1 Info Type FileType 3600 Stmp HW OCOTP CUST2 OTP Register 24 Resource File Resource HW OCOTP CUST3 Address 0x8002C 1A0 Tag Id 0x0001 HW_OCOTP_CRYPTOO Lock Bit 0x18 Product version 100 10902 1300 p y OTP Bank 0x03 Component version 15624 300 600 HW OCOTP CRYPTO1 OTP Word 0x00 Language 0x0000 HW OCOTP CRYPTO2 Locked false HW OCOTP CRYPTO3 Shadowed false HW OCOTP CUSTCAP download HW OCOTP LOCK SD MBR BOOT 3 TMEODOSP ROME ENABLE UNENCRYPTED BOOT 4 HW OCOTP ROM2 HW OCOTP ROM3 HW_OCOTP_ROM4 DISABLE SPI NOR FAST READ 6 HW OCOTP ROMS
30. e 55 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 8 2 Physical dimensions Note that all dimensions are in inches fll dimensions are measured in inches SDE CH ER IE 4444844444 756666 ozo ool eb ff QU q q Q O oq Od q qq qo oq qd OO OO 2W W UU Gi T loo I 29 5S ELLE 11000 Of Gane Ge n D D U d E E E B 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 56 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 9 REVISION HISTORY AND SUPPORT 9 Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading Also the web page for your device is listed Be sure to check it after a purchase for the latest available updates and examples 9 1 Document revision Changes Modified Page a Initial Creation 01 06 12 Page 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 6 10 20 28 35 Page 28 fixed the table for the Linux names there were errors B 3 06 06 12 Page 35 added new chapter with info about USB SERIAL CABLE All edited numerous typos spelling mistakes punctuation etc Page 6 added details about the WIFI modem
31. e build scripts Here are some but not all of the mandatory ones G diffstat texi2html chrpath gawk texinfo some git client To ensure you have the latest version supported with all the updates visit https github com OLIMEX OLINUXINO and https github com Freescale fsl community bsp platform 2 8 How to blink the LED In this sub chapter you will find a way to achieve the most basic task in electronics the Hello World of electronics blinking the LED First we set the pin responsible for the LED 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 gt sys class gpio gpio65 direction echo 1 gt sys class gpio gpio65 value If you want to set the blink off you should change the value on the second line to echo 0 sys class gpio gpio65 value To show the info for all GPIOs ls sys class gpio To make it turn on turn off automatically e g blink we use the text redactor VI to write the Linux script echo out gt sys class gpio gpio65 direction while true do echo 1 gt sys class gpio gpio65 value sleep 1 echo 0 sys class gpio gpio65 value sleep 1 done Page 14 of 61 OLIMEXO 2012 OLinuXino MA XI
32. ed 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 This evaluation board kit is intended for use for engineering development demonstration or evaluation purposes only and is not considered by OLIMEX to be a finished end product fit for general consumer use Persons handling the product must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards Olimex currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive Olimex assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE O
33. es power and off loads the CPU m Highly Flexible Display Controller 8 bit data ITU R BT 656 D1 digital video stream output mode PAL NTSC with onthe fly RGB to YCbCr color space conversion Flexible input formats W Pixel Processing Pipeline PXP Provides full path from color space conversion scaling alpha blending to rotation without intermediate memory access Bi linear scaling algorithm with cropping and letterboxing Alpha blend BITBLT color keying Memory efficient block based rotation engine Page 27 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual W Integrated TV Out Support Integrated PAL NTSC TV encoder fully pipelined to display controller s D1 resolution output stream Integrated low power 10 bit Video DAC VDAC for composite analog video output m Data Co Processor DCP AES 128 bit encryption decryption SHA 1 hashing High speed memory copy m Three Universal Asynchronous Receiver Transmitters UARTs Two high speed application UARTs operating up to 3 25 Mb s with hardware flow control and dual DMA Debug UART operates at up to 115Kb s using programmed I O m I2C Master Slave DMA control of an entire EEPROM or other device read write transaction without CPU intervention m Dual Synchronous Serial Ports for SPI MMC SDIO Triflash 1 bit 4 bit and 8 bit MMC SD SDIO modes Compliant with SDIO Rev 2 0 SPI with single dual and quad modes
34. ext operations amp sudo su Page 16 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual IMPORTANT NOTE It is necessary to log in as root not as super user 9 Extract the downloaded tarball into the second partitions amp tar xzf home User Archlinux xxxxx tar gz 10 The next step is to to write the bootloader and kernel image to the first partition amp dd if Archlinux xxxxx img of dev sdb1 ibs 512 seek 4 conv sync notrunc 11 Unmount the SD card it should be ready for use amp cd amp umount dev sdb2 12 Download the new kernel patch from XXxxxxxxxxxxxxxxxxxx 13 Put the file in USB flash drive Insert the flash drive into OLinuXino board amp mount dev sdc1 mnt usb amp cp fv home User Downloads lt file gt mnt usb amp umount mnt usb Again this is example You should correct this commands with your paths and corresponding devices IMPORTANT NOTE The following commands are entered into OLinuXino terminal 14 Mount the flash drive amp mount dev sdb1 mnt usb 15 Run pacman to update the kernel amp pacman S mnt usb kernel26 olinuxino 2 6 35 3 6 arm pkg tar xz 665799 16 Follow the instructions Just type y when promted 17 Reboot IMPORTANT NOTE If you are connected to internet you can use the following command amp 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
35. gle chip LAN9512 which handles both functionality The LAN9512 contains a Hi Speed USB 2 0 hub with two fully integrated downstream USB 2 0 PHYs an integrated upstream USB 2 0 PHY a 10 100 Ethernet MAC PHY controller and an EEPROM controller It offers SMSC s highest level of USB 2 0 and 10 100 Ethernet compliance and interoperability Additionally the LAN9512 devices simplify system design by leveraging the existing USB stack and reducing the PCB footprint by up to 6596 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 big advantage of having USB hosts available over USB devices is that you can use them to power devices The signals follow the familiar and standard USB host pattern USB 2 level host PIN SIGNAL NAME je Page 43 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 6 6 LAN connector The Ethernet connectivity is handled by the LAN9512 controller which also incorporates a USB module in it The signals found on the Ethernet connector are listed in the table below LAN connector PIN SIGNAL NAME NOT CONNECTED NOT CONNECTED 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 6
36. holographic sticker on its back side and you use it with OLinuXino MICRO and you plug USB SERIAL CABLE and then you power the board there is a chance of malfunction of the SD card There are two possible workarounds to protect the SD card The first one is simpler and the second one requires some soldering experience Workaround 1 First insert the iMX233 OLinuXino SD card and then power the board and if powering the board from a battery also press the PWR button Wait 4 5 seconds and then connect the USB SERIAL CABLE F After the initial power up it is safe to use the reset button Workaround 2 You will need a Shottky diode The Shottky should be soldered on the USB Page 9 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual SERIAL CABLE F TX line wire RED cable with anode towards the board When you power the board by battery you have to press the PWR BUT to start the board If you start Linux and it is already running no matter which powering method you use PWR_JACK or BAT pressing the PWR BUT will put the Linux in power save mode When you power the board by battery you have to press the PWR BUT to start the board If you start Linux and it is already running no matter which powering method you use PWR_JACK or BAT pressing the PWR BUT will put the Linux in power save mode For the European customers we sell a power supply adapter 12V 0 5A SY0612E 2 5 Prebuilt software Note that the boards arrive without Linux or SD c
37. i 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 Olinuxino board such as the Micro Log into the Olinuxino board upgrade the system Page 19 of 61 OLIMEX 2012 OLinuXino MA XI User s Manual pacman Syu Then install development tools pacman S base devel Delete empty directories rmdir usr lib modules 2 6 35 6 ARCH build rmdir usr lib modules 2 6 35 6 ARCH source Install kernel source pacman S kernel26 headers olinuxino Get the Realtek drivers from the Realtek web site http www realtek com tw downloads downloadsView aspx Langid 1 amp PFid 48 amp Level 5 amp Conn 4 amp ProdID 277 amp DownTypeID 3 amp GetDown false amp Downl oads true I downloaded RTL8188CUS the one showing up on lsusb If you choose RTL8192CU you get the same file The file comes as a zip file RTL819xCU _USB_linux_v3 4 3_4369 20120622 zip Assume you downloaded it to your workstation 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 rtl8
38. ing the interface up manually ip link set wlanO up scan for access points iwlist wlanO scan cp etc wpa supplicant wpa supplicant conf etc wpa supplicant wpa supplicant conf original wpa passphrase myssid my secret passkey gt etc wpa supplicant wpa supplicant conf Associate with access point according to the encryption type Encryption Command No Encryption iwconfig wlan0 essid linksys WEP w Hex Key iwconfig wlanO essid linksys key 0241baf34c WEP w ASCII passphrase iwconfig wlan0 essid linksys key s pass1 WPA wpa_supplicant B Dwext i wlanO c etc wpa supplicant wpa supplicant conf Verify association iwconfig wlanO Assign IP address dhcpcd wlanO dhcp Page 22 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual Or static ip addr add 192 168 0 2 24 dev wlanO ip route add default via 192 168 0 1 To set up automatically at boot pacman S netcfg pacman S wpa_actiond pacman S ifplugd cp etc network d examples wireless wpa etc network d my_wifi_network cp etc network d examples ethernet dhcp etc network d my_eth_network vi etc network d my_wifi_network configure all parameters vi etc network d my_eth_network configure all parameters make sure you change eth0 to usb0 You can have multiple profiles e g for roaming etc To manually connect a profile netcfg my_wifi_network To manually disconnect a profile netcfg down my_wifi_network There are 3 daemon options for configuri
39. m Page 5 of 61 OLIMEXO 2012 1 2 The OLinuXino family OLinuXino MA XI User s Manual Table of comparison OLinuXino MICRO OLinuXino MINI OLinuXino MAXI Processor iMX233 454Mhz iMX233 454Mhz iMX233 454Mhz Ram MB 64 64 64 USB hosts 1 3 2 100 150 Mbit No WIFI option No WIFI option Yes WIFI option Ethernet GPIO connector 60pins 40pins 40pins Buttons 3 2 2 Reset button Yes Yes Yes DC power supply 5V 5V 16V 5V 16V Dimensions 3 40 x 1 70 3 70 x 2 65 3 70 x 2 65 Breadboarding Yes No No Audio IN connector No Yes Yes Audio OUT connector No Yes Yes UEXT connector No Yes Yes 100Mbit Ethernet for the wired network of OLinuXino MAXI 150Mbit for the WIFI following 811 02n standard All three boards 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 leave your USB HOSTs available for use 1 2 Target market and purpose of the board The boards from the OLinuXino family are ready to use easy to setup and are suitable for embedded programming enthusiasts Linux hobbyists gadget fa
40. ng networks at boot time 1 network the original setting 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 Page 23 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual Change to NETWORK 7 2my wifi network 2my eth network Make sure you have the correct names for WIRED INTERFACE and WIRELESS INTERFACE change eth0 to usb0 Also see https wiki archlinux org index php Beginners GuideZSetup wireless network https wiki archlinux org index php Wireless SetupzGetting an IP address https wiki archlinux org index php Netcfg Other commands ip link show wlanO Page 24 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 3 OLINUXINO BOARD DESCRIPTION 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 General purpose IOs UEXT Power button p d p Ob O o o9 eb A REIS Gm ELE Wee U_DEBUG SJTAG Ethernet controller i MX233 100 Mbit Ethernet LED1 Audio IN SD card USB Hosts x2 Composite video Audio OUT Page 25 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CH
41. ns and also professionals since its low cost makes it very good solution for application orientated embedded systems The main usage of the board is software embedded development without the urge of understanding perfectly the hardware Page 6 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual The strong points of the boards are the processor speed the mobility of the board and the low price Customers have full access to the technical documentation of the board The software is released under General Purpose License and the board is considered open hardware 1 3 Organization Each section in this document covers a separate topic organized as follow Chapter 1 is an overview 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 Chapter 6 covers the connector pinout peripherals and jumper description Chapter 7 shows the memory map Chapter 8 provides the schematics Chapter 9 contains the revision history useful links and support information Page 7 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 2 SETTING UP THE OLINUXINO BOARD 2 Introduction to the chapter This section
42. nual 2 4 Powering the board The board is powered either via the PWR jack or via a battery It should be supplied from a 6V to 16V source with maximum current of 1A from the power jack All measures below are taken at 10V If measuring the current consumption it should be around 0 06A before initializing all the peripherals The consumption raises to 0 12A without LAN and USB hosts initialized and Linux running The consumption goes up 0 15A with the Linux running when LAN and both USB hosts initialized 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 will be powered off if you use the external 3 3V DC DC they will stil work if using the internal in the processor DC DC The consumption from the battery when Linux is running is around 0 75A IMPORTANT We discovered a situation which might leave some of the SD cards iM X233 OLinuXino 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 powering the board If you happen to have received SD card with
43. ort 2 Controller S SPDIF TX TO a I lt lt 8 al _ c4 BI AXI 4 2 AXI mDDR DDR DRAM A UARTS3 D I M abu UART2 BUE M Multichannel ADC Touchscreen o Timers PWM RTC ALARM Watchdog Persistent Regs EITE USB PHY Page 52 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 7 3 Physical memory map OxFFFFFFFF On Chip ROM ROM aliased through 0xC0000000 1 Gbyte 0x80100000 Default Slave Ox800FFFFF Peripheral Space 128 Kbytes 0x80000000 Ox7FFFFFFF Default Slave 0x60000000 Ox5FFFFFFF External DRAM 32767 Aliases of 32 Kbytes On Chip SRAM 0x00008000 0x00007FFF On Chip SRAM 32 Kbytes 0x00000000 Page 53 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 8 SCHEMATICS 8 Introduction to the chapter In this chapter are located the schematics describing logically and physically OLinuXino 8 1 Eagle schematic OLinuXino schematic is visible for reference here You can also find them on the web page for OLinuXino at our site http www olimex com dev imx233 OLinuXino maxi html They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 54 of 61 OLIMEXO 2012 OLinuXino User s Manual DCDC VDDD 1 E c zurisav T 22uF 63v 1 3 3ViO FEN oni A06 fe 7 0 n A DZ Sjey D3 AE B zi caja es voran Emp pa wami ap
44. ottom of the board for your convenience 6 1 3 Classic JTAG debug The third option is to use the classic 6 pin parallel JTAG not including GND and VCC There are pads left for this option at the bottom of the board under the SD card holder They are named individually and framed near a JTAG name The important thing is that these 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 The HW DIGCTL CTRL USE SERIAL JTAG bit in the digital control block selects whether the serial JTAG interface or the alternative six wire parallel JTAG interface is used HW DIGCTL CTRL USE SERIAL JTAG 0x0 Selects whether the one wire serial JTAG interface or the alternative six wire parallel JTAG interface is used 0 Parallel six wire JTAG is Page 35 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual enabled and is mapped to a collection of module pins that must be enabled by programming their MUXSEL bits in the pin control block 1 Serial JTAG is enabled and uses the dedicated DEBUG pin The ROM bootcode writes this field prior to enabling JTAG selecting which type of JTAG pin signaling to use OL
45. re positive that the problem is due to manufacturing defect or component you can return the board back to us for inspection When we receive the board we will check and if the problem is caused due to our fault and we will repair replace the faulty hardware free of charge otherwise we can quote price of the repair Note that all shippings back and forth have to be covered by the customer Before you ship anything back you need to ask for RMA When you ship back please attach to it your shipping address phone e mail RMA and brief description of the problem All boards should be sent back in antistatic package and well packed to prevent damages during the transport Page 61 of 61
46. reo ADC with 85 dB SNR Stereo headphone amplifier with short circuit protection and direct drive to eliminate bulky capacitors Amplifiers are designed for click pop free operation Page 26 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual Two stereo line inputs Microphone input SPDIF digital out m 16 Channel Low Resolution ADC 6 independent channels and 10 dedicated channels Resistive touchscreen controller Temperature sensor controller Absolute accuracy of 1 3 m Security Features Read only unique ID for digital rights management algorithms Secure boot using 128 bit AES hardware decryption SHA 1 hashing hardware Customer programmed OTP 128 bit AES key is never visible to software B External Memory Interface EMI Provides memory mapped load store access to external memories Supports the following types DRAM 1 8V Mobile DDR Standard 2 5V DDR1 m Wide Assortment of External Media Interfaces High speed MMC secure digital SD Hardware Reed Solomon Error Correction Code ECC engine offers industry leading protection and performance for NANDs Hardware BCH ECC engine allowing for up to 20 bit correction and programmable redundant area W 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 sav
47. s Initial release of the board R14 removed 9 3 Useful web links and purchase codes The web page you can visit for more info on your device is http www olimex com dev imx233 olinuxino maxi html A place for general questions FAQ or friendly talk http tech groups yahoo com group olinuxino You can get the latest updates on the software at https github com OLIMEX OLINU XINO The OLinuXino Linux images sources https github com Freescale fsl community bsp platform ORDER CODES iMX233 OLinuXino MAXI the best version of OLinuXino featuring Ethernet controller iMX233 OLinuXino MINI the mini version of the single board computer iMX233 OLinuXino 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 adapter 12V 0 5A for iMX233 OLinuXino MA XI and iMX233 OLinuXino MINI Will not work with OLinuXino MICRO SY0605E power supply adapter 5V 1A for iMX233 OLinuXino MICRO Will not work with iMX233 OLinuXino MA XI and iMX233 OLinuXino MINI Page 59 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual How to order You can order to us directly using the e shop or b
48. to create SD card with Archlinux image 1 Download the image files from xxxxxxx Put the files in desired folder for example home User Archlinux 2 Insert the card reader into the Linux host machine IMPORTANT NOTE this example is given with sdb1 and sdb2 devices but it could enumerate differently on your host so confirm what it enumerates as before running fdisk 3 Unmount the card reader amp sudo umounth dev sdb1 4 Format the SD card using fdisk amp sudo fdisk dev sdb 5 With the help of the menu create two partitions The steps are the following 5 1 Type p to view existing partitions on the SD card 5 2 Type d to delete all partitions 5 3 Type n to create new one 5 4 Set 1 as partition number 5 5 Type p to select primary partition 5 6 Press Enter to select default beginning sector 5 7 Type 32M to create 32MB partition 5 8 Type t to change partition type 5 9 Type 53 5 10 Type n to create another partition 5 11 Set 2 as partition number 5 12 Type p to set partition as primary 5 13 Press Enter to set default size of the partition 5 14 Type w to write partitions to the SD card 6 Create the second partition with ext3 file system amp sudo mkfs ext3 dev sdb2 7 Mount the second partition amp 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 n
49. x HY5DU121622D 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 DEBUG interface that can be purchased for additional cost has three cables It is important to specify in your purchase order whether you want the MOD SERIAL USB variant with male of female connectors Page 50 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual CHAPTER 7 BLOCK DIAGRAM AND MEMORY 7 Introduction to the chapter On the next page you can find a memory map for this family of processors It is strongly recommended to refer to the original datasheet released by Freescale 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 Device Mnemonic Start address End address Size block AHB On chip RAM OCRAM 0x00000000 0x00007FFF 32KB On chip RAM OCRAM 0x00008000 Ox3FFFFFFF alias External memory 0x40000000 Ox5FFFFFFF 512MB Default Slave 0x60000000 Ox7FFFFFFF 512M Page 51 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 7 2 Processor block diagram APBH EMI PIO jeeje TVENC FIO Sono eta sss mazim mamam DMA Control S S ocRoM AHB to APBH Controller S Bridge DMA M Bridge DMA 64KB ROM S S 4 P
50. y any of our distributors Check http www olimex com for more info Page 60 of 61 OLIMEXO 2012 OLinuXino MA XI User s Manual 9 3 Product support For product support hardware information and error reports mail to support olimex com Note that we are primarily a hardware company and our software support is limited Please consider reading the paragraph below about the warranty of Olimex products Warranty and returns Our boards have lifetime warranty against manufacturing defects and components During development work it is not unlikely that you can burn your programmer or development board This is normal we also do development work and we have damaged A LOT of programmers and boards during our daily job so we know how it works If our board programmer has worked fine then stopped please check if you didn t apply over voltage by mistake or shorted something in your target board where the programmer was connected etc Sometimes boards might get damaged by ESD shock voltage or if you spill 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 subject of our warranty If you a

Download Pdf Manuals

image

Related Search

Related Contents

USER MANUAL - New Education Policy  Difrnce SPB109  Targus Classic+        Smeg S300X-5 Product manual  Whirlpool Conservator BYCWD6274W3 User's Manual  pour vous conseiller et vous accompagner  DNF-930-K1000  

Copyright © All rights reserved.
Failed to retrieve file