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
wiki:opconfig:tabs:firmware [2019/10/09 05:58]
opadmin [Update Firmware]
wiki:opconfig:tabs:firmware [2020/12/16 19:53] (current)
opadmin
Line 2: Line 2:
 title = Firmware title = Firmware
 ~~ ~~
-{{TOC}}+
  
 ====== Firmware ====== ====== Firmware ======
Line 13: Line 13:
  
 == Select Hex File for == == Select Hex File for ==
-From the drop-down menu select the device you want to update. Possible devices include various versions of the TCB, as well as the Scout ESC, Open Panzer Sound Card, and a generic selection for ATmega328 devices for which you have a hex file (useful for experimenters). +From the drop-down menu select the device you want to update. Possible devices include various versions of the TCB, the Scout ESC, Open Panzer Sound Card, the Heclo shield for Mega2560 boards, as well as selections for generic ATmega or Teensy devices for which you have a hex file (useful for experimenters).
  
 == Get Latest Release == == Get Latest Release ==
 {{ wiki:updatefirmware.png?nolink|Update Firmware}} {{ wiki:updatefirmware.png?nolink|Update Firmware}}
-Click here to check the OpenPanzer.org website for the latest firmware for the selected device. If a file is detected the version number will be displayed and the hex file will be downloaded to a temporary folder. It is highly unlikely you will download a version of the firmware that is older than the version you already have on your TCB, but it might be the same version, in which case flashing the update is unnecessary. You can always check which version of the firmware your TCB is presently running by connecting to the TCB and looking at the Serial Status label on the bottom left of the OP Config program (#8 on the [[wiki:opconfig:gs:layout|Program Layout]] diagram). You can also read the firmware version by connecting the TCB to any serial console (such as the built-in console discussed below), and pressing the INPUT button on the TCB board, which causes the TCB to send diagnostic information including the firmware version to the console. If you have a Scout ESC or Open Panzer Sound Card attached to your TCBthe diagnostic information will show the firmware versions for those devices as well+Click here to check the OpenPanzer.org website for the latest firmware for the selected device. If a file is detected the version number will be displayed and the hex file will be downloaded to a temporary folder. It is highly unlikely you will download a version of the firmware that is older than the version you already have on your TCB, but it might be the same version, in which case flashing the update is unnecessary. You can always check which version of the firmware your TCB is presently running by connecting to the TCB and looking at the Serial Status label on the bottom left of the OP Config program (#8 on the [[wiki:opconfig:gs:layout|Program Layout]] diagram). You can also read the firmware version by connecting the TCB to any serial console (such as the built-in console discussed below), and pressing the INPUT button on the TCB board, which causes the TCB to send diagnostic information including the firmware version to the console. Firmware versions may be displayed for other compatible devices as well (Scout ESCOpen Panzer Sound Card, etc...)
  
 == Use Your Own Hex == == Use Your Own Hex ==
  
-If you are a developer and have compiled your own hex, you can select it using this button. If you are working on a project in the Arduino IDE, you can generate a hex file by typing Ctrl+Alt+S or going to the Sketch menu and selecting the "Export compiled Binary" option. The hex file will then appear in your sketch folder (instructions valid for Arduino 1.6.5, and may change with future versions). **Advanced Note:** you can use OP Config to flash hex file to any Arduino Mega using the TCB option. You can flash any Arduino UnoNano, Duemilanove or other ATmega328 device using the Scout ESC option.+If you are a developer and have compiled your own hex, or perhaps were given a testing Hex by a developer on the Open Panzer forums, you can select it using this button. If you are working on a project in the Arduino IDE, you can generate a hex file by typing Ctrl+Alt+S or going to the Sketch menu and selecting the "Export compiled Binary" option. The hex file will then appear in your sketch folder (instructions valid for Arduino 1.6.5, and may change with future versions). **Advanced Note:** you can use OP Config as general purpose firmware loader for any ATmega328ATmega2560 or Teensy 3.2 boards using the "Generic xxx" options. 
  
 == Flash == == Flash ==
Line 37: Line 38:
   * Airsoft/Mechanical Recoil Switch - will now be on Arduino Pin 21 (also labeled SCL on the Mega board)   * Airsoft/Mechanical Recoil Switch - will now be on Arduino Pin 21 (also labeled SCL on the Mega board)
 For building a DIY TCB [[http://openpanzer.org/forum/index.php?topic=16.0|please read this thread]].  For building a DIY TCB [[http://openpanzer.org/forum/index.php?topic=16.0|please read this thread]]. 
 +\\
 +\\
 +
 +**TCB - Heclo Shield**\\
 +Kim Olsen (username Heclo) designed a shield that when combined with a standard Arduino Mega2560 board will provide all the functionality of the TCB, and then some. For more information on his design, [[http://openpanzer.org/forum/index.php?topic=240.0|please read this thread]].
 \\ \\
 \\ \\
Line 48: Line 54:
   * **Scout ESC (R11+):** For Scout board revisions from 11 forward (using the VNH5019 motor driver chips)   * **Scout ESC (R11+):** For Scout board revisions from 11 forward (using the VNH5019 motor driver chips)
   * **Scout ESC (R10 and prior):** For Scout board revisions 10 and earlier (using the VNH2SP30 motor driver chips)   * **Scout ESC (R10 and prior):** For Scout board revisions 10 and earlier (using the VNH2SP30 motor driver chips)
 +\\
 \\ \\
  
Line 55: Line 62:
 \\ \\
  
-**Generic ATmega328**\\ +**Generic ATmega328 / Generic ATmega2560 / Generic Teensy 3.2**\\ 
-You can use this setting to flash firmware from your own hex (there is no default hex to download from the internet) to any Arduino-compatible device with an ATmega328 processor (Uno, Duemilanove, Nano, Mini, or their respective clones; your own design; etc). Most people will not need to use this but it can be useful for experimenters. + 
 +You can use these selections to flash firmware from your own hex (there is no default hex to download from the internet) to any Arduino-compatible device with an ATmega328 or ATmega2560 processor (Uno, Duemilanove, Nano, Mini, Mega or their respective clones; your own design; etc), or to the PJRC Teensy 3.2. Most people will not need to use these but it can be useful for experimenters. 
 + 
  
 ===== Console Utility ===== ===== Console Utility =====
wiki/opconfig/tabs/firmware.1570600716.txt.gz · Last modified: 2019/10/09 05:58 by opadmin