Skip to content

C0135 alpha 0.18

Pre-release
Pre-release
Compare
Choose a tag to compare
@TG9541 TG9541 released this 28 Apr 20:57
b9e1ebc

C0135 binary created with STM8 simulation in uCsim on Travis-CI. Tested on a "4-Relay" board V1.06.
Features:

  • bitfield operations for Little Endian (i.e. "MODBUS packed bits") and Big Endian (i.e. "MODBUS registers") make better FC01, FC02, FC05 and FC15 possible. Refer to the following commits:
    • #28 FC05 addressing off-by-one (also large bitfields)
    • #25 Make FC03 and FC04 compatible with the new FC01 and FC02
    • #23 Use bitfield addressing to improve FC-1 and FC-2
    • #19 FC15 "Write Multiple Coils" not working
  • Add IN@ to actually read C0135 inputs, refer to issue issue #20 and to this HaD log entry
  • EEPROM Initialization w/o console: press and hold S2 during reset (refer to #17)
  • Node-ID in EEPROM $4000, "holding" address 0
  • Baud rate in EPROM $4002, "holding" address 1
  • Relais 1..4 and LED as "single coil" address 0 .. 4
  • Forth console on PD1/SWIM 9600 baud

See #12 for discussion of missing or planned features (e.g. initial setting of Node-ID and baud rate).

Note: the tgz archive is recommended for Forth programming