micropython-modbus icon indicating copy to clipboard operation
micropython-modbus copied to clipboard

micropython hangs when stopping slave process

Open Omid888 opened this issue 1 year ago • 0 comments

Description

After a few times of running & stopping a slave process (result = client.process()) the microcontroller becomes irresponsive. Thonny throws this message: Could not interrupt current process. Please wait, try again or select Stop/Restart!

Now I have to disconnect power completely from raspberrypi pico to get to work again.

MicroPython version

V1.22.2

MicroPython board

Raspberry Pico

MicroPython Modbus version

MicroPython infos: (sysname='rp2', nodename='rp2', release='1.22.2', version='v1.22.2 on 2024-02-22 (GNU 13.2.0 MinSizeRel)', machine='Raspberry Pi Pico with RP2040')

Used micropthon-modbus version: 2.3.7

Omid888 avatar May 20 '24 09:05 Omid888