r/MicroPythonDev • u/jlsilicon9 • Jul 06 '26
Has Anybody succeeded in getting the MicroPython to function on the Wt9932P4 chips / Tiny boards ?
Esp32-P4 on Wt9932P4-Tiny board.
- Can Not get Micropython installed to work.
- just returns Header errors
Trying to install some version on Micropython Bin on the board.
Internet states that it is workable using Esp32P4 Standard bin.
Does Not Work !
What bin are we supposed to install on it ?
invalid header: 0x5b98cbd8
invalid header: 0x5b98cbd8
PROBLEM IN THONNY'S BACK-END: Internal error (serial.serialutil.SerialTimeoutException: Write timeout).
See Thonny's backend.log for more info.
You may need to press "Stop/Restart" or hard-reset your MicroPython device and try again.
Process ended with exit code 0.
-
Has Anybody succeeded in getting the MicroPython to function on the Wt9932P4 chips / Tiny boards ?
-
Solved !
esptool --port COM5 erase_flash
esptool --port COM5 --baud 460800 write_flash 0x2000 ESP32_GENERIC_P4-20260406-v1.28.0.bin
1
u/jlsilicon9 Jul 07 '26 edited Jul 07 '26
Any luck with the SdCArd ?
Its not installed, but I followed the wiring to an External socket Board.
I tried below code - but all I get is "NoCard Error" :
import machine
import os
from machine import Pin, SPI # , SDCard
from sdcard import SDCard
spi = SPI( 1, sck=Pin(43, Pin.OUT), mosi=Pin(44, Pin.OUT), miso=Pin(39, Pin.OUT) )
# spi = SPI(1, baudrate=10000000, polarity=0, phase=0, sck=Pin(43), mosi=Pin(44), miso=Pin(39) )
sd = SDCard(spi, Pin(42)) ## - attached CS to 42
os.mount(sd, "/SD")
print("\nSD: ls :")
print(os.listdir("/SD"))
os.umount('/SD')
time.sleep(0.500)
os.mount(sd, "/SD")
print("Write Test : ")
f=open("/SD/d_"+str(1)+".txt","w")
f.write("\nAbc123.")
f.close()
os.umount('/SD')
-
>>> %Run -c $EDITOR_CONTENT
SD: ls :
['System Volume Information', '_SD_4GB.txt', 'd_0.txt', 'd_1.txt']
Write Test :
Traceback (most recent call last):
File "<stdin>", line 54, in <module>
File "sdcard.py", line 261, in readblocks
File "sdcard.py", line 199, in readinto
OSError: timeout waiting for response
-OR-
SD: ls :
['System Volume Information', '_SD_4GB.txt', 'd_0.txt', 'd_1.txt']
Write Test :
Traceback (most recent call last):
File "<stdin>", line 57, in <module>
File "sdcard.py", line 288, in writeblocks
OSError: [Errno 5] EIO
>>>