Hello
Now we are testing the third version of nRF52832 nrf52833 nrf52840 ic
I learned that there is a feature to lock and unlock the debug port of the device, but I use the armgcc and segger development environment instead of MDK.
How do I test this feature?Thank you.
SDK:sdk17.2
IDLE:segger/armgcc
Project: ble_app_uart
1. Start with a CTRL-AP ERASEALL operation.
Can I use nrfjprog.exe --eraseall?
2. Program code compiled with MDK 8.40.1 or later, with ENABLE_APPROTECT defined.
I am using armgcc and segger? Can I do it like this picture below?
I search all the project but I can't find ENABLE_APPROTECT,why?
3. Write Enabled (0x00) to UICR.APPROTECT
Can I write like this NRF_UICR->APPROTECT = 0x00;