cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx Application successfully flashing from usb stlink, but doesn't load and start after removing and reconnecting the USB stlink back.

Shiv09
Associate III

Hello All,

 

I am using touchgfx for one of my application using on STM32757I-Eval kit.

I am facing issue with running the application after successfully flashing the application, first time if I load from STM cube programmer, I can see the Program is running on display, but as I remove the Power from usb stlink and reconnect it back the Application is not loading and running.

Could you please help me to understand why it happens and how can I rerun the application so that I don't have to program it again and again.

Please let me know how to resolve it ?

 

Regards,

Shiv

2 REPLIES 2
MM..1
Chief III

Your code can have three or more issues: 

!. Not run at all based on BOOT setup OB.

2. Run to Error handler while good practice place led blink here

3. Run to hard fault same as 2.

On flashing process is app run other way.

Hello @MM..1 ,

 

Thanks for quick reply, Yes there could be some trouble. Just for some more information. here are the OB settng from my cubeprogrammer and the Main.c function, this might give some more clue.

 

After power cycle, at least the debug log "MX_USART1_UART_Init" at line 207, should be received. I am not able to receive it as well. 

 

 

 

 

Shiv09_1-1765006340569.png

 

 

Shiv09_0-1765006314340.png