Skip to content

V2.0 rc1 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.metadata

build-*
build_*
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# EEPROM Programmer

Utility to read and write to I2C EEPROM memory devices.

Utility to read and write I2C EEPROM memory devices.

## Microcontroller

Expand All @@ -18,13 +17,16 @@ 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 (not yet)
- 24LC64
- X24645
- 24LC256 (not yet)
- 24LC256

### Memory electrical connections

Expand All @@ -39,12 +41,19 @@ EEPROM (DIP-8) | Connected to
7 | GND
8 | VCC

## PC CLI
## Libraries used

PC CLI made with Qt's QSerialPort.
Run `eeprom-programmer -h` to get command line options
### ST Microelectronics HAL
Using the ST HAL library for I2C, USB, USB CDC, Clocks and GPIO

## USB CDC
USB CDC Class implemented thanks to philrawlings repo:
### 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
5 changes: 0 additions & 5 deletions build_linux/.gitignore

This file was deleted.

Binary file removed build_linux/eeprom-programmer
Binary file not shown.
Binary file removed build_linux/libs/libQt5Core.so.5.15.2
Binary file not shown.
Binary file removed build_linux/libs/libQt5Gui.so.5.15.2
Binary file not shown.
Binary file removed build_linux/libs/libQt5SerialPort.so.5.15.2
Binary file not shown.
Binary file removed build_linux/libs/libQt5Widgets.so.5.15.2
Binary file not shown.
Binary file removed build_win32/Qt5Core.dll
Binary file not shown.
Binary file removed build_win32/Qt5SerialPort.dll
Binary file not shown.
Binary file removed build_win32/eeprom-pc.exe
Binary file not shown.
Binary file removed build_win32/libgcc_s_dw2-1.dll
Binary file not shown.
Binary file removed build_win32/libstdc++-6.dll
Binary file not shown.
Binary file removed build_win32/libwinpthread-1.dll
Binary file not shown.
1 change: 1 addition & 0 deletions eeprom_programmer_PC/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build-debug
Loading