Deepsleep bug fipy



  • code

    import time
    import machine
    from machine import Pin
    from onewire import DS18X20
    from onewire import OneWire
    from machine import UART
    from machine import ADC
    import math
    from network import Sigfox
     import socket
    import pycom
    import network
    import os
    import utime
    import gc
    from machine import RTC
    from network import Sigfox
    import socket
    from crypto import AES
    import crypto
    import ubinascii
    #from machine import SD
    #from machine import WDT
    #wdt = WDT(timeout=300*1000)  # enable it with a timeout of 2 seconds   5 
    minutos=300*1000
    
    #Pines: [P10(Tx)= RX(GPS), P11(Rx)=TX(GPS)] [P8=Temperatura, P9->Relevadores, P20(TX)->RX(EC), P21(RX)->TX(EC) (EC,S,TDS)]
    #[P16->pH  P17-> Turbiedad]
    
    pycom.heartbeat(False)
    #machine.reset()
    p_out = Pin('P9', mode=Pin.OUT)
    p_out.hold (False)
    p_out.value(1)
    p_out.hold (True)
    
    pH = ''
    ntu = ''
    Condicion = True
    C=0
    T = ''
    #-------------Modulo GPS Neo6-----------------
    
    uart = UART(1,9600,pins=('P10','P11'), timeout_chars=1000) #P10(TX)->RX
        # P11(RX)->TX #4800
    
    contadorlimiteGPS=0
    Hora=""
    Fecha=""
    lat=""
    lon=""
    contadorgps=0
    contadorinicio=0
    while contadorlimiteGPS<=100:  #150
        print(contadorlimiteGPS)
        if contadorinicio==0:
            print("..................Iniciando codigo..................")
        valor1=""
        identificador=""
        #y = str(uart.readline())
        y = str(b'$GPRMC,103500.00,V,,,,,,,081220,,,N*76/r/n')
        print(y)
        #print(len(y))
        for x in y:
            time.sleep(0.1)
            #print("hola")
            valor1=valor1+x
            if x=="r":
                identificador=valor1[0:9]
                #print(identificador)
                #print(valor1)
                if identificador=="b'$GPRMC,":
                    Lvalor1=len(valor1)
                    print("Protocolo NMEA: " + valor1)
                    print(len(valor1))
                    time.sleep(0.1)
                    if Lvalor1==36:
                        Hora=""
                        Hora=valor1[9:18]
    
                    if Lvalor1==42:
                        Hora=""
                        Fecha=""
                        Hora=valor1[9:18]
                        Fecha=valor1[27:33]
    
    
                    if Lvalor1==70:
                        Hora=""
                        Fecha=""
                        lat=""
                        lon=""
    
                        Hora=valor1[9:18]
                        lat=valor1[21:31] + valor1[32]
                        lon=valor1[34:45] + valor1[46]
                        Fecha=valor1[55:61]
    
                    if Lvalor1==76:
                        Hora=""
                        Fecha=""
                        lat=""
                        lon=""
                        Hora=valor1[9:18]
                        lat=valor1[21:31] + valor1[32]
                        lon=valor1[34:45] + valor1[46]
                        Fecha=valor1[61:67]
    
        HoraCoordenadas=Hora[0:2]
        #print(HoraCoordenadas)
        if Hora!="" and Fecha!="": #and lat!="" and lon!="":
            if contadorgps==0:
                #print(Hora)
                #print(Fecha)
                #print(lat)
                #print(lon)
                print(valor1)
                print("Fecha y hora encontradas")
                contadorgps+=1
    
            if (HoraCoordenadas>="03" and HoraCoordenadas<"05") or (HoraCoordenadas>="11" 
    and HoraCoordenadas<"13") or (HoraCoordenadas>="19" and HoraCoordenadas<"21"):
                if lon!=("") and lat!=(""):
                    print(valor1)
                    print("COORDENADAS ENCONTRADAS...")
                    #print(lat)
                    #print(lon)
    
                    break
            else:
                break
    
    
            contadorlimiteGPS+=1
        contadorinicio+=1
    
    if lon=="" and lat=="":
        lat='NoLAT'
        lon='NoLON'
    
    
    print('Hora: '+ Hora)
    print('Fecha: '+ Fecha)
    
    
    F0=Fecha[0:2]
    F1=Fecha[2:4]
    F2=str(Fecha[4:])
    
    
    AñoBisiesto=""
    Añoint=int(F2)
    Año= 2000+Añoint
    Paso1=Año/4
    Paso2=Año/100
    Paso3=Año/400
    Paso1int=float(int(Paso1))
    Paso2int=float(int(Paso2))
    Paso3int=float(int(Paso3))
    if (Paso1-Paso1int)==0:
        if (Paso2-Paso2int)>0:
            AñoBisiesto="SI"
            #print("Es año bisiesto")
        if (Paso2-Paso2int)==0:
            if (Paso3-Paso3int)==0:
                AñoBisiesto="SI"
                #print("Es año bisiesto")
            if (Paso3-Paso3int)>0:
                AñoBisiesto="NO"
                #print("No es año bisiesto")
    if (Paso1-Paso1int)>0:
        #print("No es año bisiesto")
        AñoBisiesto="NO"
    
    H0=int(Hora[0:2])
    
    H0=H0-5
    if H0<0:
        H0=H0+24
        F0=int(F0)
        F0=F0-1
        if F0<0:
            if F1=="02":
                Enero=31
                F0=Enero
    
            if F1=="03":
                if AñoBisiesto=="SI":
                    Febrero=29
                if AñoBisiesto=="NO":
                    Febrero=28
                F0=Febrero
    
            if F1=="04":
                Marzo=31
                F0=Marzo
    
            if F1=="05":
                Abril=30
                F0=Abril
    
            if F1=="06":
                Mayo=31
                F0=Mayo
    
            if F1=="07":
                Junio=30
                F0=Junio
    
            if F1=="08":
                Julio=31
                F0=Julio
    
            if F1=="09":
                Agosto=31
                F0=Agosto
    
            if F1=="10":
                Septiembre=30
                F0=Septiembre
    
            if F1=="11":
                Octubre=31
                F0=Octubre
    
            if F1=="12":
                Noviembre=30
                F0=Noviembre
    
            if F1=="01":
                Diciembre=31
                F0=Diciembre
    
    
    
            F1=int(F1)
            F1=F1-1
            F1=str(F1)
            if F1<=0:
                Print("regresa 1 año")
                F1=12
                F2=int(F2)
                F2=F2-1
                F2=str(F2)
    
        F0=str(F0)
    H0=str(H0)
    L=len(H0)
    if L<2:
        z="0"
        z=z+H0
        H0=z
    H1=Hora[2:4]
    
    L=len(H1)
    if L<2:
        z="0"
        z=z+H1
        H1=z
    h2=""
    H2=Hora[4:6]
    
    H2=H2[0:2]
    for i in H2:
        if i.isdigit():
            h2=h2+i
    H2=h2
    if L<2:
        z="0"
        z=z+H2
        H2=z
    
    
    
    H=H0+H1+H2
    F=F0+F1+F2
    FechayHora=F+H
    #print(FechayHora)
    
    Año=int(F2)+2000
    mes=int(F1)
    dia=int(F0)
    horas=int(H0)
    minutos=int(H1)
    segundos=int(H2)
    
    rtc=RTC()
    rtc.init((Año,mes,dia,horas,minutos,segundos,0,0))
    #print(rtc.now())
    utime.gmtime()
    
    
    H0=(utime.gmtime()[3])
    H1=(utime.gmtime()[4])
    H2=(utime.gmtime()[5])
    horareal=0
    horareal= (H0*3600) + H1*60 + H2
    if H0>=0 and H0<2:
        horasiguiente=7440
    if H0>=2 and H0<4:
        horasiguiente=14640
    if H0>=4 and H0<6:
        horasiguiente=21840
    if H0>=6 and H0<8:
    horasiguiente=29040
    if H0>=8 and H0<10:
        horasiguiente=36240
    if H0>=10 and H0<12:
        horasiguiente=43440
    if H0>=12 and H0<14:
        horasiguiente=50640
    if H0>=14 and H0<16:
        horasiguiente=57840
    if H0>=16 and H0<18:
    horasiguiente=65040
    if H0>=18 and H0<20:
        horasiguiente=72240
    if H0>=20 and H0<22:
        horasiguiente=79440
    if H0>=22 and H0<24:
        horasiguiente=86640
    
    horasiguienteReal=0
    horasiguienteReal=horasiguiente-horareal
    horasiguienteReal=int(horasiguienteReal)
    Minutosparadespertar=horasiguienteReal/60
    
    
    print(str(horasiguienteReal))
    print("Despierta en: " + str(Minutosparadespertar) + " minutos")
    time.sleep(1)
    horasiguienteReal=horasiguienteReal*1000
    print(str(horasiguienteReal))
    print(utime.gmtime())
    machine.deepsleep(horasiguienteReal)  # 7,200,000 = 2 horas  #25000 25 Segundos    1:55 
    horas =6900*1000
    

    Result

    ..................Iniciando codigo..................
    b'$GPRMC,103500.00,V,,,,,,,081220,,,N76/r/n'
    Protocolo NMEA: b'$GPRMC,103500.00,V,,,,,,,081220,,,N
    76/r
    42
    b'$GPRMC,103500.00,V,,,,,,,081220,,,N*76/r/n'
    Fecha y hora encontradas
    Hora: 103500.00
    Fecha: 081220
    1740
    Despierta en: 29.0 minutos
    1740000
    (2020, 12, 8, 5, 35, 1, 1, 343)
    Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
    Core 1 register dump:
    PC : 0x400ffaee PS : 0x00060730 A0 : 0x800e84c7 A1 : 0x3ffda8c0
    A2 : 0x00000000 A3 : 0x00000001 A4 : 0x00000000 A5 : 0x00000009
    A6 : 0x00008000 A7 : 0x8000ffff A8 : 0x3f40fc90 A9 : 0x3ffbb530
    A10 : 0x00000000 A11 : 0x00000000 A12 : 0x800959af A13 : 0x3ffbf500
    A14 : 0x00000003 A15 : 0x00060023 SAR : 0x0000001e EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000000 LBEG : 0x400ed5b4 LEND : 0x400ed5f7 LCOUNT : 0x00000000

    ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000

    Backtrace: 0x400ffaee:0x3ffda8c0 0x400e84c4:0x3ffda8e0 0x400e5bb4:0x3ffda900 0x4010217e:0x3ffda930 0x400fe529:0x3ffda960 0x400fe5b9:0x3ffda980 0x4010a573:0x3ffda9a0 0x40102218:0x3ffdaa40 0x400fe529:0x3ffdaac0 0x400fe556:0x3ffdaae0 0x400e1675:0x3ffdab00 0x400e1919:0x3ffdaba0 0x400e01a0:0x3ffdabc0

    ================= CORE DUMP START =================
    0D8AAAEAAAATAAAAbAEAAA==



  • @peterp

    I just updated another FiPy 1.2 to
    Pycom MicroPython 1.20.2.r3 [v1.11-044dfea] on 2020-12-23; FiPy with ESP32
    I also ticked the boxes format and clear config + NVRAM.

    flash_clear.jpg

    So the device is now clear. Some more background:

    >>> import pycom
    >>> print(pycom.heartbeat_on_boot())
    False
    >>> print(pycom.lte_modem_en_on_boot())
    False
    >>> print(pycom.pybytes_on_boot())
    False
    >>> print(pycom.smart_config_on_boot())
    False
    >>> print(pycom.wdt_on_boot())
    False
    >>> print(pycom.wifi_on_boot())
    False
    >>> 
    

    When booting, I measure a current of about 60mA. See my setup:
    mysetup.jpg

    When going to deepsleep, this drops down to 30mA. I think this is way too high. With a LoPy4 or WiPy this drops to about 0.00A which means I cannot measure it with this setup (= okay).

    With a GPy with the setup above after fw-update + clear deepsleep() gives me about 0.00-0.01A



  • @peterp said in Deepsleep bug fipy:

    Ok, it seems a couple different issues are making the rounds here. Let me try to pull it apart:

    Hi Peter, thank you.

    Yes, there seems to be an issue where sometimes on boot up, the LTE modem gets powered up resulting in higher power consumption during active time and during deepsleep. This is a problem and indeed the best know workaround seems to be to deliberately initialise and then deinit LTE.

    I think we want to investigate why the LTE modem gets powered up, even when the configuration was programmed with power_on(False)

    That's certainly not the idea behind the fix https://github.com/pycom/Firmware-Development/commit/358085bda144a97d48a9dd6deccb2fe6eb3a91b7

    Okay, agree saw this commit and this change is doing something else; good to know. PS Your link is incorrect, should be: https://github.com/pycom/pycom-micropython-sigfox/commit/358085bda144a97d48a9dd6deccb2fe6eb3a91b7 ?

    Also, I am not able to reproduce this. Are any of the other "on_boot" flags "stuck" in a similar way?

    print(pycom.heartbeat_on_boot())
            print(pycom.lte_modem_en_on_boot())
            print(pycom.pybytes_on_boot())
            print(pycom.smart_config_on_boot())
            print(pycom.wdt_on_boot())
            print(pycom.wifi_on_boot())
    

    Edit: Can you still reproduce the problem when you erase nvram with the installer?

    I cleared the nvram using pycom.nvs_erase_all(); should that result into the same functional behaviour as the installer/fw updater clear nvram tickbox?

    Also, the current consumption stays way too high after each subsequent deepsleep, 0.15A. Updated this issue on GitHub: https://github.com/pycom/pycom-micropython-sigfox/issues/412
    That issue is about a Lopy-4, which doesn't have a LTE modem. So, I am very sure #412 is not the same issue as the one about LTE mentioned above. Which module are you using?

    True; I have been using both a LoPy4 and WiPy (version 1.0 and ~1.1~ edit: 1.2). With the LoPy4 I am not seeing this deepsleep current/usage problem, but with the WiPy I do. There was no other issue active so I posted it here. I could make a new one?

    I'll try to experiment with clearing and the new firmware yet again on both WiPy boards.



  • Ok, it seems a couple different issues are making the rounds here. Let me try to pull it apart:

    @Avathar said in Deepsleep bug fipy:

    When disabling LTE, the system properly goes to sleep and uses 13mA, but after waking up it seems the lte modem is enabled again, even with lte_modem_on_boot = false, so the first thing i could do is disabling the LTE modem, but as stated below this takes several seconds and is a waste of time and power.
    So it would be a good idea to leave the lte modem disabled, even when coming out of deep sleep.

    Yes, there seems to be an issue where sometimes on boot up, the LTE modem gets powered up resulting in higher power consumption during active time and during deepsleep. This is a problem and indeed the best know workaround seems to be to deliberately initialise and then deinit LTE.

    @Jaap-Crezee said in Deepsleep bug fipy:

    @Gijs I just tested firmware https://github.com/pycom/pycom-micropython-sigfox/releases/tag/v1.20.2.r3
    This seems to fix the problem with the deep sleep crash, but it seems fixed in a VERY BAD way. Now every time the module boots, I see this (regardless of me turning it to False again):

    >>> pycom.lte_modem_en_on_boot()
    True
    

    That's certainly not the idea behind the fix https://github.com/pycom/Firmware-Development/commit/358085bda144a97d48a9dd6deccb2fe6eb3a91b7

    Also, I am not able to reproduce this. Are any of the other "on_boot" flags "stuck" in a similar way?

    print(pycom.heartbeat_on_boot())
            print(pycom.lte_modem_en_on_boot())
            print(pycom.pybytes_on_boot())
            print(pycom.smart_config_on_boot())
            print(pycom.wdt_on_boot())
            print(pycom.wifi_on_boot())
    

    Edit: Can you still reproduce the problem when you erase nvram with the installer?

    Also, the current consumption stays way too high after each subsequent deepsleep, 0.15A. Updated this issue on GitHub: https://github.com/pycom/pycom-micropython-sigfox/issues/412

    That issue is about a Lopy-4, which doesn't have a LTE modem. So, I am very sure #412 is not the same issue as the one about LTE mentioned above. Which module are you using?

    @tuftec said in Deepsleep bug fipy:

    When my code is running off batter, it seems to work fine, but when being charged, via solar, the sequans modem appears to loose its way. Yet the power rails look clean in both instances.

    Can you add more details? What does "loose its way" mean? How do you determine that the power rail looks clean? In some power measurements with an Otii Arc I've seen very short, high peaks in current draw. From memory, I think it was something like 200mA at 3.75V, no battery attached. How much does your solar panel supply?



  • Thanks for informing me, I'll highlight it again with the FW team (I think our peter is already aware of this)



  • I am still having issues with the lte modem with 1.20.2.r3. However, I believe my problems are related to some sort of power related issue. When my code is running off batter, it seems to work fine, but when being charged, via solar, the sequans modem appears to loose its way. Yet the power rails look clean in both instances.

    Having a high cureent draw when the modem is supposed to be powered down is a bit of an issue in extremely low power applications. This needs to be investigated further and fixed.

    Peter.



  • @Gijs I just tested firmware https://github.com/pycom/pycom-micropython-sigfox/releases/tag/v1.20.2.r3
    This seems to fix the problem with the deep sleep crash, but it seems fixed in a VERY BAD way. Now every time the module boots, I see this (regardless of me turning it to False again):

    >>> pycom.lte_modem_en_on_boot()
    True
    

    Also, the current consumption stays way too high after each subsequent deepsleep, 0.15A. Updated this issue on GitHub: https://github.com/pycom/pycom-micropython-sigfox/issues/412
    Sometimes even the initial deepsleep (after POR) will trigger 0.15A now!



  • Hmmm.
    There seems to be a few little issues with the later versions of Pycom firmware.
    I have found also that the Little FS gives problems also under some circumstances.



  • Hi!

    I ran into the same or a similar bug yesterday, using firmware 1.20.1.r1 (since newer firmware has the rtc time problem stated in another thread).

    I have a board with various sensors and an adafruit feather m0, which manages the sensor readings.
    For communication i have a rather new FiPy, which is also connected to a DS3231 RTC and a Quectel L86 GPS.

    The FiPy normally wakes up every hour or, in case of emergency, is woken up by the feather module via Pin P16.

    I've also tested this with a pysense board, so the next readings apply to a FiPy with pysense board attached.

    The first time after a reset, the FiPy runs and the power consumption is about 130-180mA. Afterwards it goes to deepsleep via machine.deepsleep() and the power consumption drops to about 13mA at 5V. However, after the FiPy is woken up, either by the internal rtc or by the wakeup pin, the system uses a lot more power (about 100-150 mA more, totally 280mA) and after going back to deep sleep, the power consumption stays also higher at about 150mA.

    When disabling LTE, the system properly goes to sleep and uses 13mA, but after waking up it seems the lte modem is enabled again, even with lte_modem_on_boot = false, so the first thing i could do is disabling the LTE modem, but as stated below this takes several seconds and is a waste of time and power.

    So it would be a good idea to leave the lte modem disabled, even when coming out of deep sleep.



  • @robert-hh I opened that forum link before I sent my reply. So the forum entry is still there. The embedded link to a form migth be gone. But you can always write to support@pycom.io for you request.



  • I will answer my own question :):

    This workaround prevents the panic from happening as well (even with lte_en_on_boot(False)):

    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8020,len:8
    load:0x3fff8028,len:2128
    load:0x4009fa00,len:19760
    entry 0x400a05bc
    Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    Type "help()" for more information.
    >>> from network import LTE
    >>> lte = LTE()
    >>> lte.deinit()
    >>> import machine
    >>> machine.deepsleep(5000)
    ets Jun  8 2016 00:22:57
    
    rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8020,len:8
    load:0x3fff8028,len:2128
    load:0x4009fa00,len:19760
    entry 0x400a05bc
    Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    Type "help()" for more information.
    >>> from network import LTE
    >>> lte = LTE()
    >>> lte.deinit()
    >>> import machine
    >>> machine.deepsleep(5000)
    ets Jun  8 2016 00:22:57
    
    rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8020,len:8
    load:0x3fff8028,len:2128
    load:0x4009fa00,len:19760
    entry 0x400a05bc
    Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    Type "help()" for more information.
    >>> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    >configsip: 0, SPIWP:0xee
    >clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    >mode:DIO, clock div:1
    >load:0x3fff8020,len:8
    >load:0x3fff8028,len:2128
    >load:0x4009fa00,len:19760
    >entry 0x400a05bc
    >Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    >Type "help()" for more information.
    >>>> import pycom
    >>>> pycom.lte_modem_en_on_boot()
    >False
    >>>> from network import LTE
    >>>> lte = LTE()
    >>>> lte.deinit()
    >>>> import machine
    >>>> machine.deepsleep(5000)
    >ets Jun  8 2016 00:22:57
    >
    >rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    >configsip: 0, SPIWP:0xee
    >clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    >mode:DIO, clock div:1
    >load:0x3fff8020,len:8
    >load:0x3fff8028,len:2128
    >load:0x4009fa00,len:19760
    >entry 0x400a05bc
    >Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    >Type "help()" for more information.
    >>>> 
    >
    

    But ... there is a stupid catch:

    lte = LTE()    # takes almost 5 seconds
    
    lte.deinit()    # takes almost 5 seconds
    

    Which means the device is wasting 10 seconds of valuable battery life.

    Can this issue be fixed properly ASAP? These kind of bugs (including the network stability on the POE ethernet module on the Pygate) make me believe the Pycom products are only for hobby projects....



  • @robert-hh Hi and thank you; that link doesn't work anymore. So I still figured I could put this module to good use as lora sensor module.
    @Gijs As I feared, deepsleep does not work for a consecutive time.
    The first time the current drawn from the battery reaches 0.01A on 5V (which is acceptable for now); on the second deepsleep it remains 0.19A which is way, way too high.
    What is causing this and how to work around it?



  • @Jaap-Crezee said in Deepsleep bug fipy:

    However, I am hugely unsatisfied with this; this is actually a (very) old FiPy that does not support the T-Mobile NB-Iot channel of today.

    Pycom had a program to replace old Fipy boards, which do not support extended bands. Maybe this program is still active. See this post: https://forum.pycom.io/topic/3843/important-news-regarding-cat-m1-and-nb-iot-cellular-range



  • @Gijs said in Deepsleep bug fipy:

    Hi,
    We are aware of the issue. A temporary fix would be to use the following after booting, which will resolve the deepsleep issue
    pycom.lte_modem_on_boot(True) #temporary fix for 1.20.2.r2 and fipy/gpy
    Gijs

    This fixes my issue (see below without).
    However, I am hugely unsatisfied with this; this is actually a (very) old FiPy that does not support the T-Mobile NB-Iot channel of today. So I decided to put it to good Lora use; now I have to enable the LTE modem? How about powerusage? This module should be able to run on a battery for a year....

    import machine
    >>> machine.reset()
    ets Jun  8 2016 00:22:57
    
    rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8020,len:8
    load:0x3fff8028,len:2128
    load:0x4009fa00,len:19760
    entry 0x400a05bc
    Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    Type "help()" for more information.
    >>> import machine
    >>> machine.deepsleep(5000)
    /home/peter/docs/pycom-esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed!
    abort() was called at PC 0x400959e0 on core 1
    
    ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
    
    Backtrace: 0x400907db:0x3ffda770 0x4009095d:0x3ffda790 0x400959e0:0x3ffda7b0 0x40113f5a:0x3ffda7f0 0x400e5bb7:0x3ffda810 0x4010217e:0x3ffda840 0x400fe529:0x3ffda870 0x400fe5b9:0x3ffda890 0x4010a573:0x3ffda8b0 0x40102218:0x3ffda950 0x400fe529:0x3ffda9c0 0x400fe556:0x3ffda9e0 0x400e1675:0x3ffdaa00 0x400e1900:0x3ffdaaa0 0x400e01b9:0x3ffdaae0
    
    ================= CORE DUMP START =================
    8DYAAAEAAAAQAAAAbAEAAA==
    7EX8P7Cm/T8Irf0/
    4KX9P6Cs/T+3FwAAAEP8PwBD/D/sRfw/+EL8Pw4AAADgdfs/4HX7P+xF/D8AAAAA
    CwAAAAx9/T9NaWNyb1B5AAAAAAAAAAAAAQAAAAit/T8AAAAAIwAGAAsAAAABAAAA
    AAAAABSU/D8AAAAAAAAAAAAAAADUZPs/PGX7P6Rl+z8AAAAAAAAAAAEAAAAAAAAA
    CIpAP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AAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4HH7P2hA/D8AAAAA
    AAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAADkdvU/AAAAAAAAAAAAAAAA
    AAAAABBy+z8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHL7PwAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAA=
    ================= CORE DUMP END =================
    Rebooting...
    ets Jun  8 2016 00:22:57
    
    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8020,len:8
    load:0x3fff8028,len:2128
    load:0x4009fa00,len:19760
    entry 0x400a05bc
    Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; FiPy with ESP32
    Type "help()" for more information.
    >>> 
    


  • Hi,
    We are aware of the issue. A temporary fix would be to use the following after booting, which will resolve the deepsleep issue
    pycom.lte_modem_on_boot(True) #temporary fix for 1.20.2.r2 and fipy/gpy

    Gijs


Log in to reply
 

Pycom on Twitter