Difference: MassStorage (18 vs. 19)

Revision 192019-02-09 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 248 to 248
 
NAME
eeprom2bin - Copies the EEPROM memory to a binary file on the Raspberry Pi.
Changed:
<
<
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).
size [Kibit] address bits page size [byte]
Line: 264 to 264
 
-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)
Added:
>
>
-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.
Changed:
<
<
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.
size [Kibit] address bits page size [byte]
Line: 285 to 286
 
-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)
Added:
>
>
-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

 
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