c:/CSR_uEnergy_SDK-2.4.2.1/tools/bin/e2cmd.exe, version 2.4.2.149 Release
Copyright Cambridge Silicon Radio Limited 2007 - 2014.
Copyright Cambridge Silicon Radio Limited 2007 - 2014.
========================================================================
== Error: Not enough arguments given
========================================================================
c:/CSR_uEnergy_SDK-2.4.2.1/tools/bin/e2cmd.exe [-trans "..."] [-norun] [-pio_sda <val>] [-pio_scl <val>] [-pio_wp <val>]
[ info | header [<val>]|
download <filename> | broad <filename> <devs> |
dump <filename> | verify <filename> |
fill <val> | broadfill <value> <devs> |
read <addr> | write <addr> <value> |
readblock <addr> <size> |
writeblock <addr> <val0> <val1> <val2> ...]
== Error: Not enough arguments given
========================================================================
c:/CSR_uEnergy_SDK-2.4.2.1/tools/bin/e2cmd.exe [-trans "..."] [-norun] [-pio_sda <val>] [-pio_scl <val>] [-pio_wp <val>]
[ info | header [<val>]|
download <filename> | broad <filename> <devs> |
dump <filename> | verify <filename> |
fill <val> | broadfill <value> <devs> |
read <addr> | write <addr> <value> |
readblock <addr> <size> |
writeblock <addr> <val0> <val1> <val2> ...]
Options:
-help - Show usage information.
-trans - Space separated string of optional transport options, such as:
SPITRANS=LPT | USB
SPIPORT=<port_num>
SPIMUL=<device_on_multispi>
-quiet - Suppress non-essential output.
-norun - Prevents restart before exit.
-machine - Shows information in an easily parsed form (if appropriate).
-pio_sda <val> - The PIO to use for the I2C SDA line.
<val> is the PIO number 0-31.
-pio_scl <val> - The PIO to use for the I2C SCL line.
<val> is the PIO number 0-31.
-pio_wp <val> - The PIO to use for the EEPROM write protect line.
<val> is the PIO number 0-31 or
"not_used" if WP is not controlled by a PIO.
-unlock <file> - Unlocks a SPI-lockable chip.
<file> is the file containing the key used for SPI-unlocking.
-help - Show usage information.
-trans - Space separated string of optional transport options, such as:
SPITRANS=LPT | USB
SPIPORT=<port_num>
SPIMUL=<device_on_multispi>
-quiet - Suppress non-essential output.
-norun - Prevents restart before exit.
-machine - Shows information in an easily parsed form (if appropriate).
-pio_sda <val> - The PIO to use for the I2C SDA line.
<val> is the PIO number 0-31.
-pio_scl <val> - The PIO to use for the I2C SCL line.
<val> is the PIO number 0-31.
-pio_wp <val> - The PIO to use for the EEPROM write protect line.
<val> is the PIO number 0-31 or
"not_used" if WP is not controlled by a PIO.
-unlock <file> - Unlocks a SPI-lockable chip.
<file> is the file containing the key used for SPI-unlocking.
Commands:
info - Display information about the connected IC and EEPROM.
header [<val>] - Write the BlueCore header to the EEPROM. An optional value
can be specified to override the default size written in the header.
It must be in log2 bytes (i.e. address width: number of bits that make
up the address into the byte memory array). E.g. 12 for a 32Kbit EEPROM.
The optional value must be equal or less than the address width of the
whole EEPROM. The default is the whole EEPROM.
NOTE: Supported for BlueCore ICs only.
download <filename> - Download data from an EEPROM image file to EEPROM.
broad <filename> <devs>
Broadcast data from an EEPROM image file to EEPROMs via a gang
programmer.
<devs> lists chips to download to as a bitfield, see note below.
If <devs> is 0 then all devices found will be used.
dump <filename> - Copies the data from EEPROM to an EEPROM image file.
verify <filename> - Checks the contents of EEPROM match an EEPROM image
file.
fill <val> - Fills the EEPROM with the word value.
broadfill <val> <devs>
Broadcast fills EEPROMs (via gang programmer) with the given word
value.
<devs> lists chips to download to as a bitfield, see note below.
If <devs> is 0 then all devices found will be used.
info - Display information about the connected IC and EEPROM.
header [<val>] - Write the BlueCore header to the EEPROM. An optional value
can be specified to override the default size written in the header.
It must be in log2 bytes (i.e. address width: number of bits that make
up the address into the byte memory array). E.g. 12 for a 32Kbit EEPROM.
The optional value must be equal or less than the address width of the
whole EEPROM. The default is the whole EEPROM.
NOTE: Supported for BlueCore ICs only.
download <filename> - Download data from an EEPROM image file to EEPROM.
broad <filename> <devs>
Broadcast data from an EEPROM image file to EEPROMs via a gang
programmer.
<devs> lists chips to download to as a bitfield, see note below.
If <devs> is 0 then all devices found will be used.
dump <filename> - Copies the data from EEPROM to an EEPROM image file.
verify <filename> - Checks the contents of EEPROM match an EEPROM image
file.
fill <val> - Fills the EEPROM with the word value.
broadfill <val> <devs>
Broadcast fills EEPROMs (via gang programmer) with the given word
value.
<devs> lists chips to download to as a bitfield, see note below.
If <devs> is 0 then all devices found will be used.
NOTE : The "devs" value expected by the "broad" commands is, by
default, decimal e.g. a value of 17, represents a bit mask of
10001 and therefore contains devices 0 and 4 but not 1,2 and 3.
If you wish to give a hexadecimal value for this or any other
value argument listed above, use a "0x" prefix.
default, decimal e.g. a value of 17, represents a bit mask of
10001 and therefore contains devices 0 and 4 but not 1,2 and 3.
If you wish to give a hexadecimal value for this or any other
value argument listed above, use a "0x" prefix.
CSR internal Commands (used at own risk):
read <addr> - Read word from hex addr.
write <addr> <value> - Write word to hex addr.
readblock <addr> <size> - Read <= 4096 words from hex addr.
writeblock <addr> <vals> - Write <= 4096 words to hex addr.
read <addr> - Read word from hex addr.
write <addr> <value> - Write word to hex addr.
readblock <addr> <size> - Read <= 4096 words from hex addr.
writeblock <addr> <vals> - Write <= 4096 words to hex addr.