Regarding HARD FAULT traps. Does the STM32 (or cortex cpus in general) have any kind of memory region that is read-only, and does not issue a hard fault when written to ?
The intend is to detect whether an array (size 256 bytes) is present in RAM at a location pointed to, and does not trap a HARDFAULT when the pointer written to it. A subsequent read from the same location should produce a value different from the val...