A firmware for new soldering irons with STM8S103K3 MCU onboard. Some missing features have been implemented, such as sleep/wake up modes, sounds, errors check, etc.
For those who wants to re-build the firmware: you'll need two essential pieces of software to work with the STM8:
- stm8flash, a utility for interfacing your ST-Link dongle
- Package: aur/stm8flash-git
- GitHub: vdudouyt/stm8flash
- SDCC, a compiler
- Package: community/sdcc
- Home page
sudo add-apt-repository ppa:laczik/ppa
sudo apt-get update
sudo apt-get remove sdcc sdcc-libraries
sudo apt-get install sdcc
git clone https://github.com/vdudouyt/stm8flash.git
cd stm8flash
make
sudo make install
git clone https://github.com/Lymes/cxg-e60wt.git
cd cxg-e60wt
make
make flash
You can enter the Service Menu pressing "+" key and Power ON.
Doble-click on any key will cyclically change the following menu items:
- SOU: enable/disable sound, values 0..1 (default 1)
- CAL: calibration value in degrees, range -99..99 (default 0)
- SL1: sleep value in minutes, range 1..30 (default 3)
- SL2: DEEP sleep value in minutes, range 1..60 (default 10)
To exit the Service Menu just switch OFF/ON the soldering iron
PLEASE NOTE:
- when in SL1 mode, the soldering iron will keep 100°C
- to reset to DEFAULT values press "-" key and power ON the device.
The following additional hardware has been installed:
- Mercury Switch: https://www.aliexpress.com/item/32509962658.html?spm=a2g0s.9042311.0.0.274233edX3SZw4
- SMD Buzzer: https://www.aliexpress.com/item/4000043864737.html?spm=a2g0s.9042311.0.0.274233ediyCCli
Please feel free to use, modify, add new cool features. Good luck!