Skip to main content
krath
Associate
February 6, 2019
Question

Getting error in STM32CubeMX when trying to validate on target

  • February 6, 2019
  • 3 replies
  • 1494 views

I am following this video this, i have successfully generated the code, validate it on desktop, build the code and flash using Truestudio it into STM32L476RB board. But when I try to validate it om my board it gives me

error : board not found or invalid firmware or restart the board

I have also tried using different USART port, but no success.

I have aslo flash the code using CubeProgrammer. but still same error on validating.

CubeMX is able locate the port on which board is present but gives same error

    This topic has been closed for replies.

    3 replies

    Romain LE DONGE
    Associate
    February 7, 2019

    Hello,

    What OS are you using ?

    Have you flash flash on target the right project (the Validation project) ?

    What you can try is to connect to the STM32 via an serial terminal like Putty/Termite/TeraTerm... and see if you have some outputs

    Be careful to disconnect the serial port before using CubeMX otherwise CubeMX will not be able to connect

    Regards,

    Romain

    Pavel A.
    Super User
    February 7, 2019

    STM32L476RB is not a board name, it is a microcontroller. Find the exact name of your board.

    -- pa

    krath
    krathAuthor
    Associate
    February 8, 2019

    Thanks Everyone, There was problem in my compiler. Code isnow successfully validated. My board is Nucleo -L476RG.

    SPrak.4
    Associate II
    September 20, 2019

    Could you please tell me how you resolved this problem. I face the same problem