darrylb123 / blackboard-STC15

6 stars 5 forks source link

blackboard-STC15

A firmware for STC15L2K32S microcontroller on Black Board T5 ESP-13

Use SDCC to compile

Use STC MCU ISP flash tool to programm

Install both sdcc and stcgal per instructions (or use distribution packages for sdcc)

Programming the MCU is via a USB to serial converter connected to connector 3P, the BetaBlack MCU programming pins on /dev/ttyUSB0 Modbus communications is via the alternative pins connected to the ESP8266 via jumpers. These jumpers can be removed and a second USB to Serial converter used for testing via /dev/ttyUSB1. Refer here for MCU connection details.

cd blackboard-STC15
make
make install # will download to the MCU

Build the modbus-master program for testing communication

make modbus-master

Build ESP8266 code Use Arduino ESP8266 generic

What it supports for now:

TODO