/go-eeprom

A idiomatic Go interface to USB EEPROM programmers

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

USB EEPROM Programming

Package eeprom provides an idiomatic interface to USB EEPROM programmers that conform to http://github.com/sstallion/usb-eeprom/wiki/Protocol. Due to the chip-agnostic nature of the protocol, constraints such as capacity and alignment must be enforced by the caller.

Documentation

Up-to-date documentation can be found on GoDoc, or by issuing the go doc command after installing the package:

$ go doc -all github.com/sstallion/go-eeprom

Installation

Note: libusb, is required to use this package and should be installed using the system package manager (eg. libusb-dev on Debian-based distributions via apt-get).

Package eeprom may be installed via the go get command:

$ go get github.com/sstallion/go-eeprom

eeprom

A command named eeprom is provided, which manages USB EEPROM programmers. eeprom may be installed by issuing:

$ go get github.com/sstallion/go-eeprom/cmd/eeprom

Once installed, issue eeprom help to display usage.

Contributing

Pull requests are welcome! If a problem is encountered using this package, please file an issue on GitHub.

License

Source code in this repository is licensed under a Simplified BSD License. See LICENSE for more details.