ok, so ! i've connected my stm32 to the stm32cubeprogrammer and i've seen that all the flash was not protected. so as you said, the problem dont come from this point.
after that i tried to re upload the same bootloader (just in case) but it not changed nothing. finaly, i found this video : https ...
Search found 4 matches
- Sun Apr 10, 2022 10:59 am
- Forum: General discussion
- Topic: EEPROM STM32 is now read only
- Replies: 6
- Views: 3397
- Sun Apr 10, 2022 9:20 am
- Forum: General discussion
- Topic: EEPROM STM32 is now read only
- Replies: 6
- Views: 3397
Re: EEPROM STM32 is now read only
ok, thank you for your fast reply. i will check that.
i've just seen that if i read all bytes from 0 to 512, only the 256 first bytes return 0.
can i connect the stm32 with STM32cube programmer with the USB bootloader though ftdi to usb board ?
have i to re-upload the originla bootloader ?
thank you
i've just seen that if i read all bytes from 0 to 512, only the 256 first bytes return 0.
can i connect the stm32 with STM32cube programmer with the USB bootloader though ftdi to usb board ?
have i to re-upload the originla bootloader ?
thank you
- Sat Apr 09, 2022 9:34 pm
- Forum: General discussion
- Topic: EEPROM STM32 is now read only
- Replies: 6
- Views: 3397
Re: EEPROM STM32 is now read only
hi, i don't think i've made too much write on the MCU flash. i was very careful with that.
also, as i said, i'm able to update new sketch (including big sketches) without any issue and the sketches run normaly. i think that one way or an other i'v enabled an option like write protection or anything ...
also, as i said, i'm able to update new sketch (including big sketches) without any issue and the sketches run normaly. i think that one way or an other i'v enabled an option like write protection or anything ...
- Sat Apr 09, 2022 7:19 pm
- Forum: General discussion
- Topic: EEPROM STM32 is now read only
- Replies: 6
- Views: 3397
EEPROM STM32 is now read only
hi, i'm working on a project based on an STM32. i've flashed the STM32 for using it in arduino ide. All was working find until now.
today i made a function to reset all the parameters stored in EEPROM :
for (int i = 0; i < 512 ; i++)
{
EEPROM.write(i,0);
}
i've run the function once and ...
today i made a function to reset all the parameters stored in EEPROM :
for (int i = 0; i < 512 ; i++)
{
EEPROM.write(i,0);
}
i've run the function once and ...