.rpv wrote: Sun Aug 22, 2021 11:59 pm Ok, first, in my experience using unsigned long it's problematic if you don't specify literally on each mention/operation
Something like this should work:
But I'll expect funny things on this:Code: Select all
unsigned long x=1000000; setup(){ //...// Serial.print(x); }
Code: Select all
unsigned long x; setup(){ //...// x=1000000; Serial.print(x); }
For the previous I'll use:Code: Select all
unsigned long x=1000000; setup(){ //...// x=x*5; Serial.print(x); }
Code: Select all
unsigned long x; setup(){ //...// x=(unsigned long)1000000; Serial.print(x); }
On the eeprom problems, you seems to use ST core, but I didn't see any errors.Code: Select all
unsigned long x=1000000; setup(){ //...// x=x*(unsigned long)5; Serial.print(x); }
The EEPROM.read/EEPROM.write are just for single byte read/write, but using stcore you can use instead:
https://www.arduino.cc/en/Reference/EEPROMGet
https://www.arduino.cc/en/Reference/EEPROMPut
also, for the address you're giving (0x10) 10000 address, the flash eeprom it's just something like 1k-2k, so you should do something like:
EEPROM.get(0,iftrans);
and/or
EEPROM.put(0,iftrans);
Hi ...
Loaded the library "" FlashStorage_STM32F1 ""
but it is NOT compatible with my blue pill card.
How is it possible ???
my BLUE PILL bootloader was loaded with
"" "https://github.com/stm32duino/BoardMana ... index.json" ""
this would be fair. ????
Honestly I DON'T know what to try anymore ..!

.rpv thank you for your time dedicated to me ... !!!!