2021-11-16 07:56 PM
Hello,
I would like to reproduce this example of updating the firmware via USB disk. But I'm not getting the message "Press and release user button to start FW update" to appear. I think I'm missing something about the application's memory vector.
Training video link:
https://www.youtube.com/watch?v=CGUC1wqSLCE
Code (11.3_USB MSC DFU host labs - solution):
https://drive.google.com/open?id=1sjU9iNvh_khDZHDM9Qau03PGKwMd4u7U
The example is done with an STM32F446ZE, but I have an STM32F407VG. I tried to compare the vector tables but I couldn't find the address described in main.c:
/* Check Vector Table: Test if user code is programmed starting from address "APPLICATION_ADDRESS" */
// Begin TODO 3 MSC_DFU_HOST_HANDS_ON: jump to user application
#warning "TODO 3 MSC_DFU_HOST_HANDS_ON: jump to user application"
/* address of the application is available at this address APPLICATION_ADDRESS + 4
* stack pointer address is available at this address APPLICATION_ADDRESS
* system function to set stack pointer : __set_MSP()
* Variable to use : Jump_To_Application / JumpAddress
*/
Has anyone managed to make this example work with an STM32F407VG?