https://github.com/grazen0/eeprom-programmer
Code to program an EEPROM using an Arduino MEGA
https://github.com/grazen0/eeprom-programmer
Last synced: 6 months ago
JSON representation
Code to program an EEPROM using an Arduino MEGA
- Host: GitHub
- URL: https://github.com/grazen0/eeprom-programmer
- Owner: Grazen0
- License: mit
- Created: 2025-09-07T17:00:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-09-11T19:13:16.000Z (6 months ago)
- Last Synced: 2025-09-11T20:34:39.555Z (6 months ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EEPROM Programmer
Code to program an EEPROM using an Arduino MEGA.
## Protocol
Data is sent from the Arduino to the uploader in **packets**. A packet begins
with an **opcode** and may or may not include additional **parameters**
depending on the opcode.
The following table shows the different packets the Arduino may send to the
uploader:
| Name | Description | Opcode | Parameters |
| :-------: | :---------------------------------------------------: | :----: | :---------------------------: |
| `Ready` | Signals that the board is ready to receive data. | `0x00` | |
| `Print` | Prints a string to the terminal. | `0x01` | `size: u16, str: [u8; size]` |
| `Chunk` | An incoming data chunk when using the `read` command. | `0x02` | `size: u16, data: [u8; size]` |
| `ReadEnd` | Signals that the `read` command has finished. | `0x03` | |
> [!NOTE]
> Parameters of type `u16` are sent in big-endian.