Hack STM8S105C6T3 Microprocessor Flash and Eeprom Memory needs to crack stm8s105 mcu protective system including remove its security fuse bit and then copy locked program from flash and eeprom memory of microcontroller;
Write protection of Flash program memory and data EEPROM is provided to avoid unintentional overwriting of memory that could result from a user software malfunction.
There are two levels of write protection. The first level is known as MASS (memory access security system) when reverse engineering stm8s105k6 data eeprom and program flash system. MASS is always enabled and protects the main Flash program memory, data EEPROM and option bytes.
To perform in-application programming (IAP), this write protection can be removed by writing a MASS key sequence in a control register. This allows the application to write to data EEPROM, modify the contents of main program memory or the device option bytes to break mcu stm8s105k4 protective flash and eeprom memory.
A second level of write protection, can be enabled to further protect a specific area of memory known as UBC (user boot code). Refer to the figure below. The size of the UBC is programmable through the UBC option byte, in increments of 1 page (64-byte block) by programming the UBC option byte in ICP mode.