2020-09-03 09:12 AM
Hello, I'm having some issues with an STM32L071RB. I'm unable to read from memory address 0x08020000 onwards because it's supposed to be read/write-protected.
I had similar results on STM32CubeProgrammer and via the I2C bootloader, which are as follow:
To remove the read/write protections I tried the following:
On CubeProgrammer
Via I2C bootloader
Via firmware
This issue seemed to have appeared when I was testing writing and reading from EEPROM, which shouldn't be related.
I'm not sure what else I could try. Any help is appreciated.
2020-09-03 12:47 PM
Wouldn't the root of the problem be that the part only has 128KB of FLASH?
2020-09-03 02:40 PM
That makes sense. The question then is why is the STM32CubeProgrammer trying to erase pages outside the available range on a full chip erase? You can see on the screenshots attached that the part number is recognized correctly.
2020-09-03 02:48 PM
>>The question then is why is the STM32CubeProgrammer trying to erase pages outside the available range on a full chip erase?
I don't see any screen-shot of that, but the software has plenty of bugs in it.
2020-09-03 02:52 PM
The screenshot attached shows that the part is properly recognized. I didn't attach a screenshot for the failing full chip erase (I just mentioned it in my comments). It could definitely be just a bug on the software, any ideas on how/where to report it?
Thanks a bunch for the help btw!