vladipirogov
Hello
I'm not sure if a similar problem was raised in the forum. Let me describe the issue
 
Given:
Raspberry pico w
OpenPLC v4
 
Reproducing successful case:
 
Create a simple ladder diagram in the editor
Setup Device -> configuration -> board setting -> Device = Raspberry Pico w
Load program to the MCU
Program works well on the raspberry pico
Switch to debug mode
Result: debug mode is activated
 
 
Reproducing failed debug case:
Given previous program
Setup Device -> configuration -> Communication -> Enable modbus RTU, and select interface from Serial1 and further (not just Serial)
Load program to the MCU
Program works well on the raspberry pico
Switch to debug mode
Result: MD5 verification failed: Failed to get MD5 hash after retries
Reply 0 0
thiagoralves
Debug works over Modbus. If you switch Modbus to a different serial port and you’re not connected to it, then debug will fail.
Reply 0 0
vladipirogov
It is clear now, thanks.
I marked Enable Modbus TCP and setup the connection. I allowed me to debug through Modbus TCP.
Is i got even with above approach it is better to not connect Modbus TCP and RTU in the same time, because it can lead to various issues.
Reply 0 0
Reply