Skip to main content
Visitor II
June 7, 2024
Solved

STM32L4R5ZI code flashing issue with stm32cubeIDE

  • June 7, 2024
  • 1 reply
  • 867 views

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.
    Best answer by ravikm258

    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.

    1 reply

    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.

    ravikm258AuthorAnswer
    Visitor II
    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.