cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4R5ZI code flashing issue with stm32cubeIDE

ravikm258
Associate

I'm using STM32L4 nucleo board, before it was working fine but suddenly it started giving error while flashing the code
I have attached screenshots please help me out. I don't know what is the issue exactly.Screenshot (581).pngScreenshot (582).pngScreenshot (583).png

1 ACCEPTED SOLUTION

Accepted Solutions

Hey @Imen.D,
Thank you for your response.
I found the solution for this issue, there was some issue with bootloader
I shorted Vdd and BOOT0 then I opened ST link Utility and did full chip erase after that I flashed the code and it's working fine now.

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

Hello @ravikm258 

Can you connect with STM32CubeProgrammer? 

Check the Option bytes in CubeProgrammer. Try Connect under reset.

Check IDE debug settings also.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hey @Imen.D,
Thank you for your response.
I found the solution for this issue, there was some issue with bootloader
I shorted Vdd and BOOT0 then I opened ST link Utility and did full chip erase after that I flashed the code and it's working fine now.