Skip to main content
Associate
October 2, 2025
Solved

DFU Download & Upload only 1024-byte page works

  • October 2, 2025
  • 1 reply
  • 268 views

Hello, 

I'm using WinUSB and I'd like to program the flash memory at address 0x0800c0000 in 256-byte increments. This works fine the frame but every frame after this gets written to blocks in increments of 1024. It seems that if one needs to push more than 1024 bytes then I must use 1024byte pages. Does this sound correct? 

I'm testing this on a Nulceo H7A3ZI-Q

Best answer by STOne-32

Dear @newtocube5 ,

Can you check the DFU functional descriptor and the transfer size is implemented in the embedded Firmware as described here :

https://www.st.com/resource/en/user_manual/um0424-stm32-usbfsdevice-development-kit-stmicroelectronics.pdf#page67

IMG_4532.jpeg

IMG_4533.jpeg

let us know .

STOne-32

1 reply

STOne-32
STOne-32Best answer
Technical Moderator
October 2, 2025

Dear @newtocube5 ,

Can you check the DFU functional descriptor and the transfer size is implemented in the embedded Firmware as described here :

https://www.st.com/resource/en/user_manual/um0424-stm32-usbfsdevice-development-kit-stmicroelectronics.pdf#page67

IMG_4532.jpeg

IMG_4533.jpeg

let us know .

STOne-32

Associate
October 2, 2025

I am new sorry I didn't realize I could get this device information. Okay I have successfully acquired this info, and it appears the default is in fact 1024 as I suspected. Thanks for the Help!

STOne-32
Technical Moderator
October 2, 2025

 

Dear @newtocube5 


No Sorry , you are welcome and you made a  great contribution to our STCommunity .

Have a great day

STOne-32