OLIMEX OLinuXino-MINI User manual

OLIMEX© 01 OLinuXino User's Manual
ISCLAIMER
© 01 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 infor ation in this docu ent is provided in connection with Oli ex products. No license, express
or i plied or otherwise, to any intellectual property right is granted by this docu ent or in connection
with the sale of Oli ex 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 contained in this document are given by OLIMEX in good faith.
However all warranties implied or expressed including but not limited to implied warranties of
merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the
use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any
information in this document or any error or omission in such information or any incorrect use of the
product.
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 OLINUXINO. THEY ARE CONSIDERED
SUITABLE ONLY FOR OLINUXINO.
Page of 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino User's Manual
Table of Contents
ISCLAIMER ...............................................................................................................
CHAPTER 1 OVERVIEW ...........................................................................................
1. Introduction to the chapter.......................................................................................................5
1.1 Features.....................................................................................................................................5
1.2 The OLinuXino fa ily............................................................................................................6
1.2 Target arket and purpose of the board..............................................................................6
1.3 Organization.............................................................................................................................7
CHAPTER 2 SETTING UP THE OLINUXINO BOAR ........................................
2. Introduction to the chapter.......................................................................................................8
2.1 Electrostatic warning...............................................................................................................8
2.3 Require ents...........................................................................................................................8
2.4 Powering the board..................................................................................................................9
2.5 Prebuilt software......................................................................................................................9
2.6 Using BitBurner.....................................................................................................................10
2.7 Building the Linux i age......................................................................................................11
2.8 How to blink the LED............................................................................................................13
CHAPTER 3 OLINUXINO BOAR ESCRIPTION ..............................................
3. Introduction to the chapter.....................................................................................................15
3.1 Layout (top view)...................................................................................................................15
CHAPTER 4 THE iMX233 MICROCONTROLLER ...............................................
4. Introduction to the chapter.....................................................................................................16
4.1 The icrocontroller...............................................................................................................16
CHAPTER 5 CONTROL CIRCUITY AN HAR WARE MO ULES .................
5. Introduction to the chapter.....................................................................................................20
5.1 Reset........................................................................................................................................20
5.2 Clocks......................................................................................................................................20
5.3 Power supply circuit..............................................................................................................21
CHAPTER 6 CONNECTORS AN PINOUT ...........................................................
6. Introduction to the chapter.....................................................................................................23
6.1 Debugging interfaces.............................................................................................................23
6.1.1 UART debug........................................................................................................................24
6.1.2 SJTAG debug......................................................................................................................24
6.1.3 Classic JTAG debug...........................................................................................................25
6.2 SD/MMC slot..........................................................................................................................27
6.3 UEXT odule.........................................................................................................................28
6.4 GPIO (General Purpose Input/Output) 40pin connector .................................................29
Page 3 of 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino User's Manual
6.5 USB HOSTs............................................................................................................................32
6.6 PWR Jack...............................................................................................................................33
6.7 Headphones and line-in connector.......................................................................................34
6.8 Battery connector...................................................................................................................35
6.9 Co posite video connector...................................................................................................35
6.10 Boot ode positions.............................................................................................................35
6.11 Ju per description..............................................................................................................37
6.12.1 SCL_SW/SCL_HW and SDA_SW/SDA_HW................................................................37
6.12.2 5V_E...................................................................................................................................37
6.12.3 3.3VIO_E and 3.3V_E ju pers.......................................................................................37
6.12.4 Boot ode selecting ju pers...........................................................................................38
6.13 Additional hardware co ponents......................................................................................38
6.14 Accessories............................................................................................................................38
6.14.1 USB-SERIAL-CABLE-F..................................................................................................38
CHAPTER 7 BLOCK IAGRAM AN MEMORY .................................................
7. Introduction to the chapter.....................................................................................................40
7.1 Me ory addresses.................................................................................................................40
7.2 Processor block diagra .......................................................................................................41
7.3 Physical e ory ap...........................................................................................................42
CHAPTER 8 SCHEMATICS .......................................................................................
8. Introduction to the chapter.....................................................................................................43
8.1 Eagle sche atic......................................................................................................................43
8.2 Physical di ensions...............................................................................................................45
CHAPTER 9 REVISION HISTORY AN SUPPORT ..............................................
9. Introduction to the chapter.....................................................................................................46
9.1 Docu ent revision.................................................................................................................46
9.2 Board revision........................................................................................................................47
9.2 Useful web links and purchase codes...................................................................................47
9.3 Product support.....................................................................................................................48
Page 4 of 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino 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.MX 33, manufactured by FreeScale Semiconductor.
OLinuXino is an open-source, open-hardware project and all documentation is available to the
customer.
1.1 Features
•iMX 33 ARM9 6J processor at 454Mhz
•64 MB RAM
•SD-card connector for booting the Linux image
•TV PAL/NTSC video output
•3 USB High Speed Hosts
•Stereo Audio Input
•Stereo Headphones Audio Output
•Two Buttons
•UEXT connector for connection of different peripherial modules
•40 pin GPIO for connection to external hardware
•Board is in the proper shape and dimensions to fit inside Pactec JM4 plastic box
http://www.pactecenclosures.com/pdfs/drw_JM-4 .pdf
•Power supply input 6-16VDC
•optional WIFI RTL8188CU module
•PCB dimensions: 3.70'' x .15'' (94.0mm x 54.6mm)
•Nominal dimensions: 3.70'' x .65'' (94.0mm x 67.3mm)
Page 5 of 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino User's Manual
1.2 The OLinuXino family
Table of comparison
OLinuXino-MICRO OLinuXino-MINI OLinuXino-MAXI
Processor iMX233 @ 4 4Mhz iMX233 @ 4 4Mhz iMX233 @ 4 4Mhz
Ram [MB] 64 64 64
# USB hosts 1 3 2
100/1 0 Mbit
Ethernet*
No/WIFI option** No/WIFI option*** Yes/WIFI option**
GPIO connector 60pins 40pins 40pins
# Buttons 3 2 2
Reset button Yes Yes Yes
DC power supply V V-16V V-16V
Dimensions 3.40'' x 1.70'' 3.70'' x 2.6 '' 3.70'' x 2.6 ''
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.0 n 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 fans 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 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino 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 provides a guide for quickly setting up the board
–Chapter 3 contains the general board diagram and layout
–Chapter 4 describes the component that is the heart of the board: the iMX 33
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 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino User's Manual
CHAPTER 2 SETTING UP THE OLINUXINO BOAR
2. Introduction to the chapter
This section 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-F
- 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 1 V/0.5A for iMX 33-OLinuXino-MINI
Page 8 of 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino 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.
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.1 A without WIFI and USB hosts initialized and Linux
running. The consumption goes up 0.15A with the Linux running when WIFI and both USB hosts
initialized.
If you have a standard USB flash drive attached to a USB host, Linux and WIFI running the typical
consumption is around 0. 0A.
When powered by the typical 3.7V battery the WIFI and USB-hosts will be disabled if you use
external 3.3 DC-DC (not mounted by default).
For the European customers we sell a power supply adapter 1 V/0.5A - SY0612E.
2.5 Prebuilt software
Note that the boards arrive without Linux or SD card. The Linux i age can be purchased
separately on a SD card or you can built and write it yourself.
When we program the boards we change the default position of the following HW_OCOTP_ROM0
fuses of the processor:
SD_MBR_BOOT(3) - Blown
SD_POWER_GATE_GPIO( 1: 0) – 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.
Page 9 of 48
Downloaded from Elcodis.com electronic components distributor

OLIMEX© 01 OLinuXino User's Manual
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!
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.
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. 7mm) male connector following the order
of the signals. Please also restrain from using wires longer than 0 cm since that might make the
connection unreliable.
Download BitBurner from https://www.olimex.com/dev/OLINUXINO/iMX 33-
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. If you
check the fuses we have already burned the application should show an image as the one on the next
page.
Page 10 of 48
Downloaded from Elcodis.com electronic components distributor
Table of contents
Other OLIMEX Desktop manuals



















