diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2020-04-12 10:15:00 +0200 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2020-10-28 10:50:49 +0000 |
commit | c97ccc8971b44fbce28438cb926990a6e5a63450 (patch) | |
tree | 5006763a772fb32428b7dc6b1ea2c3484f5756c2 /NEWS-0.2.0 | |
parent | 895d4a599585543155dd4a7559489cf126e02c4c (diff) | |
download | riscv-openocd-c97ccc8971b44fbce28438cb926990a6e5a63450.zip riscv-openocd-c97ccc8971b44fbce28438cb926990a6e5a63450.tar.gz riscv-openocd-c97ccc8971b44fbce28438cb926990a6e5a63450.tar.bz2 |
flash/nor/nrf5: fix protection setting on nRF51
Protection setting has not ever worked. UICR CLENR0 register cannot
be simply written but has to programmed because it resides in UICR
page of the flash.
Enable flash programming before writing CLENR0 and set back to r/o
afterwards.
Inform the user that reset might be required.
Change-Id: Ib0f96c74ba3583ac33f4394ddb57d8c8895adf53
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5586
Tested-by: jenkins
Diffstat (limited to 'NEWS-0.2.0')
0 files changed, 0 insertions, 0 deletions