User Tools

Site Tools


pidflight:flashingfirmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pidflight:flashingfirmware [2017/05/30 12:01]
cmengler
pidflight:flashingfirmware [2018/11/20 16:02]
cmengler [Xloader]
Line 4: Line 4:
 The following are two options you may use to flash the firmware HEX file to the Arduino nano board. ​ The following are two options you may use to flash the firmware HEX file to the Arduino nano board. ​
  
-The **avrdude** option is packaged with the [[https://​www.arduino.cc/​|Arduino IDE]] and can be used on all platforms.+  * The **Xloader** option is available only for Windows operating system, it may also be used within Windows virtual machines. 
 +  * The **avrdude** option is packaged with the [[https://​www.arduino.cc/​|Arduino IDE]] and can be used on all platforms.
  
-The **Xloader** option ​is available only for Windows operating system, it may also be used within Windows virtual machines.+==== Drivers ==== 
 +The CH340 chip is used by a number of Arduino compatible boards to provide USB connectivity. You may need to install the following driver to connect and flash firmware to these boards. 
 +  ​Windows: http://​www.wch.cn/​download/​CH341SER_ZIP.html 
 +  ​Mac OS X: http://​www.wch.cn/​download/​CH341SER_MAC_ZIP.html 
 +  ​Linux: http://​www.wch.cn/​download/​CH341SER_LINUX_ZIP.html 
 + 
 +---- 
 + 
 +===== Xloader ===== 
 +  - Download and open {{:​pidflight:​xloader.zip|Xloader}}. 
 +  - Select the PIDflight Lap HEX file. 
 +  - Select "​Device"​ as "​Duemilanove/​Nano (ATmega328)"​ 
 +  - Specify "COM port" as the COM port of the Arduino. 
 +  - Ensure "Baud rate" ​is set to 57600. 
 +  - Select "​Upload"​ to flash the firmware HEX to the Arduino board. 
 + 
 +{{ :​pidflight:​xloader_laprssi.png?​nolink&​200 |}}
  
 ---- ----
Line 48: Line 65:
 ---- ----
  
-===== Xloader ​===== +===== Troubleshooting ​===== 
-  ​- Download and open Xloader ​(from http://​russemotto.com/​xloader/​). +  ​* **No COM port showing when Arduino is plugged in Xloader ​or Device Manager** ​-- try installing ​the CH340 driver from the [[#​drivers|drivers]] section
-  ​Select the PIDflight Lap HEX file. +  ​* **Failing ​to flash the HEX file to the Arduino** -- try another USB cable and/or USB port.
-  ​Select "​Device"​ as "​Duemilanove/​Nano (ATmega328)"​ +
-  - Specify "COM port" as the COM port of the Arduino+
-  ​- Ensure "Baud rate" is set to 57600. +
-  - Select "​Upload" ​to flash the firmware ​HEX to the Arduino ​board. +
- +
-{{ :​pidflight:​xloader_laprssi.png?​nolink&​200 |}}+
pidflight/flashingfirmware.txt · Last modified: 2018/11/20 16:02 by cmengler