×You're looking at the old version of the wiki! As of January 2020, all pages have been migrated to the new site at: http://wiki.speeduino.com

With the goal of maximum simplicity in mind, the process of compiling and installing the firmware is reasonably straightforward.

  • 3Manually Compiling
    • 3.2Downloading the firmware
    • 3.3Compiling the firmware
    • 3.6Troubleshooting

Latest Stable Firmware

  • Date: April 4th 2019
  • Details: See https://speeduino.com/forum/viewtopic.php?f=13&t=2701

文章目录CH340CH330HT42B534CP2104CP2105ST-LinkSTM32 USB VCPWindows/macOS/Linux DriverCH340WCH南京沁恒的片子, 2元左右, 50bps2Mbps, 代表型号嘉立创. Stm32f103 usb驱动电脑无法识别的解决办法- STM32F系列属于中低端的32位ARM微控制器,该系列芯片是意法半导体(ST)公司出品,其内核是Cortex-M3。. Most official boards and many non-official versions use the ATMega16U2 or 8U2, whereas many of the Mega2560 clone boards utilize the CH340G IC. Both types work well. The serial chips can generally be identified by appearance: ATMega16U (square IC) - drivers included in Windows, MacOS and Linux:. Macbook Pro under macOS 10.14.2. It hand Blink example installed and the port wasn't visible in the list. I was trying to figured out, whats wrong and connected my Arduino Due through the programming port.

Installation - Easy Method

The simplest method of installing the Speeduino firmware onto a standard Arduino Mega 2560 is with the SpeedyLoader utility. SpeedyLoader takes care of downloading the firmware and installing it onto an Arduino without the need to manually compile any of the code yourself. You can choose the newest firmware that has been released, or select from one of the older ones if preferred. SpeedyLoader will also download the INI file for the firmware you choose so it can be loaded into your TunerStudio project.

  • Windows:32-bit / 64-bit
  • Mac:SpeedyLoader.dmg
  • Linux:SpeedyLoader.AppImage (Will need to be made executable after downloading)
  • Raspberry PiSpeedyLoader.AppImage
    • Linux / RaspberryPi versions require libusb libraries to be installed. EG if on Debian/Ubuntu:

Once the firmware is installed on the board, see Connecting to TunerStudio for more details on how to configure TunerStudio

Ch340g Mac Driver

Manually Compiling

If you want to compile the firmware yourself, or make any code changes, then the source of both the releases and the current development version is freely available. Note that manually compiling the firmware is NOT required to install Speeduino, the easiest (and recommended for most users) method is using SpeedyLoader as described above.

Requirements

Ch340g macos bootable
  • A Windows, Mac or linux PC
  • One of the following:
    • The Arduino IDE. Current minimum version required is 1.6.7, although a newer version is recommended.
    • PlatformIO. Can be downloaded from http://platformio.org/platformio-ide
  • A copy of the latest Speeduino codebase. See below.
  • A copy of TunerStudio to test that the firmware has uploaded successfully

Downloading the firmware

There are two methods for obtaining the Speeduino firmware:

  1. Regular, stable code drops are produced and made as releases on Github. These can be found at: https://github.com/noisymime/speeduino/releases
  2. If you want the latest and greatest (And occasionally flakiest) code, the git repository can be cloned and updated. See https://github.com/noisymime/speeduino

Older firmware releases

If required, older firmware releases and details can be found at Firmware History

Compiling the firmware

  • Start the IDE, select File > Open, navigate to the location you downloaded Speeduino to and open the speeduino.ino file.
  • Set the board type: Tools > Board > Arduino Mega 2560 or Mega ADK (This is the only board currently supported)
  • Click the Verify icon in the top left corner (Looks like a tick)

At this point you should have a compiled firmware! If you experienced a problem during the compile, see the Troubleshooting section below.

This video walks through the whole process of installing the firmware on your Arduino from scratch:

Optional (But recommended)

There is an option available for changing the compiler optimization level, which can improve . By default, the IDE uses the -Os compile option, which focuses on producing small binaries. As the size of the Speeduino code is not an issue but speed is a consideration, changing this to -O3 produces better results (Approximately 20% faster, with a 40% larger sketch size)To do this, you need to edit the platform.txt file:

  • Make sure the Arduino IDE isn't running
  • Open the platform.txt file which is in the following locations:
    • On Windows: c:Program FilesArduinohardwarearduinoavr
    • On Mac: /Applications/Arduino/Contents/Resources/Java/hardware/arduino/avr/
    • On Linux:
  • On the following 3 entries, change the Os to be O3:
    • compiler.c.flags
    • compiler.c.elf.flags
    • compiler.cpp.flags
  • Save the file and restart the Arduino IDE

Note: This is NOT required if using PlatformIO, the above optimisation is applied automatically there

Installing

Once you've successfully compiled the firmware, installation on the board is trivial.

  • Plug in your Mega 2560 to a free USB port
  • If you're running an older version of Windows and this is the first time you've used an Arduino, you may need to install drivers for the Arduino serial chip (USB-UART or 'USB adapter chip').

Most official boards and many non-official versions use the ATMega16U2 or 8U2, whereas many of the Mega2560 clone boards utilize the CH340G IC. Both types work well. The serial chips can generally be identified by appearance:

ATMega16U (square IC) - drivers included in Windows, MacOS and Linux:

or

WCH CH340G (Rectangular IC) - uses 'CH341' drivers from WCH for Windows:

WCH-original CH340/CH341 drivers for other systems (Mac, Linux, Android, etc) may be found here.


  • In Arduino IDE; select the Mega2560: Tools > Board
  • Select your system's serial port to upload: Tools > Serial Port
  • Hit the Upload button from the top left corner (Looks like an arrow point to the right)

Assuming all goes well, you should see the IDE message that avrdude is done, similar to this:

Verifying Firmware

The firmware is now loaded onto your board and you are now able to move onto Connecting to TunerStudio.

Optionally, you may perform a verification of the firmware by using the Arduino IDE's Serial Monitor. This can be started by selecting 'Serial Monitor' from the Tools menu.

In the window that appears, enter a capital 'S' (no quotes) and press Enter. The Mega should respond with the year and month of the code version installed (xxxx.xx):

NOTE: Ensure the baud rate is set to 115200


You can also enter '?' for a list of queries from your Mega.

Troubleshooting

Incorrect Arduino board selected

If you see the following (or similar) errors when trying to compile the firmware and the solutions:

Download Free all-new Adobe CC 2020 Release is now available.Adobe Master Collection CC 2020 is a set of cross-platform applications from Adobe Systems. Mac Torrents: Download Mac Torrent Apple, Mac, Apps, Software,Games. Adobe Premiere Pro owns the capability to edit video in resolutions up to 10,240 x 8,192 and includes a plugin system that makes it possible to import or export a wide array of media formats. Download and get FREE Mac version of Acrobat Pro DC 20.012 (20041) Full Crack with the new Adobe Patcher Zii v5.x.x. Acrobat Pro DC 2019 Torrent download! Sytem requirements: a Mac Intel processor. Adobe premiere cc mac torrent.

How To Get Macos Catalina

You may have the wrong kind of Arduino board selected. Set the board type by selecting Tools > Board > Arduino Mega 2560 or Mega ADK

Entire Speeduino project is not opened

Ch340g mac driver

The following can occur if you have only opened the speeduino.ino file rather than the whole project.

speeduino.ino:27:21: fatal error: globals.h: No such file or directory

Make sure all the files are contained within the same directory, then select File->Open and find the speeduino.ino file. If you have opened the project correctly, you should have multiple tabs along the top:

Retrieved from 'http://speeduino.com/wiki/index.php?title=Compiling_and_Installing_Firmware&oldid=14668'
Coments are closed
Scroll to top