Commit Graph

10 Commits (feature/Modbus)

Author SHA1 Message Date
Oleg 889280dce5 Put init modbus function outside periphery 2 weeks ago
Oleg 6a6ca4cd3e Change modbus configuration logic
COMM board asks CPU for modbus config now if it was not sent
earlier (for example after flashing COMM board)
2 weeks ago
Oleg aef79400ce Additional changes for previous commit 2 weeks ago
Oleg 4315b2865d Clean project. Change receiveCpuModbusData function 2 weeks ago
Oleg 7ab4153cca Add cpu to comm modbus data handling 2 weeks ago
Oleg 31b3b12a81 Clean the project 3 weeks ago
Oleg 06518a828d Add modbus lib instead of original one
1. All modbus classes are united in one (modbusRTU) class with
easier and clearier user interface

2. Temp variable for registers start address are created
(should be replaced for some getter function later)

3. 2 modbus register are sending in one message now without
its address. This requires some synchronization to be
implemented

4. There is a lot of garbage from previous modbus here.
3 weeks ago
Oleg 46d4b79e90 Add modbus.
Init with CPU data. If COMM is removed and then installed back -
modbus will not work because CPU board will not send config data.
CPU board should detect reinstalling/reprogramming of COMM board and
send config data again (with asking software version)

Modbus here just work itself. There is no connection btw COMM and CPU
except sending config data
3 weeks ago
Oleg 61b34218ff Add memory map for XINTF. Change zone0 to zone6 1 month ago
Oleg d864977511 First test
1. Add an arbitrator class to control all necessary periphery
main2.cpp represents it usage.
main.cpp without periphery class.

2. Add XINTF init and DigitalIO interface
3. Change DI/O MBOX length to 2 bytes instead of 3
1 month ago