element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Blog RIoTboard Demo I
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 14 Jul 2014 9:51 AM Date Created
  • Views 853 views
  • Likes 2 likes
  • Comments 4 comments
  • tutorial
  • internet_of_things
  • riotboard
  • riot
  • demo
  • iot
Related
Recommended

RIoTboard Demo I

Former Member
Former Member
14 Jul 2014


imageimage

Intro

I recently set up a couple of demos on I.MX 6 based boards for one of the tech suport guys to take to the Designing with Freescale seminar in Warsaw. The best of the bunch was a RIoTboard demo showcasing compatibility with a portable LCD display, camera and WiFi. The demo creation process is simple enough for a relative beginner to follow and when completed makes for a great platform for Android development.

 

Equipment Required

For this project you will require the following:

  • Access to a Windows based PC
  • RIoTboardRIoTboard
  • LCD8000-97CLCD8000-97C
  • UART8000-UUART8000-U
  • 5V PSU5V PSU
  • USB-A to mini-B USB cableUSB-A to mini-B USB cable
  • WiPiWiPi (optional)
  • CAM8100-UCAM8100-U (optional)

 

Flashing the board

 

For the demo, we flashed the image to the RIoTboard itself. Putting the image on a bootable SD card is also possible and instructions for this are in the RIoTboard user manual.

 

First create a working directory to make things easier, in this example I used C:\riot, if you feel the need to use a different directory remember to alter any paths in this guide where appropriate.


Next, go to www.element14.com/riotboard and find the Quick links box. You will need to download both the Android OS Image (Android Image.zip) and Android Tools (tools.zip) to C:\riot. Once the zip files have been downloaded extract them both with your preferred archiving software.


Copy u-boot-mx6solo-RIoTboard.bin from C:\riot\Android Image and the three files boot.img, recovery.img and system.img from C:\riot\Android Image\eMMC to C:\riot\tools\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\profiles\mx6dl linux update\os firmware\files\android and overwrite any files if prompted.

 

Set the on board dip switch to serial download mode as shown


image

 

Plug your RIoTboard into yor PC using a mini USB cable, make sure you use the USB OTG interface (as shown in the image) and not the Open SDA!

image

 

Supply power to the RIoTboard via the 5V PSU

image

 

 

 

Start MFG tools (C:\riot\tools\tools\Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATER\MfgTool2.exe). The RIoTboard should have been detected and listed in the MFG tools window as "HID-compliant device". Click "Start" to begin the procedure.

image

 

During the flashing process an error may be displayed, this is nothing to worry about, just click cancel and it will go away.

image

 

After approximately two and a half minutes the window will show 1 successful operation. This indicates that the procedure is complete, click stop then exit.

image

 

Now remove all the cables and reset the DIP switches as follows to enable booting from the eMMC:

image

Install the UART

If this is the first time using the UART8000-U with your PC then you may need to install compatible drivers. The driver I used was CDM 2.08.30 WHQL Certified. This is available from the FTDI website.

 

 

The downloaded driver is provided as an executable. Once downloaded, double click the CDM v2.08.30 WHQL Certified.exe file and click Extract on the window shown:

image

 

Click Next to start the installer

image

 

This screen indicates that the installation process was successful. Click Finish to close the window

image

 

The final stage is to visit Device Manager (How-To). Expand the "Ports (COM & LPT)" section by clicking the + symbol and take note of the COM port that has been assigned to the UART8000-U (in this case COM15) as you will need this later.

image

Connecting the UART8000-U

The image you previously flashed to the RIoTboard has it's default video output set to HDMI. Swapping this to use the LVDS is a simple process with a lot of typing.

 

Use the UART8000-U to connect the RIoTboard to your PC as in the image. The debug header you are looking for (J18) is tucked away in a corner between the Ethernet port and the USB OTG we used to flash the board

image

 

Terminal Emulator Config

The simplest way to modify Uboot settings on your RIoTboard is to communicate via a terminal emulator. While there are several free terminal emulators available we will use PuTTY for this guide.

Download PuTTY (Link)http://www.putty.org/ then configure the settings as shown, substituting COM15 for the COM port you identified in the previous setion:

image

 

Click Open and reconnect the RIoTboard to the 5V PSU. when the console shows "Hit any key to stop autoboot:" do as you're told to get the Uboot prompt

image


Now for the typing! Enter the following line of code into the terminal window:

 

setenv bootargs console=ttymxc1,115200 init=/init nosmp video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off fbmem=10M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale

 

Hit enter on your keyboard then type in:

 

saveenv

 


And hit enter again.You can now turn off the RIoTboard and plug in the LCD8000-97C

image


Then turn it back on

image


Congratulations, you now have a fully functional RIoTboard demo!

Both the WiPi and the CAM8100-U are plug and play and supported by the newly installed image, just plug them into one of the USB ports and have fun!




Hungry for more? Click here for part 2!

image

  • Sign in to reply
  • Former Member
    Former Member over 10 years ago

    Hi!; Could you tell me how good the lcd screen ilumination is ?, i´m intending to use it on an outside area so if the sunlight is a problem i might consider looking for another lcd screen.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 11 years ago in reply to Former Member

    Thanks Matt, appreciate it!

    I was thinking that maybe I was just looking in all the wrong places.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to ntewinkel

    Hi Niko,

    Sadly I am unaware of any patch notes, I'll see if I can pull some strings at e14 and get those added image

    You are correct about this being a newer image it adds support for WiPi and USB8000-U among other things.

    I can't say if this new image fixes any HDMI issues as I use my RIoTboard with the LCD8000-97C via the LVDS interface

     

    Regards,

    Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 11 years ago

    Thanks for the tutorial, Matt!

    That'll be very helpful when I go to upgrade the Android image later image

     

    Do you know if (and where) any version information is available for the Android images? The only links I've found just straight-out download the image without telling me anything about it. From your tutorial it sounds like an image upgrade is required to add support for a few new bits of hardware, so I'm guessing it's a newer version than was originally on the board.

    I'm hoping an image will soon be available to fix the slow playback of video and audio using basic hdmi.

     

    Thanks,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube