Search found 938 matches

by Roberthh
Wed Jul 18, 2018 6:36 pm
Forum: ESP8266 boards
Topic: MemoryError: memory allocation failed, allocating %u bytes
Replies: 5
Views: 226

Re: MemoryError: memory allocation failed, allocating %u bytes

Just in case you use Windows, I keep a version of mpy-cross.exe here: https://github.com/robert-hh/Shared-Stuff
by Roberthh
Tue Jul 17, 2018 4:30 pm
Forum: Drivers for External Components
Topic: I2C LCD Library... Help!
Replies: 49
Views: 11958

Re: I2C LCD Library... Help!

The pyb module is specific for PyBoard. In general, you'll find the i2c methods in the machine module. The documentation for FIPy is at https://docs.pycom.io/, the forum for PyCom devices is https://forum.pycom.io/.
by Roberthh
Sat Jul 07, 2018 7:10 pm
Forum: ESP32 boards
Topic: New Lolin D32 Pro with 4MB PSRAM
Replies: 19
Views: 960

Re: New Lolin D32 Pro with 4MB PSRAM

I have a few WEMOS LoLin32 from the old series including two PRO models (4 MB RAM/Flash). One of them is working fine with all variants of ESP32 micropython. The other works fair. When using the Pycom WiPy image, it boots and freezes after a few seconds. The Micropython.org firmware and the pre-pack...
by Roberthh
Fri Jul 06, 2018 8:12 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 10
Views: 216

Re: rshell can't mkdir or cd into directory on ESP8266

Did you by change copy a module like os.py from micropython_lib onto your device? That is not needed. uos and it's alias os is a built-in module.
by Roberthh
Fri Jul 06, 2018 6:36 am
Forum: General Discussion and Questions
Topic: Accessing more than one ESP8266 thru the web remotely
Replies: 6
Views: 195

Re: Accessing more than one ESP8266 thru the web remotely

I do not understand you problem. You have to use different IP addresses anyhow for each ESP8266. In that case, identical port numbers do not hurt.
by Roberthh
Thu Jul 05, 2018 8:37 am
Forum: ESP32 boards
Topic: ESP32 auto reset circuit
Replies: 7
Views: 187

Re: ESP32 auto reset circuit

The first circuit is the standard set-up supported by esptool.py, and it works pretty well. The type of NPN transistor does not matter at all. Using a N-Mosfet may not work, because of the reverse polarity protection diode, but I did not try that out. No reason to try, since small signal NPN's are a...
by Roberthh
Tue Jul 03, 2018 8:09 pm
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 54
Views: 5791

Re: ESP32 and LoRa

Building the image is one thing, but for the image to work also the GPIO pins must match which are used to connect the SX127x chip. But the do not. Sop you have to adapt the LoPy sources to the other connections. CLK, MOSI and MISO see to match, but CS, Reset and Lora Interrupt do not. The LoPy sour...
by Roberthh
Mon Jul 02, 2018 5:58 am
Forum: ESP8266 boards
Topic: flash directory corrupted with \x00\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x00
Replies: 22
Views: 490

Re: flash directory corrupted with \x00\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x00

The error varies with the board and version ESP01 with 16MB flash: error after 3-8 cycles, v1.9.4-227-gab02abe9-dirty on 2018-07-01 WEMOS D1: error after 158 cycles, build with today's repo, v1.9.4-234-g8f86fbfd on 2018-07-02; ESP01 with 1 MB flash: Manually stopped after 1000 cycles (causing the Ct...
by Roberthh
Sun Jul 01, 2018 2:06 pm
Forum: ESP8266 boards
Topic: flash directory corrupted with \x00\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x00
Replies: 22
Views: 490

Re: flash directory corrupted with \x00\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x00

I just tried the same, adding a cycle counter. After a few cycles the crash happens. Before that happens, it show a kind of warning. >>>import write 0 1 2 ets_post: task 31 queue full 3 (IllegalInstructionCause): epc1=0x402776b4, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000...