Skip to content

Utility that can be used to upload a compiled sketch (.HEX) directly to an Arduino board over USB Support protocol: AVR109, STK500v1, STK500v2

License

Notifications You must be signed in to change notification settings

t2t-sonbui/Java-ArduinoSketchUploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoSketchUploader

This is port from christophediericx .Net library using java code Java library IntelHexFormatReader This repository contains a Java library that can be used to upload a compiled sketch (.HEX) directly to an Arduino board over USB. It talks to the boards bootloader over the serial (USB) connection, much like avrdude does (when invoked from the Arduino IDE, or from the command line).

ArduinoSketchUploader

Compatibility

The library has been tested with the following configurations:

Arduino Model MCU Bootloader protocol
Mega 2560 ATMega2560 STK500v2
Micro ATMega32U4 AVR109
Uno (R3) ATMega328P STK500v1

How to use in your application

Create object implement ISerialPortStream interface,then usage anonymous or passing clazz generics for ArduinoSketchUploader object : Anonymous:

ArduinoSketchUploader<SerialPortStreamImpl> uploader = new ArduinoSketchUploader<SerialPortStreamImpl>(optionsMega,logger,progress) {};

Clazz generics:

ArduinoSketchUploader<SerialPortStreamImpl> uploader = new ArduinoSketchUploader<SerialPortStreamImpl>(
			SerialPortStreamImpl.class, optionsUno, logger, progress) ;

Check "Test" for more example.

Arduino Hex Uploader Android App

Like and support the project

Buy Me A Coffee

Thanks

About

Utility that can be used to upload a compiled sketch (.HEX) directly to an Arduino board over USB Support protocol: AVR109, STK500v1, STK500v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages