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
Next revision Both sides next revision
pidflight:flashingfirmware [2017/05/10 18:00]
cmengler [Flashing firmware to lap timing device]
pidflight:flashingfirmware [2017/09/13 09:25]
cmengler
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
  
-==== avrdude ====+---- 
 + 
 +===== Xloader ===== 
 +  - Download and open Xloader (from http://​russemotto.com/​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 |}} 
 + 
 +---- 
 + 
 +===== avrdude ​=====
 Using avrdude to flash the HEX file to the Arduino Nano board. Using avrdude to flash the HEX file to the Arduino Nano board.
  
Line 43: Line 62:
 avrdude done.  Thank you. avrdude done.  Thank you.
 </​code>​ </​code>​
- 
-==== Xloader ==== 
-  - Download and open Xloader (from http://​russemotto.com/​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 |}} 
pidflight/flashingfirmware.txt · Last modified: 2018/11/20 16:02 by cmengler