OLIMEX IMX233-OLinuXino-MAXI User Manual

Open-source embedded linux board
Table of Contents

Advertisement

Quick Links

IMX233-OLinuXino-MAXI
an open-source embedded Linux board
USER'S MANUAL
Revision M, January 2015
Designed by OLIMEX Ltd, 2012
All boards produced by Olimex LTD are ROHS compliant

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IMX233-OLinuXino-MAXI and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for OLIMEX IMX233-OLinuXino-MAXI

  • Page 1 IMX233-OLinuXino-MAXI an open-source embedded Linux board USER’S MANUAL Revision M, January 2015 Designed by OLIMEX Ltd, 2012 All boards produced by Olimex LTD are ROHS compliant...
  • Page 2: Disclaimer

    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.
  • Page 3: Table Of Contents

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual Table of Contents DISCLAIMER ............................2 CHAPTER 1: OVERVIEW ........................5 1. Introduction to the chapter ......................5 1.1 Features ............................5 1.2 The OLinuXino family ......................6 1.3 Target market and purpose of the board ..................7 1.4 Organization ..........................
  • Page 4 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 6.4 GPIO (General Purpose Input/Output) 40pin connector ............37 6.5 USB HOSTs ..........................41 6.6 LAN connector ........................42 6.7 PWR Jack ..........................42 6.8 Headphones and line-in connector ................... 43 6.9 Battery connector ........................43 6.10 Composite video connector ....................
  • Page 5: Chapter 1: Overview

    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.
  • Page 6: The Olinuxino Family

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 1.2 The OLinuXino family Table of comparison OLinuXino-NANO OLinuXino-MICRO OLinuXino-MINI OLinuXino-MAXI Processor iMX233 @ 454Mhz iMX233 @ 454Mhz iMX233 @ 454Mhz iMX233 @ 454Mhz Ram [MB] # USB hosts 100/150 Mbit No/WIFI No/WIFI option** No/WIFI...
  • Page 7: Target Market And Purpose Of The Board

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 1.3 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 fans and also professionals (since its low cost makes it very good solution for application orientated embedded systems).
  • Page 8: Chapter 2: Setting Up The Olinuxino Board

    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 –...
  • Page 9: Powering The Board

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 10: Prebuilt Software

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 11 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual After soldering the three wires you can place a marker on each of them or use colored 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...
  • Page 12: Building The Linux Image

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 13 ~/fsl-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$:.
  • Page 14: How To Blink The Led

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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 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”...
  • Page 15: How Setup The I2C, Spi, Uart

    I2C. 2.10 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“...
  • Page 16 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 17 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual IMPORTANT NOTE: The following commands are entered into OLinuXino terminal. 14. Mount the flash drive & mount /dev/sdb1 /mnt/usb 15. Run pacman to update the kernel: & pacman -S /mnt/usb/kernel26-olinuxino-2.6.35.3-6-arm.pkg.tar.xz 16. Follow the instructions. Just type “y” when promted.
  • Page 18 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual & :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 &...
  • Page 19: How To Use A Usb Wifi Dongle Based On Realtek Rtl8188Cus And

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual path should be added to the file rc.local. & vi /etc/rc.local Add the path to the script file: /home/examples/led_blink/led_blink & The "&" means that the script will be running in background. 2.11 How to use a USB WiFi dongle based on RealTek RTL8188CUS and RTL8192CU under ARCH Linux This procedure was done on the Olinuxino-Maxi.
  • Page 20 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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...
  • Page 21 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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: make clean make rmmod 8192cu.ko (not really needed) insmod 8192cu.ko make install Verify that the driver has been installed:...
  • Page 22 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual wpa_passphrase myssid "my_secret_passkey" > /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 wlan0 essid "linksys" key "0241baf34c" WEP w/ ASCII passphrase iwconfig wlan0 essid "linksys" key "s:pass1"...
  • Page 23 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 1. network – the original setting. don't use that since we're using netcfg 2. net-profiles 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 24: Introduction To The Chapter

    OLIMEX© 2015 IMX233-OLinuXino-MAXI 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.
  • Page 25: Chapter 4: The Imx233 Microcontroller

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual CHAPTER 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.
  • Page 26 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual — 6 independent channels and 10 dedicated channels — Resistive touchscreen controller — Temperature sensor controller — Absolute accuracy of 1.3%  Security Features — Read-only unique ID for digital rights management algorithms — Secure boot using 128-bit AES hardware decryption —...
  • Page 27 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual — SHA-1 hashing — High-speed memory copy  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.
  • Page 28: Chapter 5: Control Circuity

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual CHAPTER 5: CONTROL CIRCUITY 5. 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 Ω), T1, 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...
  • Page 29 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 30 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual Note the 3.3VIO_E jumper which by default is closed – if you open it (cut it) - it disables the U6 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.
  • Page 31: Chapter 6: Connectors And Pinout

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 32: Uart Debug

    OLIMEX© 2015 IMX233-OLinuXino-MAXI 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-CABLE-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).
  • Page 33: Classic Jtag Debug

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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.
  • Page 34 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual It is good idea to check the datasheet of the iMX233 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.
  • Page 35: Sd/Mmc Slot

    OLIMEX© 2015 IMX233-OLinuXino-MAXI 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.
  • Page 36: Uext Module

    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: https://www.olimex.com/Products/Modules/UEXT/resources/UEXT_rev_B.pdf *Note the two jumpers PIN29/SOFT_CL –...
  • Page 37: Gpio (General Purpose Input/Output) 40Pin Connector

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual UEXT connector Pin # Signal Name Processor Pin # 1 +3.3VREG 2 GND 3 AUART1_TXD 4 AUART1_RXD 5 I2C_SCL 34(default) OR 11* 6 I2C_SDA 31(default) OR 15* 7 PIN9/LCD_D08/SSP2_MISO 8 SSP2_MOSI 9 SSP2_SCK 10 PIN12/LCD_D11/UEXT_CS The UEXT pinout is also printed at the bottom of the board under the connector.
  • Page 38 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 ones filled with “Not implemented” doesn't have Linux support by the time of writing and will be updated overtime.
  • Page 39 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual #” 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”...
  • Page 40 OLIMEX© 2015 IMX233-OLinuXino-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 59...
  • Page 41: Usb Hosts

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 6.5 USB HOSTs The USB hosts and the Ethernet are controller by a single 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.
  • Page 42: Lan Connector

    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 should provide between 6 and 16 volts @ 1A to the board. Pin # Signal Name...
  • Page 43: Headphones And Line-In Connector

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's 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# L channel R channel GND pins The headphones resistance is 16 Ohms! 6.9 Battery connector...
  • Page 44: Composite Video Connector

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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 iMX233 processor.
  • Page 45: Jumper Description

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 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. 6.12.1 SCL_SW/SCL_HW and SDA_SW/SDA_HW Those two jumpers must be moved together –...
  • Page 46: 5V_E

    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.
  • Page 47: Accessories

    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_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 USB-SERIAL-CABLE variant with male a male or female connectors.
  • Page 48: Chapter 7: Block Diagram And Memory

    OLIMEX© 2015 IMX233-OLinuXino-MAXI 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.
  • Page 49: Processor Block Diagram

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 7.2 Processor block diagram Page 49 of 59...
  • Page 50: Physical Memory Map

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 7.3 Physical memory map Page 50 of 59...
  • Page 51: Chapter 8: Schematics

    OLIMEX© 2015 IMX233-OLinuXino-MAXI 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 a reference here. You can also find it on the GitHub for OLinuXino at our site: https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-...
  • Page 52 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual DCDC_VDDD EMI_A00 VDDD1 EMI_A01 VDDD3 EMI_A02 512Mb DDR SDRAM (32Mx16) EMI_A03 22uF/6.3V 22uF/6.3V EMI_A04 VSSD2 EMI_A05 HY5DU121622D(L)T(P)-J VSSD1 3.3VIO 2.5V EMI_A06 C3 22uF/6.3V EMI_A07 VDDIO33_1 C4 22uF/6.3V EMI_A08 PIN6/LCD_D05 VDDIO33_3 EMI_A09 C5 22uF/6.3V EMI_A10 VDDIO_EMIQ...
  • Page 53: Physical Dimensions

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user'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 53 of 59...
  • Page 54: Chapter 9: Revision History And Support

    OLIMEX© 2015 IMX233-OLinuXino-MAXI 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.
  • Page 55 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual Continued from previous page Revision Changes Modified Page# Page 4 – Added links to chapter names Page 10 – Typos/bugs in code 4, 10, 12, 45 Page 12 – Added new sub-chapter 18.06.12 Page 45 – Added link to the OLinuXino yahoo group Page 9, 23 –...
  • Page 56 OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual Continued from previous page Revision Changes Modified Page# Pages 26, 27, 28, 29 – Fixed wrong info about 26, 27, 28, 29 the LQFP128 package of iMX233 29.10.12 Page 11 – Wrong wiring for the fuse burning was present at the picture 04.01.12...
  • Page 57: Board Revision

    OLIMEX© 2015 IMX233-OLinuXino-MAXI user's manual 9.2 Board revision Revision Notable Changes Initial release of the board R14 removed 1. Renamed from iMX233-OLINUXINO_Rev_C to iMX233-OLINUXINO-MAXI_Rev_C 2. BOOT jumpers moved to bottom of the board and the distance between them was increased 3.
  • Page 58: Useful Web Links And Purchase Codes

    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 –...
  • Page 59: Product Support

    All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice. OLIMEX will not accept goods that have clearly been used more than the amount needed to evaluate their functionality.

Table of Contents