Search found 1213 matches

by Roberthh
Mon Feb 18, 2019 7:09 pm
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 17
Views: 470

Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...

On the Wemos Pro mini, you could to set the flash size during loading to 4 MByte, since Micropython does not support more. There is a method for that, but it's not part of the standard procedure.
by Roberthh
Mon Feb 18, 2019 5:02 pm
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 17
Views: 470

Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...

I cannot tell if anybody has asked that yet, but which type, version and flash size are the ESP8266 boards that fail?
by Roberthh
Sun Feb 17, 2019 4:22 pm
Forum: ESP8266 boards
Topic: ESP8266/MicroPython-Copy data from terminal to file
Replies: 7
Views: 334

Re: ESP8266/MicroPython-Copy data from terminal to file

There is an option in Teraterm to log all interface activity in a file, under File->Log. This is just the raw character stream. I do not expect that this is possible with Webrepl. If you are using simple tools like picocom or screen form the command line, you can always "tee" the screen output to a ...
by Roberthh
Sun Feb 17, 2019 6:58 am
Forum: ESP8266 boards
Topic: ESP8266/MicroPython-Copy data from terminal to file
Replies: 7
Views: 334

Re: ESP8266/MicroPython-Copy data from terminal to file

@samerou: On which deviec do you want to write: a) do you want to write data sent by the ESP8266 into a file on the PC, or b) do you want to write data sent by the PC into a file on the ESP8266 In case of a) at least with programs like Tertarm, you can open a log file, which capture all activity. In...
by Roberthh
Sat Feb 16, 2019 12:00 pm
Forum: Drivers for External Components
Topic: Drivers for Waveshare 2.13inch E-Ink display
Replies: 54
Views: 14528

Re: Drivers for Waveshare 2.13inch E-Ink display

The sample code is wrong. Using

Code: Select all

e.clear_frame_memory(0xff)
in test.py might work. Alternatively changing epaper2in9.py

Code: Select all

self._data(bytearray(color))
by Roberthh
Wed Feb 13, 2019 6:45 am
Forum: General Discussion and Questions
Topic: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...
Replies: 17
Views: 470

Re: Error when flashing ESP32 - Testing if ubinascii.unhexlify exists ...

In the last post the picocom settings again showed a baud rate of 9600 baud. Whatever else is happening, with 9600 baud it will not work. You have to use 115200 baud. Additionally, the firmware is most likely not properly loaded. The first boot messages of an ESP8266 are sent with 74880 Baud. On a l...
by Roberthh
Mon Feb 11, 2019 9:13 am
Forum: ESP8266 boards
Topic: Can not flash SonOff with MP
Replies: 10
Views: 181

Re: Can not flash SonOff with MP

The first output of the ESP8266 is at 74880 Baud, then it should change to 115200. if it does not, then the image is not loaded. AFAIK, you have to use the option "-fm dout" during flashing. You may find that in a search of the Forum.
by Roberthh
Mon Feb 11, 2019 8:41 am
Forum: ESP8266 boards
Topic: Can not flash SonOff with MP
Replies: 10
Views: 181

Re: Can not flash SonOff with MP

You have to set the baudrate to 115200, calling it with

picocom -b 115200 /dev/ttyUSB0