Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

writeMultHoldingRegisters problem #12

Open
Benji1992-HU opened this issue Dec 18, 2019 · 0 comments
Open

writeMultHoldingRegisters problem #12

Benji1992-HU opened this issue Dec 18, 2019 · 0 comments

Comments

@Benji1992-HU
Copy link

Benji1992-HU commented Dec 18, 2019

Hy!
I have a problem when I used the writeMultHoldingRegisters() function.
Serial monitor error message:

Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x400d33d2  PS      : 0x00060130  A0      : 0x800d35d1  A1      : 0x3ffcf0d0  
A2      : 0x3ffd1f10  A3      : 0x00000000  A4      : 0x00000001  A5      : 0x00000000  
A6      : 0x00000000  A7      : 0x00000001  A8      : 0x800d33c7  A9      : 0x3ffcf0b0  
A10     : 0x3ffd1f10  A11     : 0x00000002  A12     : 0x80088d90  A13     : 0x3ffbbf80  
A14     : 0x00000000  A15     : 0x3ffccac0  SAR     : 0x00000000  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  

Backtrace: 0x400d33d2:0x3ffcf0d0 0x400d35ce:0x3ffcf0f0 0x400d0ea8:0x3ffcf110 0x40088b7d:0x3ffcf130

The exception decoder say this:

PC: 0x400d33d2: esp32ModbusRTUInternals::ModbusRequest16::ModbusRequest16(unsigned char, unsigned short, unsigned short, unsigned char*) at D:\Documents\Arduino\libraries\esp32ModbusRTU-master\src\ModbusMessage.cpp line 215
EXCVADDR: 0x00000000

Decoding stack results
0x400d33d2: esp32ModbusRTUInternals::ModbusRequest16::ModbusRequest16(unsigned char, unsigned short, unsigned short, unsigned char*) at D:\Documents\Arduino\libraries\esp32ModbusRTU-master\src\ModbusMessage.cpp line 215
0x400d35ce: esp32ModbusRTU::writeMultHoldingRegisters(unsigned char, unsigned short, unsigned short, unsigned char*) at D:\Documents\Arduino\libraries\esp32ModbusRTU-master\src\esp32ModbusRTU.cpp line 72
0x400d0ea8: parabolaMainFunctions(void*) at D:\Documents\Arduino\LAROF\parabola_main_board_v3/parabola_main_board_v3.ino line 192
0x40088b7d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

Any issue to solve this problem?
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant