Hello,
I am developing a bootloader on nRF24LE1. The NUPP configuration is: the first 24 pages (page 0 - 23) are set to be unprotected and the last 8 pages (bootloader) are protected. The bootloader is polling-based and uses no interrupt.
I would like to start code execution from protected region, which means that I must set STP bit in the FSR register. To do this, I set the address region from 0x47F0 to 0x47FF (they are the "16 topmost addresses of the flash data memory" if I understand correctly) to value 0x01 and expect that the condition to set STP bit is met. (I am accessing the NV data memory through SPI)
However, it seems that the code execution is not started from bootloader. Because when I erase the reset vector at address 0x0000, the program fails to find the bootloader.
So the question is: how to set the STP bit so that the program will start from protected region?