Difference between revisions of "How to Install GIMX Firmware on TIAO GBoard/GIMX Adapter"

From TIAO's Wiki
Jump to: navigation, search

10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
(Install Firmware Using DFU-Programmer)
 
(6 intermediate revisions by the same user not shown)
Line 27: Line 27:
 
* [https://github.com/matlo/GIMX-firmwares/releases/ GIMX firmware]
 
* [https://github.com/matlo/GIMX-firmwares/releases/ GIMX firmware]
  
=== Install the Firmware ===
+
=== Install the Windows Driver ===
  
 
* First we need to connect the board to your computer, use the USB to Mini USB B cable to connect the ATMEGA32U4 USB port to your PC's USB port: [[Image:gimx-firmware-connection.png|none]]
 
* First we need to connect the board to your computer, use the USB to Mini USB B cable to connect the ATMEGA32U4 USB port to your PC's USB port: [[Image:gimx-firmware-connection.png|none]]
Line 34: Line 34:
 
* Right mouse click on it and select update driver...
 
* Right mouse click on it and select update driver...
 
* Select Browse my computer for driver software:[[Image:updatedriver.png|none]]
 
* Select Browse my computer for driver software:[[Image:updatedriver.png|none]]
* Use the browse button to locate the driver software:
+
* Use the browse button to locate the driver software:[[Image:driverlocation.png|none]]
 +
* Click install [[Image:driverwarning.png|none]]
 +
* Windows driver installed [[Image:dirverdone.png|none]]
 +
 
 +
=== Install Firmware Using Flip ===
 +
 
 +
If you plan to use dfu-programmer, please skip this step and go to next step.
 +
 
 +
* Run flip software, click the chip icon to select the chip: [[Image:fliptargerdeivce.png|none]]
 +
* In the target device list, select ATMEGA32U4 [[Image:flipatmega32u4.png|none]]
 +
* Select USB as the communication protocol [[Image:flipcomm.png|none]]
 +
* Click Open to use the USB port [[Image:flipcommopen.png|none]]
 +
* Load the HEX firmware from to Flip software so we can flash it [[Image:fliploadhex.png|none]]
 +
* Select the firmware for ATMEGA32U4 [[Image:flipselectfw.png|none]]
 +
* Make sure Erase, Blank Check, Program and Verify are all checked and click Run button [[Image:fliprun.png|none]]
 +
* If everything goes OK, you will see this: [[Image:flipdone.png|none]]
 +
* Done
 +
 
 +
=== Install Firmware Using DFU-Programmer ===
 +
 
 +
If you plan to use Flip, you can skip this step.
 +
 
 +
You can use the following command to install the firmware on ATMEGA32U4 using dfu-programmer:
 +
 
 +
To erase the chip:
 +
 
 +
<code>
 +
dfu-programmer.exe atmega32u4 erase
 +
</code>
 +
 
 +
To program the chip:
 +
 
 +
<code>
 +
dfu-programmer.exe atmega32u4 flash <path to firmware>
 +
</code>
 +
 
 +
To reset the chip:
 +
 
 +
<code>
 +
dfu-programmer.exe atmega32u4 reset
 +
</code>
 +
 
 +
For example:
 +
 
 +
[[Image:dfu-programmer-win.png|none]]
 +
 
  
  

Latest revision as of 11:45, 28 April 2016








Buy various JTAG cables for your Satellite Receiver, Cable Modem, Wireless Router, Standard Wiggler from http://www.easymg.com and http://www.diygadget.com

How to Install GIMX Firmware on TIAO GBoard/GIMX Adapter

TIAO GBoard/GIMX Adapter is a combined development board, integrates USB to COM converter, and an ATMEGA32U4 chip. This is great for AVR development. However it is also very easy to use it as a GIMX adapter, no need to solder anything!

In this tutorial, we are going to show you how to install GIMX firmware on to TIAO GBoard/GIMX Adapter

Required Hardware

Required Software

Install the Windows Driver

  • First we need to connect the board to your computer, use the USB to Mini USB B cable to connect the ATMEGA32U4 USB port to your PC's USB port:
    Gimx-firmware-connection.png
  • Once the board is connected to your PC, you will notice this notification:
    Newdevice.png
  • Click it and you will see this:
    Atmega32u4-dm.png
  • Right mouse click on it and select update driver...
  • Select Browse my computer for driver software:
    Updatedriver.png
  • Use the browse button to locate the driver software:
    Driverlocation.png
  • Click install
    Driverwarning.png
  • Windows driver installed
    Dirverdone.png

Install Firmware Using Flip

If you plan to use dfu-programmer, please skip this step and go to next step.

  • Run flip software, click the chip icon to select the chip:
    Fliptargerdeivce.png
  • In the target device list, select ATMEGA32U4
    Flipatmega32u4.png
  • Select USB as the communication protocol
    Flipcomm.png
  • Click Open to use the USB port
    Flipcommopen.png
  • Load the HEX firmware from to Flip software so we can flash it
    Fliploadhex.png
  • Select the firmware for ATMEGA32U4
    Flipselectfw.png
  • Make sure Erase, Blank Check, Program and Verify are all checked and click Run button
    Fliprun.png
  • If everything goes OK, you will see this:
    Flipdone.png
  • Done

Install Firmware Using DFU-Programmer

If you plan to use Flip, you can skip this step.

You can use the following command to install the firmware on ATMEGA32U4 using dfu-programmer:

To erase the chip:

dfu-programmer.exe atmega32u4 erase

To program the chip:

dfu-programmer.exe atmega32u4 flash <path to firmware>

To reset the chip:

dfu-programmer.exe atmega32u4 reset

For example:

Dfu-programmer-win.png










Buy various JTAG cables for your Satellite Receiver, Cable Modem, Wireless Router, Standard Wiggler from http://www.easymg.com and http://www.diygadget.com



10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!