Search found 3667 matches

by Roberthh
Tue Nov 27, 2018 7:00 pm
Forum: ESP8266 boards
Topic: [solved]Serial REPL connection not working
Replies: 3
Views: 3623

Re: Serial REPL connection not working

In the firmware update, you have to set the flash size manually to 4 MB. Try:

Code: Select all

esptool.py -p /dev/ttyUSB0 --baud 115200 write_flash --flash_mode=dio --flash_size=4MB 0 esp8266-20180511-v1.9.4.bin
See also this post: viewtopic.php?t=3860
Using 16MB requires more changes.
by Roberthh
Tue Nov 27, 2018 12:34 pm
Forum: ESP8266 boards
Topic: Problems connecting to ESP8266 with picocom
Replies: 7
Views: 7357

Re: Problems connecting to ESP8266 with picocom

��nn� �lp�n� Is that what you meant? Yes. There is an initial message which is sent at 74880 baud. Normally that cannot be selected with linux. Windows can. Reading that message could give you some indication of the error. B.T.W.: Did you remove the GPIO0/GND jumper, which is need for flashing? Whi...
by Roberthh
Tue Nov 27, 2018 11:55 am
Forum: ESP8266 boards
Topic: Problems connecting to ESP8266 with picocom
Replies: 7
Views: 7357

Re: Problems connecting to ESP8266 with picocom

a) Did you upload the firmware? You mention write flash. Did you use a proper image for your board? b) Dou you get any error messages like access restricted whan you try to access /dev/ttyUSB0. In that case try the good ol'e sledge hammer: run picocom with sudo. c) Are you sure it's /dev/USB0. If yo...
by Roberthh
Tue Nov 27, 2018 6:30 am
Forum: ESP8266 boards
Topic: webrepl...
Replies: 12
Views: 8863

Re: webrepl...

You can cause a hard reset via command, it is:
machine.reset()
About the path for python modules: The list in sys.path can be extended by the value of PYTHONPATH.
by Roberthh
Tue Nov 27, 2018 6:24 am
Forum: Other Boards
Topic: ESP32 clone putty trouble
Replies: 1
Views: 1647

Re: ESP32 clone putty trouble

Did you set flow control to none at Putty?
by Roberthh
Mon Nov 26, 2018 3:13 pm
Forum: ESP8266 boards
Topic: Is it possible to use Flash button on esp board as input?
Replies: 4
Views: 3484

Re: Is it possible to use Flash button on esp board as input?

I assuem that I can turn on pullup resistor and use the pin in inverted mode?
Yes.
by Roberthh
Mon Nov 26, 2018 2:22 pm
Forum: ESP32 boards
Topic: Current state of BLE?
Replies: 9
Views: 13503

Re: Current state of BLE?

Pycom puts software made by themselves under GNU GPL, wheres micropython.org is using the MIT License and does not accept software under a different license. You can do that for your own purpose, but it will not be accepted for merging.
by Roberthh
Mon Nov 26, 2018 1:43 pm
Forum: ESP32 boards
Topic: Current state of BLE?
Replies: 9
Views: 13503

Re: Current state of BLE?

There are three versions of WiPy. WiPy1 is based on a CC3200 controller and supports WiFi only. The Support for this product is in this forum. WiPy2 and WiPy3 are based on the ESP32. They are products of Pycom and are supported in their forum at forum.pycom.io. The Pycom variant of micropython suppo...
by Roberthh
Mon Nov 26, 2018 10:04 am
Forum: ESP8266 boards
Topic: Is it possible to use Flash button on esp board as input?
Replies: 4
Views: 3484

Re: Is it possible to use Flash button on esp board as input?

You have to show the module, since not all boards have that button. But if it is the button to enable boot mode: that one is connected to GPIO0 and it can be used with the machine.Pin() class. Doing that, you might have to deal with debouncing. But a search for that word in the forum will retrieve t...
by Roberthh
Mon Nov 26, 2018 6:45 am
Forum: ESP8266 boards
Topic: webrepl...
Replies: 12
Views: 8863

Re: webrepl...

If you are in the REPL session:
Ctrl-D for soft reset
import xxx to run script xxx.py
If you want to have PC-scriptable solution, look at the work of @HerrmannSW