You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a STM32F411 with the tinyUF2 boot loader successfully installer.
the device enters in USB mode with double tap on RST button and using UART I can see logs.
I have an application firmware that is correctly working without tinyUF2. but it is not starting with UF2 format.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Thanks for supporting tinyUF2.
I have a STM32F411 with the tinyUF2 boot loader successfully installer.
the device enters in USB mode with double tap on RST button and using UART I can see logs.
I have an application firmware that is correctly working without tinyUF2. but it is not starting with UF2 format.
I have done the following :
add #define USER_VECT_TAB_ADDRESS
changed #define VECT_TAB_OFFSET 0x00010000U
changed the linker file STM32F411CEUx_FLASH.ld:
MEMORY { RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K - 4 /* reserve 4 bytes for double tap */ FLASH (rx) : ORIGIN = 0x08010000, LENGTH = 448K /* must match BOARD_FLASH_APP_START */ CONFIG (rx) : ORIGIN = 0x08008000 - 1024, LENGTH = 1024 }
I use the following command to build a UF2 file based on the HEX file
python3 uf2conv.py -c -b 0x08010000 -f 0x57755a57 firmware.hex -o ./build/firmware.UF2
Then I upload the firmware.UF2 over USB file drap & drop.
I can see in the UART the upload and as well the handover to the App but after that nothing. it is the same with the blinking demo app.
How could I solve this ? What do I need to check ?
I have to admit that I am a bit lost
Attached the boot loader & app file UF2
AppleIISDiskII_stm32f411.UF2.zip
tinyuf2-stm32f411ce_blackpill.elf.zip
Beta Was this translation helpful? Give feedback.
All reactions