|
META TOPICPARENT |
name="WebHome" |
%DASHBOARD{ section="banner" |
|
From 1024 Kibit up there are 24 address bits, 8 Kibit to 512 Kibit have 16 address bits. 1, 2, and 4 Kibit have 8 bit address bits. |
|
> > | SPI Serial EEPROM Family Data Sheet 25AAXXXX/25LCXXXX . |
| 25LCxxxx Instruction Set
|
|
- NAME
- eeprom2bin - Copies the EEPROM memory to a binary file on the Raspberry Pi.
|
|
< < |
- SYNOPSIS
- eeprom2bin [-s hexadr] [-e hexadr] [file]
|
> > |
- SYNOPSIS
- eeprom2bin [-s hexadr] [-e hexadr] [-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 (24 bit address, at least a 1024 Kibit type, 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).
|
> > |
- 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).
|
|
- OPTIONS
- Non argument options that are duplicated on the command line are not harmful. For options that require an argument, each duplication will override the previous argument value.
- -s hexadr
- start address in hex (0 is default)
- -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)
|
|
bin2eeprom (upload tool)
- NAME
- bin2eeprom - Copies the content of binary file on the Raspberry Pi to EEPROM.
|
|
< < |
- SYNOPSIS
- bin2eeprom [-s hexadr] [-e hexadr] [file]
|
> > |
- SYNOPSIS
- bin2eeprom [-s hexadr] [-e hexadr] [-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 (24 bit address, at least a 1024 Kibit type, 256 byte page). Use < for redirecting or | for piping from another command.
|
> > |
- 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.
|
|
- OPTIONS
- Non argument options that are duplicated on the command line are not harmful. For options that require an argument, each duplication will override the previous argument value.
- -s hexadr
- start address in hex (0 is default)
- -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)
|
|
How to get and build the EEPROM tools |