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/08/14 21:53]
cmengler
pidflight:flashingfirmware [2018/11/20 16:02] (current)
cmengler [Xloader]
Line 6: Line 6:
   * The **Xloader** option is available only for Windows operating system, it may also be used within Windows virtual machines.   * 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 **avrdude** option is packaged with the [[https://​www.arduino.cc/​|Arduino IDE]] and can be used on all platforms.
 +
 +==== 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 ===== ===== Xloader =====
-  - Download and open Xloader (from http://​russemotto.com/​xloader/).+  - Download and open {{:​pidflight:xloader.zip|Xloader}}.
   - Select the PIDflight Lap HEX file.   - Select the PIDflight Lap HEX file.
   - Select "​Device"​ as "​Duemilanove/​Nano (ATmega328)"​   - Select "​Device"​ as "​Duemilanove/​Nano (ATmega328)"​
Line 56: Line 62:
 avrdude done.  Thank you. avrdude done.  Thank you.
 </​code>​ </​code>​
 +
 +----
 +
 +===== Troubleshooting =====
 +  * **No COM port showing when Arduino is plugged in Xloader or Device Manager** -- try installing the CH340 driver from the [[#​drivers|drivers]] section.
 +  * **Failing to flash the HEX file to the Arduino** -- try another USB cable and/or USB port.
pidflight/flashingfirmware.1502711627.txt.gz ยท Last modified: 2017/08/14 21:53 by cmengler