|
META TOPICPARENT |
name="WebHome" |
%DASHBOARD{ section="banner" |
|
- NAME
- eeprom2bin - Copies the EEPROM memory to a binary file on the Raspberry Pi.
|
|
< < |
- SYNOPSIS
- eeprom2bin [-s hexadr] [-e hexadr] [-p page_size] [-a address_bits] [file]
|
> > |
- SYNOPSIS
- eeprom2bin [-s hexadr] [-e hexadr] [-k size] [-p page_size] [-a address_bits] [file]
|
|
- DESCRIPTION
- Copies the EEPROM memory to a binary file (or stdout) on the Raspberry Pi. The Raspberry Pi GPIO SPI0.1 is used as interface to the SPI EEPROM (e.g. 25LC1024 has 24 bit address and 256 byte page). The generated data is written to the standard output stream or to a file. Caution: Overwrite file if it exists. Use > for redirecting (save the file) or | for piping to another command (e.g. hexdump).
|
|
-
- -e hexadr
- end adress in hex (0x1FFFF is default)
- -p number
- page size in bytes (256 is default)
- -a number
- address bits (8, 16, or 24; 24 is default)
|
|
> > |
-
- -k number
- size in Kibit (1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048; 1024 is default)
|
|
bin2eeprom (upload tool)
- NAME
- bin2eeprom - Copies the content of binary file on the Raspberry Pi to EEPROM.
|
|
< < |
- SYNOPSIS
- bin2eeprom [-s hexadr] [-e hexadr] [-p page_size] [-a address_bits] [file]
|
> > |
- SYNOPSIS
- bin2eeprom [-s hexadr] [-e hexadr] [-k size] [-p page_size] [-a address_bits] [file]
|
|
- DESCRIPTION
- Copies the content of binary file on the Raspberry Pi to EEPROM memory. The Raspberry Pi GPIO SPI0.1 is used as interface to the SPI EEPROM (e.g. 25LC1024 has 24 bit address and 256 byte page). Use < for redirecting or | for piping from another command.
|
|
-
- -e hexadr
- end adress in hex (0x1FFFF is default)
- -p number
- page size in bytes (256 is default)
- -a number
- address bits (8, 16, or 24; 24 is default)
|
|
> > |
-
- -k number
- size in Kibit (1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048; 1024 is default)
|
|
How to get and build the EEPROM tools |