cancel
Showing results for 
Search instead for 
Did you mean: 

Firmware upgrade using USB key on STM32L4

MMerc.1
Senior

Hi,

Currently, I know how to upgrade firmware using USB key on STM32F746BGT.

I want to upgrade on STM32L433CCT6 but I can't find example...

Could you help me ?

Best regards

11 REPLIES 11

Find an MSC HOST for your architecture

STM32Cube_FW_L4_V1.15.1\Projects\STM32L476G-EVAL\Applications\USB_Host\MSC_Standalone

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi,

Thanks for your reply.

I have attached the possible configurations.

As you can see, I cannot use Host MSC.

Do you know why ?

Best regards

Does the STM32 you have chose support a USB Host/OTG, or only a USB Device?

https://www.st.com/en/microcontrollers-microprocessors/stm32l433cc.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Only USB Device...

MMerc.1
Senior

Any ideas ?

MMerc.1
Senior

Hi,

I come to you to see if you have an idea about my problem with the USB device.

Best regards

The USB module in 'L433 is not capable of being USB host, so you simply can not use it as a MSC host and load firmware from an USB key.

JW

MMerc.1
Senior

Thank you for your answer.

So the only way is via STM32 ST-LINK Utility or STM32CubeProgrammer ?

Through PA11/PA12 pins, using the default USB-DFU bootloader? Yes that's the most convenient way.

You can also write your own bootloader and write a counterpart to standard PC, or to a custom hardware acting as USB host; or using custom hardware and making use of the fact that PA11/PA12 are also CAN_TX/RX... All this requires significantly more effort.

JW