Skip to main content
Graduate
September 15, 2023
Question

STM32F407G-disc1 - FatFs_USBDisk FatFs with USB disk drive application - Resets - Fails to Run

  • September 15, 2023
  • 0 replies
  • 766 views

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

    This topic has been closed for replies.