cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error in STM32CubeMX when trying to validate on target

krath
Associate

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

4 REPLIES 4
Romain LE DONGE
Associate III

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.
Evangelist III

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

-- pa

krath
Associate

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

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