Skip to content

Library fails with Arduino Core for ESP8266 v2.5.1 and above #12

@xoseperez

Description

@xoseperez

Building and flashing the master_allwize_k1_esp8266 example with Arduino Core for ESP8266 2.5.1 and above (espressif8266@2.1.1 and above in PlatformIO)

The Arduino IDE serial monitor shows a "Error connecting to the module, check your wiring!" error. Connecting using miniterm (PlatformIO monitor) show a connection broken sometimes:

[MAIN] Wize Master Example
[MAIN] Core version: 2_5_1

Exception in thread rx:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/serial/tools/miniterm.py", line 403, in reader
    data = self.serial.read(self.serial.in_waiting or 1)
  File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 495, in read
    raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

For the moment it is recommended to stick to 2.5.0 or below.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingesp8266ESP8266 platform related

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions