How do you trigger a hard fault?
A hard fault is an unrecoverable error that occurs during the execution of a program on an ARM Cortex processor. It indicates a serious problem such as an illegal instruction, invalid memory access, or a bus error. When a hard fault occurs, the processor immediately halts normal program execution and jumps to the hard fault