Script ExampleΒΆ

The Script folder contains arduinoflash.py file that allows update or read the firmware of Arduino boards.

One of the purposes is to show the use of the PyArduinoBootloader library in conjunction with the IntelHex library to process hexadecimal files.

Use the argparse library, to read the command line (file and options).

And to indicate the progress the progressbar2 library.

The following capture shows the reading of the flash memory of an Arduino Nano board.

_images/arduinoflash_read_stk500v1.gif

And the next shows the firmware update of an Arduino Nano board.

_images/arduinoflash_update_stk500v1.gif

The following capture shows the reading of the flash memory of an Arduino Mega 2560 board.

_images/arduinoflash_read_stk500v2.gif

And the next shows the firmware update of an Arduino Mega 2560 board.

_images/arduinoflash_update_stk500v2.gif