Skip to main content

Arduino EEPROM Programmer

Universal Programmer for parallel EEPROMS using a python CLI and a simple Arduino with 2 shift-registers to interface the EEPROM.

Based on the [Arduino Code](https://github.com/beneater/eeprom-programmer) written by [Ben Eater](https://eater.net).

Install

  1. pip install eepro

  2. Flash an Arduino with the sketch in Arduino/EEPROgraMmer

  3. Connect the Arduino to the external components following the schematic.

Schematic

check out the [original project](https://github.com/beneater/eeprom-programmer)

Synopsys

usage: eepro [-h] -p PORT [-f FILE] [-b BAUD] [-s SIZE] [-w | -r] [-v] [-c]
            [--check-empty]

Write to or read from an EEPROM

optional arguments:
-h, --help            show this help message and exit
-p PORT, --port PORT  serial port to the programmer
-f FILE, --file FILE  binary file to write
-b BAUD, --baud BAUD  baudrate for communication with the programmer
-s SIZE, --size SIZE  size of the EEPROM in bytes
-w                    write <file> to the EEPROM
-r                    read the contents of the EEPROM into file
-v                    verify file contents after writing
-c                    clear the EEPROM (with 0xff bytes) before writing or
                        reading
--check-empty         make sure the EEPROM is empty (filled with 0xff)

Examples

Clear an EEPROM

Clear the first 2048 bytes of the EEPROM and read back to make sure they are set accordingly

./eepro --port /dev/tty.wchusbserial1440 -c --check-empty -s=2048

Write a binary file to the EEPROM

The following command will clear the EEPROM, write the contents of firmware.bin and reads back the content

./eepro --port /dev/tty.wchusbserial1440 -cvwf firmware.bin -s=2048

Dump EEPROM Contents

Read the first 2048 bytes of the EEPROM and write the result into firmware.bin. The content is then read again to check against errors.

./eepro --port /dev/tty.wchusbserial1440 -vrf firmware.bin -s=2048

Metadata

Release files for eepro 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eepro 0.2.0
File Size Uploaded Provenance Actions
eepro-0.2.0.tar.gz 6.6 kB Without provenance Details for eepro-0.2.0.tar.gz

Release files / eepro-0.2.0.tar.gz

Download URL eepro-0.2.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5a87c57c1bc8f3b4d474710ee9cf4d65120e9328656c401b2fe1799f1cb8b0eb
BLAKE2b-256 checksum
How to use checksums
443f2e05e401fe4094024d9e197bd075e14b7da00002dea07d09c59b5884dbdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for eepro 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page