This is a very simple binary file to upload firmware .hex into Arduino Leonardo/Micro (ATmega32u4 with CDC bootloader). Tested with Ubuntu 16.04 and Raspbian Stretch.
- Auto reset with 1200 baud
AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP).
Under ubuntu 16.04 just install with this:
sudo apt-get install avrdude
Under Arch/Manjaro:
sudo pacman -S avrdude
Only available AVRDUDE distribution is 32-bit in case of windows.
Here is the locaiton it can be downloaded from:
https://download.savannah.gnu.org/releases/avrdude/
Look for avrdude-6.3-mingw32.zip size 218K
released on 17-Feb-2016 10:03
We have included the same in the win32 directory.
One can extract this file the same directory.
Note: If you do not have the avrdude program in path then
leonardoUploader would not work.
git clone https://github.com/vanbwodonk/leonardoUploader.git
cd leonardoUploader/linux
make
sudo make install
https://sourceforge.net/projects/mingw/files/Installer/
Install using the mingw-get-setup.exe program.
Select the following:
mingw-developer-toolkitmingw32-basemingw-gcc-g++msys-base
Need the AVRDUDE in path so that leonardoUploader
can perform the operations.
Follow the steps outlined AVRDUDE - Win32.
Open the MSYS Terminal : C:\MinGW\msys\1.0\msys.bat
And type:
git clone https://github.com/vanbwodonk/leonardoUploader.git
cd leonardoUploader/win32
make
Add the directory location leonardoUploader/win32 to Windows PATH variable
to have direct commandline access.
leonardoUploader [PORT] [FILE.hex]
leonardoUploader /dev/ttyACM0 Blink.ino.hex
or for Windows
leonardoUploader COM10 Blink.ino.hex
GNU General Public License, version 2
Original Work by Arif Darmawan Modified and updated for Windows by @boseji
Original Work by Joreg Wunsh
If this project help you, you can give me a cup of coffee :)
