a DL/T645-2007 or DL/T645-1997 meter reader base on STM8S.
To try the demo, you need sdcc
and stm8flash
. You can find sdcc
in your Linux distribution's software repository, and find stm8flash
here.
sdcc-sdcc -lstm8 -mstm8 -I/usr/share/sdcc/include --out-fmt-ihx main.c
stm8flash -c stlinkv2 -p stm8s105k4 -w main.ihx
stm8flash -c stlinkv2 -p stm8s105k4 -s eeprom -r eeprom.dat