Skip to main content
Suresh Vakati
Visitor II
August 31, 2017
Question

SPWF04S WiFi on x-Nucleo-IDW04A1

  • August 31, 2017
  • 1 reply
  • 627 views
Posted on August 31, 2017 at 18:27

MicroPython Scripting Language over SPWF04S document says, module has some built-in python example codes. 

When I am trying to execute those programs, I am getting errors in those programs.

EX:

at+s.python=RL_UDP_CL.py

AT-S.Launching script:3:RL_UDP_CL.py

AT-S.OK

START

run

Traceback (most recent call last):

File '3:RL_UDP_CL.py', line 82, in <module>

File '3:RL_UDP_CL.py', line 46, in run

OSError: 60

Its hard to read the script using AT commands, is there any other way to read files from USER FLASH memory? Any USB+MSC option?

I have activated the REPL using AT+s.python command, how can I import python script which is located in SD card. 

MicroPython v1.6.2-84-g7f202fb on 2016-07-13; SPWF04Sx with STM32F439

>>> import WLAN_Test.py

Traceback (most recent call last):

File '<stdin>', line 1, in <module>

ImportError: no module named 'WLAN_Test'

>>>

Document says, Run offline PC tool to create .img file from .py file and use AT+s.FSUPDATE command to update filesystem, can someone suggest which tool are you using? 

Current Micropython Version is 1.9.X, with so many improvements from 1.6, is there anyway that I can update Micropython? 

#spwf04sa #x-nucleo-idw04a1
    This topic has been closed for replies.

    1 reply

    NSing.4
    Visitor II
    September 19, 2018

    I am having  OSError: 60 ,I do not have access to logs of the http server, but I was trying to runs behind a proxy like nginx start getting this. https://www.printererrorrepair.com/epson-printer-support/