Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.08 KB

README.md

File metadata and controls

48 lines (39 loc) · 1.08 KB

Memory helper scripts

Reader

Reader is a script for reading and printing device error logs. This can be done directly from the device by dumping the EEPROM or by reading the EEPROM content from a HEX-file.

Usage

Read error log from device:

$ ./reader.py port <PORT>

Read error log from file:

$ ./reader.py file <FILENAME>

Config

Config is a script used for configuration of both node and main devices.

Usage

Load the configuration from the device into a configuration file:

$ ./config.py load <PORT> <FILENAME>

Print configuration values from the supplied configuration file:

$ ./config.py get <FILENAME> version address
version=1
address=170

Set a configuration value in the configuration file:

$ ./config.py set <FILENAME> address 128

Save the configuration file to device:

$ ./config.py save <PORT> <FILENAME>

Hardware Requirements

When dumping the EEPROM from device an AVR programmer such as Olimex AVR-ISP-MK2 is needed.