Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupt working program on connect unchecked doesn't seem to work. #3153

Open
dcmcshan opened this issue Apr 3, 2024 · 1 comment
Open

Comments

@dcmcshan
Copy link

dcmcshan commented Apr 3, 2024

image

I have unchecked "Interrupt working program on connect"

I have confirmed this in configuration.ini

[ESP32]
port = /dev/cu.usbserial-210
interrupt_on_connect = False
submit_mode = raw_paste
sync_time = True
local_rtc = True
restart_interpreter_before_run = False
webrepl_url = ws://192.168.4.1:8266/
webrepl_password = AVSMCT
last_configurations = [{'run.backend_name': 'ESP32', 'ESP32.port': 'webrepl', 'ESP32.webrepl_url': 'ws://192.168.4.1:8266/'}]

But it seems that connecting still results in soft reset:

MPY: soft reboot

I have confirmed that SerialTools can connect/disconnect without soft reset.

@aivarannamaa
Copy link
Member

You could try manually adding

  • either dtr = True and rts = False
  • or dtr = False and rts = False

to the [ESP32] block in the configuration file. Make sure Thonny is closed while you edit the file, otherwise your edits will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants