Skip to main content
Associate
June 7, 2024
Solved

STM32L4R5ZI code flashing issue with stm32cubeIDE

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

This topic has been closed for replies.
ravikm258Best answer
Associate
June 10, 2024

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.

2 replies

ST Technical Moderator
June 7, 2024

Hello @ravikm258 

Can you connect with STM32CubeProgrammer? 

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

Check IDE debug settings also.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ravikm258AuthorBest answer
Associate
June 10, 2024

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.