Search found 6 matches

by bandaangosta
Sun Apr 07, 2019 8:54 pm
Forum: General Discussion and Questions
Topic: UART lost bytes / buffer overflow issue
Replies: 4
Views: 898

Re: UART lost bytes / buffer overflow issue

It is possible that the ESP8266 can't cope with such a high baudrate. I would try testing at (say) 9600 to see if this affects things. I don't know if the ESP8266 port of machine supports the rxbuf UART constructor arg. If it does, try setting the value to a number > your message length. These test...
by bandaangosta
Sun Apr 07, 2019 1:11 am
Forum: General Discussion and Questions
Topic: UART lost bytes / buffer overflow issue
Replies: 4
Views: 898

UART lost bytes / buffer overflow issue

I have been struggling with an issue for a couple days. I am communicating my WEMOS D1 Mini Lite board to my PC through the onboard USB port (UART0). After understanding* the whole deal with the REPL and UART0, thanks to the good experts here ( https://forum.micropython.org/viewtopic.php?f=15&t=6182...
by bandaangosta
Thu Mar 28, 2019 4:48 am
Forum: Programs, Libraries and Tools
Topic: REPL conflicting with UART(0)
Replies: 5
Views: 2710

Re: REPL conflicting with UART(0)

I will give rshell a try, thanks! Alternatively, following a short snippet in https://github.com/micropython/micropython/issues/4225 , I rewrote my example code to only disable REPL during the master-slave communication and re-enable it on exit or if a "special" message is received: # Slave device (...
by bandaangosta
Thu Mar 28, 2019 2:42 am
Forum: Programs, Libraries and Tools
Topic: REPL conflicting with UART(0)
Replies: 5
Views: 2710

Re: REPL conflicting with UART(0)

This thread explains it: https://github.com/micropython/micropython/issues/4225 So yes, uart(0) is assigned to the REPL by default, in which case you can use sys.stdin or sys.stdout. If you want to use uart(0) then you need to unassign it from the REPL. Thanks for that quick reply, dhylands. It is ...
by bandaangosta
Wed Mar 27, 2019 7:51 pm
Forum: Programs, Libraries and Tools
Topic: REPL conflicting with UART(0)
Replies: 5
Views: 2710

REPL conflicting with UART(0)

I am developing a mobile robot prototype having a master device (Raspberry Pi) and one (or more) slaves (ESP8266-based board: Wemos D1 Mini, Mini Lite or Mini Pro). The master handles high level services including a web server, video streaming, audio reproduction and so on. Slave(s) handle low-level...
by bandaangosta
Fri May 19, 2017 12:38 am
Forum: ESP8266 boards
Topic: Flashing the D1 Mini Lite
Replies: 12
Views: 5971

Re: Flashing the D1 Mini Lite

Thanks for all the good info here. I was facing a similar issue where I could correctly flash the firmware (thanks for the tip, deshipu), but could not load any python scripts onto boards Wemos D1 Mini Lite or D1 Mini v2.20. Meanwhile, the D1 Mini Pro worked fine. ampy would hang without any output....