Code: Select all
ResetHandler () at ../ChibiOS-RT261/os/ports/GCC/ARMCMx/crt0.c:274
274 asm volatile ("cpsid i");We’ve checked all the user option bytes, and they seem to be the same on an MCU direct from the factory and the device that has been read-out protected and then unprotected, at least according to the ST STLink utility under windows (we’ve used this for all stages).
It seems very likely that we’re just missing some STLink setting or operation, but I thought someone might have run into this before, or that there might be some interaction between RDP and ChibiOS. We can certainly run some more tests if anyone has any suggestions - we're cautious about enabling read-out protection on any more boards, since we've bricked several so far!