Search found 467 matches

by ag123
Thu Jul 16, 2020 2:57 pm
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4891

Re: STM32F103C8 and Fast Bootloader

i think the 'fast' boot works by having some codes in the *core* (not bootloader) by saving some values in the backup registers. so those persist across reset. that saves the initial 'irritation' of the initial delay with the 'conventional' boot loader. i'd suggest you could work with the 'conventio...
by ag123
Thu Jul 16, 2020 2:22 pm
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 3018

Re: Newbie stuck at first flash attempt (STM32F103)

using the serial uart boot loader or using st-link swd to flash the firmware, normally the install location is 0x8000000 - start of flash. if you used a boot loader e.g. usb dfu boot loader it sits there. you can make a sketch and install it there using st-link or usb-uart (set boot0), select the up...
by ag123
Thu Jul 16, 2020 3:50 am
Forum: USB bootloader
Topic: STM32F103C8 and Fast Bootloader
Replies: 53
Views: 4891

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: 4891

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: 3018

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: 3018

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: 3018

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: 3018

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: 3018

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: 590

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...

Go to advanced search