Forum Controladores/PLC

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

ESP32 guru medidtation on RS485 write

Hi, I'm just starting to code on ESP32 PLC 38AR.


If I try to run the RS485.wirte() example provided, and in any case once I try to write something with that method on the RS485 class that is in the Industrialshiel package the ESP32 fails blocking the entire kernel in guru meditation. In the following the message I get from rs232 connection. I tried to unplug usb but it didn't solve the issue.


20:24:33.901 -> Guru Meditation Error: Core  1 panic'ed (Interrupt wdt timeout on CPU1).
20:24:33.966 ->
20:24:33.966 -> Core  1 register dump:
20:24:33.998 -> PC      : 0x4008ab52  PS      : 0x00060035  A0      : 0x80089da6  A1      : 0x3ffbedec  
20:24:34.095 -> A2      : 0x3ffb9580  A3      : 0x3ffb8890  A4      : 0x00000004  A5      : 0x00060023  
20:24:34.192 -> A6      : 0x00060023  A7      : 0x00000001  A8      : 0x3ffb8890  A9      : 0x00000018  
20:24:34.288 -> A10     : 0x3ffb8890  A11     : 0x00000018  A12     : 0x3ffc16bc  A13     : 0x00060023  
20:24:34.384 -> A14     : 0x007beef8  A15     : 0x003fffff  SAR     : 0x0000001c  EXCCAUSE: 0x00000006  
20:24:34.480 -> EXCVADDR: 0x00000000  LBEG    : 0x40086074  LEND    : 0x4008608a  LCOUNT  : 0xffffffff  
20:24:34.577 -> Core  1 was running in ISR context:
20:24:34.609 -> EPC1    : 0x400dea47  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x00000000
20:24:34.705 ->
20:24:34.705 ->
20:24:34.705 -> Backtrace:0x4008ab4f:0x3ffbedec |<-CORRUPTED
20:24:34.738 ->
20:24:34.738 ->
20:24:34.738 -> Core  0 register dump:
20:24:34.770 -> PC      : 0x4008acd3  PS      : 0x00060035  A0      : 0x800899cf  A1      : 0x3ffbe84c  
20:24:34.867 -> A2 : 0x3ffbeef8 A3 

Avatar
Descartar
1 Respuesta
0
Mejor respuesta

This was a bug with our libraries. It is now fixed in our boards libraries, update 2.1.3.

Avatar
Descartar