MaixPy-v1 icon indicating copy to clipboard operation
MaixPy-v1 copied to clipboard

OSError: Get version fail

Open wolfbomb opened this issue 6 years ago • 5 comments

import network from Maix import GPIO from fpioa_manager import fm, board_info

WIFI_SSID = "" WIFI_PASSWD = ""

IO map for ESP32 on Maixduino

fm.register(25,fm.fpioa.GPIOHS10)#cs fm.register(8,fm.fpioa.GPIOHS11)#rst fm.register(9,fm.fpioa.GPIOHS12)#rdy fm.register(28,fm.fpioa.GPIOHS13)#mosi fm.register(26,fm.fpioa.GPIOHS14)#miso fm.register(27,fm.fpioa.GPIOHS15)#sclk

nic = network.ESP32_SPI(cs=fm.fpioa.GPIOHS10,rst=fm.fpioa.GPIOHS11,rdy=fm.fpioa.GPIOHS12, mosi=fm.fpioa.GPIOHS13,miso=fm.fpioa.GPIOHS14,sclk=fm.fpioa.GPIOHS15)

nic.connect(WIFI_SSID, WIFI_PASSWD) print(nic.ifconfig()) print(nic.isconnected()) print("ping baidu.com:", nic.ping("baidu.com"), "ms") nic.disconnect()

But i am getting OSError: Get version fail

SSID and Password is definitely correct.

Traceback (most recent call last): File "", line 18, in OSError: Get version fail MicroPython v0.5.0-38-g4c4d5b6 on 2020-04-10; Sipeed_M1 with kendryte-k210

wolfbomb avatar May 01 '20 14:05 wolfbomb

same for me

klebermagno avatar May 04 '20 18:05 klebermagno

update esp32 firmware please: https://github.com/sipeed/Maixduino_esp32_fimware/releases

Neutree avatar May 26 '20 06:05 Neutree

Update does'nt help. Still same error. OSError: Get version fail Updated to maixpy_v0.5.0_95_g05c4e70_minimum_with_ide_support.bin OSError: Get version fail Any help?

Createyouraccount-alt avatar Jun 30 '20 09:06 Createyouraccount-alt

I was wrong. Correctly updating ESP32 firmware solved the problem.

Createyouraccount-alt avatar Jul 10 '20 17:07 Createyouraccount-alt

It gives me the same error, with the same program, as the update did, since I have a t-Watch k210 which has similar characteristics to maixduino, but I do not know how to update the firmware of the esp32 without affecting the firmware of the k210 since they are independent right?

ismasmenos avatar Feb 23 '22 12:02 ismasmenos