2023-10-26 05:22 AM - edited 2023-10-26 05:58 AM
Hi,
I used a F105RCT6 in a custom board, i want to use the DFU mod.
When I generate the project with cubemx I select USB DEVICE and DFU mid, i change the clock configuration corectly.
I generate the FW, and i flash him.
The DFU is running, i open cubeprogrammer, i can read the mcu but i can't flash him... or i flash but the fw is don't running, i'm don't understand...
For me, just the dowload is block.
Help me :)
Solved! Go to Solution.
2023-10-29 07:25 PM
Please check your reference manual for the flash chapter. Generally we do not support write-while-read function for flash, so you need to use IAP(bootloader) to program the internal flash
2023-10-26 07:00 AM
Can you use the built in bootloader USB DFU instead?
2023-10-26 07:06 AM
I can't :\
To give you the global context :
My objective is to use the usb port in Virtual COM mode, and to go in DFU mode with a specific command on the this virtual port.
My firmware is running good, i send a specific command and is going in DFU mode, i can read that's nice, but i can't erase and write ( i juste can read )
I hope I was quite precise
2023-10-26 07:41 AM
> My objective is to use the usb port in Virtual COM mode, and to go in DFU mode with a specific command on the this virtual port.
You can jump to the bootloader at will. Doing so will cause the board to be re-enumerated as a USB DFU device.
2023-10-27 01:08 AM
i don't resolve my problem :(
I think the problem is : i doesn't have CPU information loaded in dfu mod (see picture )
2023-10-27 07:59 AM
What's the problem? Looks like DFU is running fine.
2023-10-29 07:25 PM
Please check your reference manual for the flash chapter. Generally we do not support write-while-read function for flash, so you need to use IAP(bootloader) to program the internal flash
2023-11-02 07:02 AM
Do you know how I can use the bootloader to update in USB mod ?