Is there something I need to change in a config file or are these boards defective?Sketch uses 14212 bytes (21%) of program storage space. Maximum is 65536 bytes.
Global variables use 3128 bytes (15%) of dynamic memory, leaving 17352 bytes for local variables. Maximum is 20480 bytes.
/home/hennep/Arduino/hardware/Arduino_STM32/tools/linux/stlink_upload /tmp/arduino_build_187156/Blink.ino.bin
2020-09-30T17:33:24 INFO src/stlink-common.c: Loading device parameters....
2020-09-30T17:33:24 INFO src/stlink-common.c: Device connected is: F1 Medium-density device, id 0x20036410
2020-09-30T17:33:24 INFO src/stlink-common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x20000 bytes (128 KiB) in pages of 1024 bytes
2020-09-30T17:33:24 INFO src/stlink-common.c: Attempting to write 14212 (0x3784) bytes to stm32 address: 134217728 (0x8000000)
2020-09-30T17:33:24 WARN src/stlink-common.c: unknown coreid 2ba01477, page erase failed
2020-09-30T17:33:24 ERROR src/stlink-common.c: Failed to erase_flash_page(0x8000000) == -1
stlink_fwrite_flash() == -1
When I try the same sketch on a board that I bought earlier (years ago), then it works fine.
Lubuntu 20.04.1 LTS
Arduino 1.8.11
Board: Generic STM32F103C Series
Variant: STM32F103C8 (20k RAM/ 64k Flash)
Upload method: STLink