Skip to content

midnight-wonderer/stm8-eeprom-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An article about an STM8 hardware bug related to EEPROM functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published