Search found 475 matches

by ag123
Thu Jul 16, 2020 3:50 am
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 7369

Re: STM32F103C8 and Fast Bootloader

if you are using libmaple core, (note the core, not the boot loader) there is a piece of code that looks for the sequence DTR - L . E. A. F https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/cores/maple/usb_serial.cpp#L285 when this sequence is received, it does a reset. so tha...
by ag123
Thu Jul 16, 2020 2:11 am
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 7369

Re: STM32F103C8 and Fast Bootloader

place a led on pc13, it should blink for 6 secs after reset. you need to install your sketch over usb-dfu in that 6s assuming if you have the 'standard' usb-serial with the maple magic command in the core, it is then possible to install a new sketch from the arduino ide. it uses the DTR - L.E.A.F se...
by ag123
Wed Jul 15, 2020 7:06 pm
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 4940

Re: Newbie stuck at first flash attempt (STM32F103)

Thanks, I will do that. I contacted the vendor for an explanation - we will see how they react. Is it possible to tell fake boards from the chip? Mine look like this: https://up.picr.de/39010381xd.jpg here is something interesting, stm32 markings https://blog.gpjtag.com/?p=1027 but i'd guess if som...
by ag123
Wed Jul 15, 2020 9:13 am
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 4940

Re: Newbie stuck at first flash attempt (STM32F103)

dab a paper towel in little water and 'clean' the chip surface, it looks like the markings may be erasable. i think 'proper' chips markings are laser engraved, that won't be 'erased' simply 'cleaning' with a paper towel but the best test is actually what you have already done, after you set boot0 an...
by ag123
Wed Jul 15, 2020 8:50 am
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 4940

Re: Newbie stuck at first flash attempt (STM32F103)

retry again when you received your st-link (note swd)
in the mean time you may like to order different boards, robotdyn (given earlier) has the 'stm32f1 pill' equivalent boards, i think various boards have the same pinouts as the blue pill.
a nucleo has an on board st-link hard wired
by ag123
Tue Jul 14, 2020 6:02 pm
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 4940

Re: Newbie stuck at first flash attempt (STM32F103)

there have been stories about batches of fake blue pills, even if some vendors who used to ship the real ones. for some reason, these may be drop shipped i.e. some one else is literally shipping the blue pills other then the vendor themselves getting at least a real device would help as you would be...
by ag123
Tue Jul 14, 2020 5:46 pm
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 4940

Re: Newbie stuck at first flash attempt (STM32F103)

just in case you are suspecting that you may have a fake blue pill order from a different vendor e.g. a nucleo from st https://www.st.com/en/evaluation-tools/nucleo-f103rb.html robotdyn (get the real stm32) https://robotdyn.com/catalog/development-boards/stm-boards-and-shields.html olimex https://ww...
by ag123
Thu Jul 09, 2020 7:21 pm
Forum: General discussion
Topic: how many SPI or alternative devices with STM32F103C8T6
Replies: 3
Views: 821

Re: how many SPI or alternative devices with STM32F103C8T6

note that ss49e is not a very sensitive field effect sensor https://www.youtube.com/watch?v=Mj5ukCVP1LQ the magnet needs to be pretty close for the sensor to detect it (see video) if cost isn't too much an issue and that if you can buy *real* (not fake) stm32f103 pill boards for a low cost you may e...
by ag123
Thu Jul 09, 2020 9:29 am
Forum: General discussion
Topic: USBComposite send data from within interrupts
Replies: 10
Views: 1873

Re: USBComposite send data from within interrupts

one way though is to hook up st-link and a debugger, it may help to figure out the problems and give hints on optimizations. to improve throughput, one way though is to send in batch, that works in the default usb cdc serial. but throughput is not the same as time sensitive responsiveness. i think u...
by ag123
Wed Jul 08, 2020 10:31 pm
Forum: General discussion
Topic: USBComposite send data from within interrupts
Replies: 10
Views: 1873

Re: USBComposite send data from within interrupts

my guess if you are simply using serial, the default usb-serial 'driver' may work better, on stm32f401 with the usb-serial CDC (vcp) 'driver' https://www.stm32duino.com/viewtopic.php?f=24&t=452 i actually got 1.2 Mbps, well that is hardly worth bragging as usb full speed is 12 Mbps. there are probab...

Go to advanced search