K10 Micropython OSError [Errno116]

userHead Miyabi.Suen 2025-05-14 15:33:05 526 Views5 Replies

Some of my Unihiker_k10 board get error. Even the firmware is flashed again using flash_download_tool 3.9.8 . The code could run on my other k10 board
it has probem on ‘from unihiker_k10 import screen’
 

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40382d5e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3820,len:0x105c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbd8
load:0x403cc700,len:0x2e30
entry 0x403c989c
Traceback (most recent call last):
 File "_boot.py", line 4, in <module>
 File "mpython.py", line 1261, in <module>
 File "mpython.py", line 1141, in __init__
 File "mpython.py", line 84, in __init__
OSError: [Errno 116] ETIMEDOUT
LVGL MicroPython 1.23.0 on 2024-11-22; Generic ESP32S3 module with Octal-SPIRAM with ESP32S3
Type "help()" for more information.
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "unihiker_k10/__init__.py", line 2, in <module>
 File "unihiker_k10/_unihiker_k10.py", line 2, in <module>
 File "k10_base/__init__.py", line 1, in <module>
 File "k10_base/_k10_base.py", line 7, in <module>
 File "mpython.py", line 1261, in <module>
 File "mpython.py", line 1141, in __init__
 File "mpython.py", line 84, in __init__
OSError: [Errno 116] ETIMEDOUT

 

2025-05-15 00:49:00

OSError: [Errno 116] ETIMEDOUT means a device (e.g., I2C/SPI sensor, display, etc.) does not respond in time. It seems that the error happening at screen.init(dir=2). That line initializes the screen hardware — if the display is not responding (wrong connection, missing hardware, or power issue), you will get a timeout error like this.

Check that the screen is physically connected. Try a different USB cable/port. If you are running off a low-power USB port or poor-quality cable, the screen may not boot.

userHeadPic Lupin
2025-05-14 17:09:24

Would you post your micropython code so I can try to replicate this problem on my K10?

userHeadPic Yeez_B
Miyabi.Suen wrote:

The code is shown as follows: I use another K10 board is no problem.There are5 out of 80 got problems after serveral uses. 

It is just simply show a ‘hello' on screen

from unihiker_k10 import screen
import time
screen.init(dir=2)
screen.draw_text(text="Hello",line=0)
screen.show_draw()
while True:
   time.sleep(0.1)

2025-05-14 18:54:31
1 Replies
2025-05-14 15:44:41

Even though I flash the micropython using flash tool, it still have this problem

userHeadPic Miyabi.Suen
2025-05-14 15:43:38

Error Code:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40382d5e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3820,len:0x105c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbd8
load:0x403cc700,len:0x2e30
entry 0x403c989c
Traceback (most recent call last):
 File "_boot.py", line 4, in <module>
 File "mpython.py", line 1261, in <module>
 File "mpython.py", line 1141, in __init__
 File "mpython.py", line 84, in __init__
OSError: [Errno 116] ETIMEDOUT
LVGL MicroPython 1.23.0 on 2024-11-22; Generic ESP32S3 module with Octal-SPIRAM with ESP32S3
Type "help()" for more information.
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "unihiker_k10/__init__.py", line 2, in <module>
 File "unihiker_k10/_unihiker_k10.py", line 2, in <module>
 File "k10_base/__init__.py", line 1, in <module>
 File "k10_base/_k10_base.py", line 7, in <module>
 File "mpython.py", line 1261, in <module>
 File "mpython.py", line 1141, in __init__
 File "mpython.py", line 84, in __init__
OSError: [Errno 116] ETIMEDOUT

userHeadPic Miyabi.Suen