Skip to main content
VKUMA.12
Associate III
August 21, 2019
Solved

After upgrading firmware in stm32f407vgt through pendrive fatfs of upgraded code is not working, controller hangs on f_mount, please help...............

  • August 21, 2019
  • 1 reply
  • 1214 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

Instrument code so you know what's going on.

Make sure interrupts are functioning, and vector table address is set correctly.​

1 reply

Ozone
Principal
August 21, 2019

We are supposed to speak magic workd into crystal balls ? A bit more information would be helpful.

Have you validated the updat eprocess itself and the new firmware version (update) independently ?

VKUMA.12
VKUMA.12Author
Associate III
August 21, 2019

thanks for reply......

am upgrading firmware in microcontroller using a usb pendrive, any other program other than usb works fine.

there are two program running on the controller, first is firmware upgrade program and another is the program we want to upload in microcontroller using usb

pendrive. From reference manual AN3990

Ozone
Principal
August 21, 2019

Not easy to comrehend what you mean.

>... first is firmware upgrade program ...

A bootloader, to check for updates, and perform them if necessary ?

>... and another is the program we want to upload in microcontroller ...

The application supposed to run normally ?

Have you tried to debug your code ?

Where does it get stuck, or faults ?

> ... hangs on f_mount ...

Did you check why f_mount fails, down to the peripheral driver level ?