JetBrains / intellij-micropython

Plugin for MicroPython devices in PyCharm and IntelliJ
https://plugins.jetbrains.com/plugin/9777-micropython
Apache License 2.0
507 stars 106 forks source link

Strange symbols after hard reset in REPL #50

Open TamiasSibiricus opened 6 years ago

TamiasSibiricus commented 6 years ago

Hi, nice work for esp8266 support But there is some problem. Sometimes after device hard reset REPL show strange symbols(take a look at screenshot). It is result of print() function into stdlog(please correct me if i wrong). Sometimes result looks readable. I do not use any any language for debug messages except English. Bad symbols shown randomly. OS: Linux Ubuntu 16.04 pyCharm: 2017.3.4 (Community Edition) intellij-micropython: 1.0.6 Board: NodeMCU v3

screenshot-github com-2018 03 16-22-17-26

vlasovskikh commented 6 years ago

@TamiasSibiricus I've been experiencing this issue as well. I guess ESP8266 devices sometimes write some extra bits to their serial ports before launching a proper terminal session. I haven't looked into the details, but I've seen the same problem with regular command line sessions with ESP8266 devices as well.

TamiasSibiricus commented 6 years ago

Additional info: it is possible to get back to normal fonts if you close REPL and try open new. In other words complete REPL restart could fix problem. Sure until it happens again. And in pyCharm: 2018.1 (Community Edition) it happens less than in older version.

vlasovskikh commented 6 years ago

I keep observing these strange symbols outside of PyCharm in a regular terminal session. It's likely an issue with the serial port output of devices, not in terminals we use to connect to them.

Walkline80 commented 5 years ago

this issue still exist in pycharm with this plugin for esp8266......

vlasovskikh commented 5 years ago

@Walkline80 Don't you experience it in the system terminal outside PyCharm? I see it from time to time, so I believe the problem isn't related to the MicroPython plugin for PyCharm.

rftestman1 commented 5 years ago

I am having this same issue on win10/Pycharm 2018.1. Never seen a problem when communicating serially using Putty.

Kortenbach commented 5 years ago

I'm having the same issue. When I close the PyCharm REPL and open PUTTY everything is working fine. I think it has to doo with the plugin. Maybe stopbits mismatch(?)