Search found 5 matches

by PGSmick
Wed Apr 17, 2024 3:31 pm
Forum: STM32F1 based boards
Topic: WeAct stm32F103CB HID Bootloader question
Replies: 2
Views: 1507

Re: WeAct stm32F103CB HID Bootloader question

Thanks very much!
by PGSmick
Tue Apr 16, 2024 5:44 pm
Forum: STM32F1 based boards
Topic: WeAct stm32F103CB HID Bootloader question
Replies: 2
Views: 1507

WeAct stm32F103CB HID Bootloader question

Hello. I need to be educated on this a bit. I just bought a bunch of WeAct stm32F103CB BluePills whose internal LED is connected to pin PB2. I have an STLink and the STM32CubeProgrammer software installed. I couldn't find a hid_generic_pb2.bin file to flash so I just used the hid_generic_pc13.bin fi...
by PGSmick
Tue Sep 06, 2022 9:10 pm
Forum: General discussion
Topic: EEPROM Woes on BluePill
Replies: 7
Views: 16891

Re: EEPROM Woes on BluePill

are you using the 'official' STM core? that core is bundled with its own 'eeprom' lib https://github.com/stm32duino/Arduino_Core_STM32/tree/main/libraries/EEPROM for 'blue pills' there are quite a lot of 'gotchas' and pit falls recently quite some (blue) pills appear with stm32f103 c6 32k flash 10k...
by PGSmick
Tue Sep 06, 2022 8:44 pm
Forum: General discussion
Topic: EEPROM Woes on BluePill
Replies: 7
Views: 16891

Re: EEPROM Woes on BluePill

You're overwriting data in EEPROM. And it couldn't work before. size of int is 32b not 16b like on ATMega 8b MCUs. You need to put them every 4 bytes or use 16b variables. As to life cycle - no, it's not. Virtual EEPROM is put in flash memory and it's life is about 1k erase cycles. But virtual EEPR...
by PGSmick
Tue Sep 06, 2022 5:49 pm
Forum: General discussion
Topic: EEPROM Woes on BluePill
Replies: 7
Views: 16891

EEPROM Woes on BluePill

First of all, thanks for being here. This is my first post and I apologize if you find it too long. What am I missing or Did something recently change with the EEPROM.h library? I have a program that I initially developed on an Arduino Nano, but have successfully adapted the code for use on a number...

Go to advanced search