Skip to content

Uploading with avrdude

BoxOfSnoo edited this page Jul 12, 2014 · 2 revisions

avrdude is a command-line application to send and receive compiled AVR (in this case, Arduino) applications to the device.

If you have downloaded the stock firmware for your Freematics device, you can flash the device with a command similar to the following (using the USBasp programmer):

avrdude -C/location/of/your/avrdude.conf -v -v -v -v -patmega328p -cusbasp -Uflash:w:Freematics_Stock_OBD_Firmware.hex

You can dump your device's firmware to a file using a similar command, but using the :r: flag instead, for example:

avrdude -C/location/of/your/avrdude.conf -v -v -v -v -patmega328p -cusbasp -Uflash:r:Current_Firmware.hex

Clone this wiki locally