Search found 467 matches

by ag123
Fri Jul 17, 2020 10:58 am
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

i think HID boot loader would also need USB-CDC if you want that 'auto reset' to work.
the workaround is to simply press reset manually while uploading, this is the same with the dfu 3s delay boot loader
by ag123
Fri Jul 17, 2020 7:32 am
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

off-topic the original leaflabs maple ships with a stm32f103cb https://www.leaflabs.com/maple which provides 128k flash, i'd guess the leaflab creators planned ahead for real use cases. the chinese vendors start shipping with the cheaper stm32f103c8 64k flash with the blue pills so this 64k limit is...
by ag123
Thu Jul 16, 2020 7:54 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

i'd guess you may like to check out the hid boot loader, specs are impressive 2k flash https://github.com/stm32duino/wiki/wiki/Upload-methods#hid-bootloader-22-hid-bl but i've never tried that myself i'd guess it is likely possible to optimize the size further but the effort can be huge. among the t...
by ag123
Thu Jul 16, 2020 7:33 pm
Forum: Off topic
Topic: 2 weeks off
Replies: 3
Views: 484

Re: 2 weeks off

have a nice vacation :D
by ag123
Thu Jul 16, 2020 6:37 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

the boot loader occipies 0x2000 bytes (8 KB), so your app installs at 0x8002000. so you are left with 56 kB you can check out the hid boot loader which accordingly is smaller but i've never tried that out. try that amap thing, if too much is included in the binary, i'd guess a way is to figure out w...
by ag123
Thu Jul 16, 2020 6:16 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

try the connventional (non-fast) boot loader as that is somewhat simplier and more likely to work. note that after you installed the boot loader you would see a com port. that com port is actually a blink sketch roger added so that the magic sequence can be triggered. then build your blink sketch wi...
by ag123
Thu Jul 16, 2020 4:38 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

found an addition link in STM core wiki, check out the upload methods section.
https://github.com/stm32duino/wiki/wiki/Upload-methods

i think you'd need to select USB-CDC from the Arduino IDE menu prior to build
by ag123
Thu Jul 16, 2020 4:17 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

not just that you need to select USB-CDC as yourr Serial device. it'd probably take some effort to dig through codes and wiki on how to use the USB-CDC in STM core. e.g. do you need to issue Serial.begin()? btw USB-CDC can go much faster than the rates of the conventional usb-uart like 115200. for s...
by ag123
Thu Jul 16, 2020 3:57 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

you need to use the usb-serial device (not sure what is that same term in STM core - i think it is USB-CDC) and maybe issue Serial.begin() in setup(). in libmaple core SERIAL_USB needs to be one of the defines at built time, probably driven by platform.txt or boards.txt this is normally default if y...
by ag123
Thu Jul 16, 2020 3:27 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4890

Re: STM32F103C8 and Fast Bootloader

I assume that if I don't see DFU device in Device Manager then any DFU utility isn't going to be able to access the device, right? yup So how can I get this board into DFU mode knowing that I've flashed the fastboot bootloader and I'm only seeing the COM port device? in libmaple core i think this i...

Go to advanced search