stevstrong / STM32-CDC-Bootloader

USB CDC Bootloader for STM32 family MCUs.
10 stars 4 forks source link

STM32F401 bootloader #3

Open xromansx opened 2 years ago

xromansx commented 2 years ago

Is this bootloader available for 401 series ? Thanks

stevstrong commented 2 years ago

Unfortunatelly coulöd´t finish it yet. But any support is welcome :).

xromansx commented 2 years ago

I'm still learning it, for now my skills wouldn't be enought, wanted to know what's the benefit of this bootloader compared to STM32_HID_Bootloader

stevstrong commented 2 years ago

Well the main difference is the underlying protocol, which makes it a bit more universal. But the upload speed is approximately same.

xromansx commented 2 years ago

I was thinking it uses almost the same protocol and it detects also as HID. Maybe you have something for 401 so I can start from there or there is nothing for it ?

stevstrong commented 2 years ago

I was planning to program a simplified USB driver for F4 family as the existing one is not very efficient. But I do not have anything in usable form, it is all in development phase without any description yet.

xromansx commented 2 years ago

Simplified you mean HID ? I star analizing info from here https://github.com/Serasidis/STM32_HID_Bootloader/commit/7a238208c86c5f4ddff0651f9b555c27e786478f maybe it will help.

stevstrong commented 2 years ago

No, simplified I mean almost bare metal, the HAL drivers are pretty bloated and it is hard to understand the concept behind. But you could try to use it.

xromansx commented 1 year ago

if you have some code for F4 I can try to look into it, already checked hid bootloader and weact one. could make weact working with hid-flash changed vid and pid but it stops:

[1209:BEBA] device is found ! Sending command... Flashing firmware... . 1024 Bytes