kasjer opened a new pull request, #3014: URL: https://github.com/apache/mynewt-core/pull/3014
Recent NRF52 chips changed how default UICR value for APPROTECT (0xFF) is treated. It used to mean that debugger is enabled. Now it means that debugger is disabled (access port protection is on). While it increase security in a final product it may be difficult to work with mynewt project that usually have bootloader present. When protection kicks in device needs to be recovered (erase of flash and UICR) to use debugger or event to flash application via SWD. This adds setting MCU_ACCESS_PORT_PROTECTION that allows to write UICR value automatically. This new value is has default value set to disable (which disable protection and enabled debug access port). This protection could be done with nrfjprog before application and bootloader are flashed into the device. For convenience debugger is enabled by default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
