Difference: MassStorage (17 vs. 18)

Revision 182019-02-09 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 35 to 35
  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.
Added:
>
>
SPI Serial EEPROM Family Data Sheet 25AAXXXX/25LCXXXX.
 25LCxxxx Instruction Set
Name Format Description
READ 0000 0011 Read data from memory array beginning at selected address
Line: 246 to 248
 
NAME
eeprom2bin - Copies the EEPROM memory to a binary file on the Raspberry Pi.
Changed:
<
<
SYNOPSIS
eeprom2bin [-s hexadr] [-e hexadr] [file]
>
>
SYNOPSIS
eeprom2bin [-s hexadr] [-e hexadr] [-p page_size] [-a address_bits] [file]
 
Changed:
<
<
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).
size [Kibit] address bits page size [byte]
1, 2 8 16
4, 8, 16 16 16 (some 32)
32, 64 16 32
128, 256 16 64
512 16 256
1024, 2048 24 256
 
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)
Added:
>
>
-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.
Changed:
<
<
SYNOPSIS
bin2eeprom [-s hexadr] [-e hexadr] [file]
>
>
SYNOPSIS
bin2eeprom [-s hexadr] [-e hexadr] [-p page_size] [-a address_bits] [file]
 
Changed:
<
<
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.
size [Kibit] address bits page size [byte]
1, 2 8 16
4, 8, 16 16 16 (some 32)
32, 64 16 32
128, 256 16 64
512 16 256
1024, 2048 24 256
 
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)
Added:
>
>
-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

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback