program-nrf24lx1¶
glasgow run program-nrf24lx1¶
Program the non-volatile memory of nRF24LE1 and nRF24LU1+ microcontrollers.
usage: glasgow run program-nrf24lx1 [-h] [-V SPEC] [--prog PIN] [--sck PIN]
[--copi PIN] [--cipo PIN] [--cs PIN]
[--reset PIN] [-f FREQ] -d DEVICE
OPERATION ...
- -h, --help¶
show this help message and exit
- -V <spec>, --voltage <spec>¶
configure I/O port voltage to SPEC (e.g.: ‘3.3’, ‘A=5.0,B=3.3’, ‘A=SA’)
- --prog <pin>¶
bind the applet I/O line ‘prog’ to PIN (default: ‘A0’, required)
- --sck <pin>¶
bind the applet I/O line ‘sck’ to PIN (default: ‘A1’, required)
- --copi <pin>¶
bind the applet I/O line ‘copi’ to PIN (default: ‘A2’, required)
- --cipo <pin>¶
bind the applet I/O line ‘cipo’ to PIN (default: ‘A3’, required)
- --cs <pin>¶
bind the applet I/O line ‘cs’ to PIN (default: ‘A4’, required)
- --reset <pin>¶
bind the applet I/O line ‘reset’ to PIN (default: ‘A5’, required)
- -f <freq>, --frequency <freq>¶
set SPI frequency to FREQ kHz (default: 1000)
- -d {LE1,LU1p32k,LU1p16k}, --device {LE1,LU1p32k,LU1p16k}¶
type of device to program (one of: LE1, LU1p32k, LU1p16k)
glasgow run program-nrf24lx1 enable-debug¶
usage: glasgow run program-nrf24lx1 enable-debug [-h]
- -h, --help¶
show this help message and exit
glasgow run program-nrf24lx1 erase¶
usage: glasgow run program-nrf24lx1 erase [-h] [--info-page BACKUP-HEX-FILE]
- -h, --help¶
show this help message and exit
- --info-page <backup-hex-file>¶
back up, erase, and restore info page, removing read protection (DANGEROUS)
glasgow run program-nrf24lx1 program¶
usage: glasgow run program-nrf24lx1 program [-h] [--info-page] HEX-FILE
- hex-file¶
firmware file to read (in Intel HEX format)
- -h, --help¶
show this help message and exit
- --info-page¶
erase and program info page, if present in firmware file (DANGEROUS)
glasgow run program-nrf24lx1 protect-read¶
usage: glasgow run program-nrf24lx1 protect-read [-h]
- -h, --help¶
show this help message and exit
glasgow run program-nrf24lx1 read¶
usage: glasgow run program-nrf24lx1 read [-h] HEX-FILE
- hex-file¶
firmware file to write (in Intel HEX format)
- -h, --help¶
show this help message and exit