Hello Community,
Does anyone know how to read/write configuration registers (UICR, FICR) on nRF51822 in a linux environment ?
So far, I have to stick with Windows for these operations (nrfjprog, nRFgo Studio).
Hello Community,
Does anyone know how to read/write configuration registers (UICR, FICR) on nRF51822 in a linux environment ?
So far, I have to stick with Windows for these operations (nrfjprog, nRFgo Studio).
The way to do it is to download JLink and run it from the command line. I have described how to program and erase the nRF51 chip in this blog post. I have not tried manipulating the UICR or FICR, but it should be a normal register write. See the nRF51 reference manual to find the memory addresses.
The way to do it is to download JLink and run it from the command line. I have described how to program and erase the nRF51 chip in this blog post. I have not tried manipulating the UICR or FICR, but it should be a normal register write. See the nRF51 reference manual to find the memory addresses.
Nice post. It works with the magic register writes and exit sequence, as follows : J-Link>w4 4001e504 2 J-Link>w4 4001e50c 1 J-Link>w4 10001014 00038000 J-Link>r J-Link>g