Wify AP mode not Working After firmware update

  • Just did update my wipy 2.0 using the update script.
    After it finished i pulled the wire (now the LED lid up bright) and reset.
    It started and i verified firmware is 1.8 in serial terminal.
    default Wify was visible and i could connect .
    Unfortunetely neither Telnet nor FTP ist working and no device is shown in network discovery.
    I tried to setup a different ap manually w/o success.
    Now i setup connection to home wify and this worked, i could Telnet...

    All Cables removed, Power on - default AP Not working.
    Also no wify Information in serial during startup ( thought it was printed with 0.9 firmware).
    I checked wlan.ifconfig(id=0)
    Reports 4* !
    And for id=1 the expected ...strange.

    Is this a firmware issue or did i just killed the wify Transmitter somehow?

    Any other debugging possible?

    (Quick Checking Bluetooth Scan didnt find any devices either, will try again tomorrow.)

  • @bastler said in Wify AP mode not Working After firmware update:

    BTW, the pyupgrade script (toolversion=67634306)
    I got from debian apt-get
    Has a bug in lines 177..183:

    How did you get pyupgrade woth apt-get? You should load it from here: https://pycom.io/downloads/
    During update it should be clear which type of device will be loaded.
    Loading the wrong formware is not expected to work. In the serial terminal REPL prompt, you should be able to tell. Just enter:
    import uos
    or push Ctrl-B
    Edit: if anything else fails, try to start over by erasing the flash, using esptool.py
    Edit 2: Indeed, lines 177..183 look strange, but they are only used for manual device selection. This looks like a candidate for a bug report here: https://github.com/pycom/pycom-micropython-sigfox

  • @robert-hh
    Thanks for help.
    Can the antenna switched for already configured wify?

    I tried this:
    wlan.init(mode=WLAN.AP, ssid='sensor1', auth=(WLAN.WPA2, 'password'),channel=6,antenna=WLAN.INT_ANT)

    Not working, also with ext antenna and other channels and id=1 set up.

    Shows 1.8.0.b1 version=1.8.6-760-g90b72952.
    Is there a newer version?

    But wait - isn't there something different with wify in Germany/europe with the channels which requires different firmware?

    Maybe I got US configuration?

    BTW, the pyupgrade script (toolversion=67634306)
    I got from debian apt-get
    Has a bug in lines 177..183:
    Case $device uses recent_lopy if device is wipy and recent_wipy if device is lopy !!!

    Though that didn't change behavoir after reflashing today, unless this was a fault only to be made once...

  • @bastler Maybe by bad luck it's switched to external antenna. Try to enable the internal antenna, even is it is the default.

Log in to reply

Pycom on Twitter