Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.52 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.52 KB

Buggy EEPROM code

What is it?

It is the actual code mentioned in the article about STM8 hardware bug that cause EEPROM writing instability issue. Read the article for more info and workaround of the issue.

The hardware

I found the bug on one of these STM8S development board. To test the code on an actual hardware, you also need a tact switch connecting between pin C3 and ground and a device to read the content of EEPROM.
Board specific code is in firmware.c you can effortlessly port the software to different boards if you want.

List of software prerequisites to compile the code

Build instructions

Clone this repository with submodules and just make

$ git clone --recurse-submodules -b st-recommended-method https://github.com/midnight-wonderer/stm8-eeprom-bug.git
$ cd stm8-eeprom-bug
$ make

License

The code has been released under the MIT License.
The article was published under Creative Commons BY-SA 4.0