Products
-
-
- Accessories
- Breakout boards
This is an old revision of the document!
nrfProg is a command line programmer for the nRF24LU1p (called nRF in this page). It uses the Amontec JTAG Key jtag dongle as a USB to SPI dongle.
This program is using libftdi to communicate with the JTAG Key. It is tested only on Linux.
The cable is made as follow:
JTAG sig | FTDI sig | JTAG Key pin | nRF Breakout pin | nRF SPI sig |
---|---|---|---|---|
GND | N/A | GND/20 | GND | GND |
VREF | GPIOL1/19 | VREF/1 | VIN | VCC |
TCK | TCK/24 | TCK/9 | P0.0 | SSCK |
TMS | TMS/21 | TMS/7 | P0.3 | SCSN |
TDI | TDI/23 | TDI/5 | P0.1 | SMOSI |
TDO | TDO/22 | TDO/13 | P0.2 | SMISO |
TRST | GPIOH0/15 | TRST_N/3 | PROG | PROG |
SRST | GPIOH1/13 | SRST_N/15 | RESET | RESET |
This cabling permit to reset the nRF in program mode or in run mode from nrfProg. The SPI outputs are not activated when the nRF is in run mode.
Amontec JTAG pin nr | Radio pin nr |
---|---|
20 | 9 |
1 | 5 |
9 | 4 |
7 | 10 |
5 | 6 |
13 | 8 |
3 | 2 |
15 | 3 |
nrfProg can program, dump and display the content of the flash memory. It can also reset the nRF and halt it (by maintaining the reset active).
Launch the program without argument for help.