---
** [tickets:#108] nrf51 UICR cannot be erased separately**
**Status:** new
**Milestone:** 0.9.0
**Created:** Sun Oct 18, 2015 03:06 AM UTC by Jacob
**Last Updated:** Sun Oct 18, 2015 03:06 AM UTC
**Owner:** nobody
**Attachments:**
-
[03e93519fb63ad70ad9caaa134f06b2d01bebf3f.patch](https://sourceforge.net/p/openocd/tickets/108/attachment/03e93519fb63ad70ad9caaa134f06b2d01bebf3f.patch)
(1.0 kB; application/octet-stream)
I keep getting:
Error: The chip was not pre-programmed with SoftDevice stack and UICR cannot be
erased separately. Please issue mass erase before trying to write to this region
In the case of writing the application code seperate and after the softdevice,
It appears to be no longer necessary to check uicr as of Softdevice S110 7.0.0
s110_nrf51822_7.3.0_release-notes.pdf
"The SoftDevice hex file no longer contains the SoftDevice size in the
UICR.CLENR0 register. This means that the SoftDevice is no longer protected by
default. The updated versions of the tools (nRFgo Studio, nrfjprog) will write
the SoftDevice size to the UICR.CLENR0 register by default, thereby restoring
default protection. Having protection enabled will not allow Device Firmware
Update to a SoftDevice of larger size than the original, therefore the tools
make it optional to not set the UICR.CLENR0 register."
This patch allows my program to upload:
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel