Search found 20 matches

by flywire
Wed Jan 09, 2019 9:37 am
Forum: General Discussion and Questions
Topic: MicroPython Documentation Discussion
Replies: 6
Views: 371

esptool.py erase all flash before writing (single command)

wrote:
Wed Jan 09, 2019 7:46 am
https://github.com/espressif/esptool/releases/tag/v2.6
Version 2.6 Features:
New write_flash --erase-all ... option to erase all flash before writing (single command).
by flywire
Wed Jan 09, 2019 7:46 am
Forum: ESP8266 boards
Topic: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows
Replies: 12
Views: 10820

esptool.py erase all flash before writing (single command)

https://github.com/espressif/esptool/releases/tag/v2.6
Version 2.6 Features
New write_flash --erase-all ... option to erase all flash before writing (single command).
Done. The hard part will be getting MicroPython documentation updated for esptool.py.
by flywire
Mon Jan 07, 2019 11:08 am
Forum: General Discussion and Questions
Topic: MicroPython Documentation Discussion
Replies: 6
Views: 371

Re: MicroPython Documentation Discussion

tannewt wrote:
Mon Jan 07, 2019 5:31 am
The source ... [is]: https://github.com/micropython/micropyt ... ickref.rst
Thank you, easy to edit with the pencil icon. :D

172 pull requests - hard to implement. :(
by flywire
Mon Jan 07, 2019 10:35 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 289

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

* So essentailly, you want to replace the RPi by an ESP running micropython? Yes * The usb uart is not required as soon as your code is working right? User feedback could be disabled. :( The led on the relay is probably enough feedback. * It will be an autark system ... Automatic system I assume. * ...
by flywire
Mon Jan 07, 2019 8:51 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 289

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

@torwag I assume photo at the end of the first sentence in this topic is not clear so to elaborate on first sentence in second paragraph: power --> relay <-> esp modem <-- power esp modem esp <-> Terminal (REPL) modem <-----------> esp <-> Terminal * Power is supplied to a KY-019 5V Relay Module (re...
by flywire
Sat Jan 05, 2019 12:08 pm
Forum: ESP8266 boards
Topic: uPyLoader Will Not Connect with USB and Serial Connection
Replies: 2
Views: 141

uPyLoader Will Not Connect with USB and Serial Connection

uPyLoader fails to connect on a LoLin NodeMCU board by wifi or usb cable to PC if RXDO (GPIO3) is attached to modem TX, regardless of modem on/off. [TXD0 (GPIO1) and GND are attached to modem RX and GND respectively.] uPyLoader connects without problems by usb or wifi if RXD2 (GPIO13), TXD2 (GPIO15)...
by flywire
Sat Jan 05, 2019 6:39 am
Forum: Programs, Libraries and Tools
Topic: WebREPL Parameters
Replies: 5
Views: 204

Re: WebREPL Parameters

Roberthh wrote:
Fri Jan 04, 2019 8:28 am
Clear screen ... try at REPL:

Code: Select all

print("\x1b[2J\x1b[H")
Hmm - http://ascii-table.com/ansi-escape-sequences.php, clear screen and position cursor to 0,0.

Forward to the past - adopted by Windows 10, finally!
by flywire
Fri Jan 04, 2019 10:44 am
Forum: ESP8266 boards
Topic: accessing uart0 on nodemcu board
Replies: 23
Views: 874

Re: accessing uart0 on nodemcu board

If you write: uos.dupterm(None, 1) you disable the terminal output to UART so of course you dont see anything. Use the webrepl. Note known conflict between os.dupterm and WebREPL: https://forum.micropython.org/viewtopic.php?f=2&t=5446&hilit=WebREPL+Disconnected and maybe https://forum.micropython.o...
by flywire
Fri Jan 04, 2019 9:54 am
Forum: Programs, Libraries and Tools
Topic: WebREPL Parameters
Replies: 5
Views: 204

Re: WebREPL Parameters

@Roberthh - excellent! :thumbsup::thumbsup::thumbsup:

Seems all possible but not with the hosted version I've been using. I should have looked through the issues: URL parameters for host and auto_connect already raised and workaround given but seems no active development.
by flywire
Fri Jan 04, 2019 7:09 am
Forum: ESP8266 boards
Topic: Is wifi.persistent implemented?
Replies: 9
Views: 354

Re: Is wifi.persistent implemented?

I am having problems maintaining a persistent connection so I can use WebREPL boot.py # This file is executed on every boot (including wake-boot from deepsleep) import esp esp.osdebug(None) import uos, machine uos.dupterm(machine.UART(0, 115200), 1) import wifi_connect_stn wifi_connect_stn() import ...