Search found 4 matches

by tcurdt
Wed Mar 01, 2023 12:50 am
Forum: USB bootloader
Topic: bootloader seems to get overwritten
Replies: 10
Views: 10665

Re: bootloader seems to get overwritten

No. USB bootloader does not enable Serial USB in your sketches. It's just a bootloader - a program that loads on boot and allows you to flash your program. If you haven't enabled USB Serial in your sketch, there won't be USB Serial. Using USB bootloader you cannot overwrite bootloader. There is no ...
by tcurdt
Mon Feb 27, 2023 5:14 pm
Forum: USB bootloader
Topic: bootloader seems to get overwritten
Replies: 10
Views: 10665

Re: bootloader seems to get overwritten

Thanks for that input. I don't know how to deal with PIO, but with Arduino IDE, once you flashed "generic_boot20_pc13.bin" via serial or st-link, you'll get COM port (and it will be named "COM10 Maple Mini"). Port number may be different in your case. At this point use you must u...
by tcurdt
Mon Feb 27, 2023 1:27 pm
Forum: USB bootloader
Topic: bootloader seems to get overwritten
Replies: 10
Views: 10665

Re: bootloader seems to get overwritten

I have flashed the `generic_boot20_pc13.bin` with an st-link - which wrote a bootloader and a sketch (printing to the serial). Now this provided a USB serial on the host that: - provides the serial from the sketch over USB - a way to flash a new sketches via USB The 2nd flash wasn't via st-link, nor...
by tcurdt
Sat Feb 25, 2023 11:14 pm
Forum: USB bootloader
Topic: bootloader seems to get overwritten
Replies: 10
Views: 10665

bootloader seems to get overwritten

I have flashed the bootloader to a bluepill. $ st-info --probe Found 1 stlink programmers version: V2J17S4 serial: 54FF67064882565217411887 flash: 65536 (pagesize: 1024) sram: 20480 chipid: 0x0410 descr: F1xx Medium-density $ st-flash write generic_boot20_pc13.bin 0x8000000 ... 2023-02-25T17:29:37 I...

Go to advanced search