HardFault_Handler() error: Why the generated code try to read address beyond valid memory range on 0xfffffffd?
So I tried to implement USB Host via USB_OTG_HS peripheral. I enable all the interrupts under NVIC setting (as I don't understand which one to choose).
When I attach my USB stick, it is able to detect the USB, the user callback USBH_UserProcess() is triggered with id HOST_USER_CONNECTION. However, when I release the breakpoint from there, software went to Hard Fault, call stack is below:
Thread #1 [main] 1 [core: 0] (Suspended : Breakpoint)
HardFault_Handler() at stm32f7xx_it.c:102 0x80032de
<signal handler called>() at 0xfffffffd
prvPortStartFirstTask() at port.c:261 0x800bdd8
xPortStartScheduler() at port.c:367 0x800c068
I noticed just prior to the hard fault, it tried to access memory 0xfffffffd which I dont recall any of my data or code reside there. The code is so far one generated by the STM32CubeMX tool. Following is the disassembly when that 'suspicious' memory access done:
fffffffd: Failed to execute MI command:
-data-disassemble -s 4294967293 -e 4294967392 -- 3
Error message from debugger back end:
Cannot access memory at address 0xfffffffcSo why would the code try to access this memory, what it tries to do?

