users Digest, Vol 92, Issue 3

Hello everyone, it’s me again… well I was able to finally build (Thanks Alex). But in any case I was able to flash from Riot’s make.

I’ve tried as Marian said, with the reset button (even if the GPIO is connected to the fake STLink) and nothing worked. Any other hint? I was able, again, to flash it with st-flash

sourceCode/riot/examples/hello-world/bin/bluepill/hello-world.bin

arm-none-eabi-size sourceCode/riot/examples/hello-world/bin/bluepill/hello-world.elf text data bss dec hex filename 10112 112 2372 12596 3134 sourceCode/riot/examples/hello-world/bin/bluepill/hello-world.elf rm -f sourceCode/riot/examples/hello-world/bin/bluepill/.test sourceCode/riot/dist/tools/openocd/openocd.sh flash sourceCode/riot/examples/hello-world/bin/bluepill/hello-world.elf

Flashing Target

Open On-Chip Debugger 0.10.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Warn : ignoring extra IDs in hl_vid_pid (maximum is 1 pair) hla_vid_pid (vid pid)*

sourceCode/riot/examples/hello-world/…/…/Makefile.include:689: recipe for target ‘flash’ failed make: *** [flash] Error 1 make: Leaving directory ‘sourceCode/riot/examples/hello-world’

ST_Flash log

st-flash --reset write examples/hello-world/bin/bluepill/hello-world.bin 0x08000000 st-flash 1.6.0-31-gf5d0454-dirty 2020-09-17T19:42:12 INFO common.c: Loading device parameters… 2020-09-17T19:42:12 INFO common.c: Device connected is: F1 Medium-density device, id 0x20036410 2020-09-17T19:42:12 INFO common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes 2020-09-17T19:42:12 INFO common.c: Attempting to write 10224 (0x27f0) bytes to stm32 address: 134217728 (0x8000000) Flash page at addr: 0x08002400 erased 2020-09-17T19:42:12 INFO common.c: Finished erasing 10 pages of 1024 (0x400) bytes 2020-09-17T19:42:12 INFO common.c: Starting Flash write for VL/F0/F3/F1_XL core id 2020-09-17T19:42:12 INFO flash_loader.c: Successfully loaded flash loader in sram 10/10 pages written 2020-09-17T19:42:13 INFO common.c: Starting verification of write complete 2020-09-17T19:42:13 INFO common.c: Flash written and verified! jolly good!