2023-09-15 06:08 AM
Hello,
I have a STM32F407G-disc1 and am trying to run the FatFs_USBDisk application. If I select debug, the program loads into the board and I can step through the application. If I resume running or instead of selecting debug, select run the program terminates and ends up in the Reset_Handler as shown below.
Any thoughts on why this is happening?
Do I have a jumper not properly set?
/* stack used for SystemInit_ExtMemCtl; always internal RAM used */
/**
* @brief This is the code that gets called when the processor first
* starts execution following a reset event. Only the absolutely
* necessary set is performed, after which the application
* supplied main() routine is called.
* @PAram None
* @retval : None
*/
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr sp, =_estack /* set stack pointer */
Any help would be appreciated.
Thanks,
Brent