Good day!
I use Raspberry Pico 1 and Micropython.
I made a program on Micropython. It generates the data and displays it using Print () function. I connect the operating plate to the PC via USB and use Pycharm to receive data via Repl.
The problem is that when board connected by the Repl, the program working on the board is interrupted, the current state of the program and data are lost. I have to do Soft_Reset () to restart the program.
That's actually the question. Is it possible to prevent a program stop when connecting a working board to PC? I am not interested in options for maintaining data in memory, I need to know the current state of the program. For example, on STM32F411, the connection of the board to the USB did not affect the execution of the program.
I use Raspberry Pico 1 and Micropython.
I made a program on Micropython. It generates the data and displays it using Print () function. I connect the operating plate to the PC via USB and use Pycharm to receive data via Repl.
The problem is that when board connected by the Repl, the program working on the board is interrupted, the current state of the program and data are lost. I have to do Soft_Reset () to restart the program.
That's actually the question. Is it possible to prevent a program stop when connecting a working board to PC? I am not interested in options for maintaining data in memory, I need to know the current state of the program. For example, on STM32F411, the connection of the board to the USB did not affect the execution of the program.
Statistics: Posted by nesergen — Fri Mar 14, 2025 7:46 pm