Giter VIP home page Giter VIP logo

eeprom-programmer's Introduction

EEPROM Programmer

Utility to read and write I2C EEPROM memory devices.

Microcontroller

Using a STM32 Black Pill (stm32f103c8)
and the ST HAL library.

Microcontroller connections

Only the I2C2 bus is used

STM32F103 Function
PB10 SCL
PB11 SDA

Important note:
Aditionally, a 10k pullup resistor to Vcc is required in both SDA and SCL.

Memory

Supported I2C memories are:

  • 24LC16
  • 24LC64
  • X24645
  • 24LC256

Memory electrical connections

EEPROM (DIP-8) Connected to
1 GND
2 GND
3 VCC
4 GND
5 SDA
6 SCL
7 GND
8 VCC

Libraries used

ST Microelectronics HAL

Using the ST HAL library for I2C, USB, USB CDC, Clocks and GPIO

Serial port

USB CDC Class implemented thanks to philrawlings modified version of the ST CDC example
https://github.com/philrawlings/bluepill-usb-cdc-test

Command Line Interface

The PC side CLI is made with Qt using QSerialPort library among others.
Run eeprom-programmer -h to get command line options

Special thanks

'sijk' for his implementation on Unix signals in Qt
https://github.com/sijk/qt-unix-signals

'user948581' on Stack Overflow for his implementation on Windows signals handler
https://stackoverflow.com/questions/7581343/how-to-catch-ctrlc-on-windows-and-linux-with-qt

eeprom-programmer's People

Contributors

feer9 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.