L01 instability



  • I encountered some instability of L01 while powered by my custom board. Errors are thrown when WiFi client connects to the WiFi AP of L01. Then I found out that it only happens with release 1.7.6.b1 and later. I soldered another L01 to the OEM baseboard and flashed it with 1.9.2.b1. This is the output:

    ets Jun  8 2016 00:22:57
    
    rst:0x1 (POWERON_RESET),boot:0x12 (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:0x3fff9010,len:12
    ho 0 tail 12 room 4
    load:0x3fff9020,len:388
    load:0x40078000,len:11584
    load:0x4009fb00,len:848
    entry 0x4009fc9c
    MicroPython v1.8.6-796-g489fafa0 on 2017-10-15; LoPy with ESP32
    Type "help()" for more information.
    >>> os.uname()
    (sysname='LoPy', nodename='LoPy', release='1.9.2.b2', version='v1.8.6-796-g489fafa0 on 2017-10-15', machine='LoPy with ESP32', lorawan='1.0.0')
    >>> import network
    >>> wlan = network.WLAN()
    >>> wlan.init(mode=network.WLAN.AP, ssid='test', auth=(network.WLAN.WPA2,'testtest'), channel=10, antenna=network.WLAN.INT_ANT)
    >>> server = network.Server()
    >>> Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
    Register dump:
    PC      : 0x4014597f  PS      : 0x00060a30  A0      : 0x8014e2f7  A1      : 0x3ffb6c20
    A2      : 0x3ffdb4c4  A3      : 0x000000a7  A4      : 0x00000001  A5      : 0x00000000
    A6      : 0x3ffb6040  A7      : 0x00000001  A8      : 0x00000001  A9      : 0x000000a7
    A10     : 0x3ffb6c20  A11     : 0x00000002  A12     : 0x00000001  A13     : 0x3ffde21e
    A14     : 0x0000000e  A15     : 0x0000009d  SAR     : 0x00000019  EXCCAUSE: 0x0000001c
    EXCVADDR: 0x000000d9  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff
    
    Backtrace: 0x4014597f:0x3ffb6c20 0x4014e2f4:0x3ffb6c40 0x4014e300:0x3ffb6c60 0x40143335:0x3ffb6c80
    
    Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
    Register dump:
    PC      : 0x40089d09  PS      : 0x00060033  A0      : 0x80088b46  A1      : 0x3ffb6860
    A2      : 0x3ffb68b0  A3      : 0x3ffb6880  A4      : 0x00000000  A5      : 0x3ffc482c
    A6      : 0x00000000  A7      : 0x3ffc4848  A8      : 0x00000012  A9      : 0x3ffb6830
    A10     : 0x3ffb68f8  A11     : 0x3ffb6880  A12     : 0x3ffb76c0  A13     : 0x3ffb6c40
    A14     : 0x3ffdb4c4  A15     : 0x3ffdbc74  SAR     : 0x00000012  EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000
    
    Backtrace: 0x40089d09:0x3ffb6860 0x40088b43:0x3ffb6880 0x4008ae65:0x3ffb68b0 0x4008b1da:0x3ffb6a80 0x4008aae5:0x3ffb6ac0 0x4008ac60:0x3ffb6b40 0x40081672:0x3ffb6b60 0x4014597c:0x3ffb6c20 0x4014597c:0x3ffb6c40 0x4014e300:0x3ffb6c60 0x40143335:0x3ffb6c80
    
    Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
    Register dump:
    PC      : 0x40089d09  PS      : 0x00060033  A0      : 0x80088b46  A1      : 0x3ffb64a0
    A2      : 0x3ffb64f0  A3      : 0x3ffb64c0  A4      : 0x00000000  A5      : 0x3ffc482c
    A6      : 0x00000000  A7      : 0x3ffc4848  A8      : 0x00000012  A9      : 0x3ffb6470
    A10     : 0x3ffb6538  A11     : 0x3ffb64c0  A12     : 0x3ffb76c0  A13     : 0x3ffb6880
    A14     : 0x3ffb68b0  A15     : 0x00000020  SAR     : 0x00000017  EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000
    
    Backtrace: 0x40089d09:0x3ffb64a0 0x40088b43:0x3ffb64c0 0x4008ae65:0x3ffb64f0 0x4008b1da:0x3ffb66c0 0x4008aae5:0x3ffb6700 0x4008ac60:0x3ffb6780 0x40081672:0x3ffb67a0 0x40089d06:0x3ffb6860 0x40089d06:0x3ffb6880 0x4008ae65:0x3ffb68b0 0x4008b1da:0x3ffb6a80 0x4008aae5:0x3ffb6ac0 0x4008ac60:0x3ffb6b40 0x40081672:0x3ffb6b60 0x4014597c:0x3ffb6c20 0x4014597c:0x3ffb6c40 0x4014e300:0x3ffb6c60 0x40143335:0x3ffb6c80
    

    Many more errors follow....

    Sometimes it happens immediately after establishing WiFi connection, in another cases after some time or when some communication is performed (e.g. FTP connection).

    GitHub issue here:
    https://github.com/pycom/pycom-micropython-sigfox/issues/88



  • @daniel
    I did try to erase the flash using esptool and then flashed 1.9.2.b2 with updater.py.
    Unfortunatelly L01 soldered on OEM baseboard is unstable in case WiFi client connects to it.

    ets Jun  8 2016 00:22:57
    
    rst:0x1 (POWERON_RESET),boot:0x12 (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:0x3fff9010,len:12
    ho 0 tail 12 room 4
    load:0x3fff9020,len:388
    load:0x40078000,len:11584
    load:0x4009fb00,len:848
    entry 0x4009fc9c
    MicroPython v1.8.6-796-g489fafa0 on 2017-10-15; LoPy with ESP32
    Type "help()" for more information.
    >>> os.uname()
    (sysname='LoPy', nodename='LoPy', release='1.9.2.b2', version='v1.8.6-796-g489fafa0 on 2017-10-15', machine='LoPy with ESP32', lorawan='1.0.0')
    >>> import time
    >>> while True:
    ...     print(time.time())
    ...     time.sleep(1)
    ...
    ...
    ...
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    Guru Meditation Error of type IllegalInstruction occurred on core  0. Exception was unhandled.
    Register dump:
    PC      : 0x40151ff4  PS      : 0x00060630  A0      : 0x80152198  A1      : 0x3ffb6e10
    A2      : 0x3ffb6e60  A3      : 0x00000002  A4      : 0x0000000a  A5      : 0x0000000a
    A6      : 0x00000000  A7      : 0x0000000a  A8      : 0x00000000  A9      : 0x00000008
    A10     : 0x3ffb6340  A11     : 0x00000000  A12     : 0x00000000  A13     : 0x3ffb6eb4
    A14     : 0x0000000a  A15     : 0x00000000  SAR     : 0x00000019  EXCCAUSE: 0x00000000
    EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff
    
    Backtrace: 0x40151ff4:0x3ffb6e10 0x40152195:0x3ffb6e40 0x401523e7:0x3ffb6e60 0x40152b2c:0x3ffb6e90 0x40143335:0x3ffb6eb0
    
    Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
    Register dump:
    PC      : 0x40089d09  PS      : 0x00060033  A0      : 0x80088b46  A1      : 0x3ffb6a50
    A2      : 0x3ffb6aa0  A3      : 0x3ffb6a70  A4      : 0x00000000  A5      : 0x3ffc482c
    A6      : 0x00000000  A7      : 0x3ffc4848  A8      : 0x00000012  A9      : 0x3ffb6a20
    A10     : 0x3ffb6ae8  A11     : 0x3ffb6a70  A12     : 0x3ffc4bb8  A13     : 0x3ffb6e40
    A14     : 0x3ffdbca8  A15     : 0x3ffb6e60  SAR     : 0x00000014  EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000
    
    Backtrace: 0x40089d09:0x3ffb6a50 0x40088b43:0x3ffb6a70 0x4008ae65:0x3ffb6aa0 0x4008b1da:0x3ffb6c70 0x4008aae5:0x3ffb6cb0 0x4008ac60:0x3ffb6d30 0x40081672:0x3ffb6d50 0x40151ff1:0x3ffb6e10 0x40151ff1:0x3ffb6e40 0x401523e7:0x3ffb6e60 0x40152b2c:0x3ffb6e90 0x40143335:0x3ffb6eb0
    
    Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
    Register dump:
    PC      : 0x40089d09  PS      : 0x00060033  A0      : 0x80088b46  A1      : 0x3ffb6690
    A2      : 0x3ffb66e0  A3      : 0x3ffb66b0  A4      : 0x00000000  A5      : 0x3ffc482c
    A6      : 0x00000000  A7      : 0x3ffc4848  A8      : 0x00000012  A9      : 0x3ffb6660
    A10     : 0x3ffb6728  A11     : 0x3ffb66b0  A12     : 0x3ffc4bb8  A13     : 0x3ffb6a70
    A14     : 0x3ffb6aa0  A15     : 0x00000020  SAR     : 0x00000019  EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000
    
    Backtrace: 0x40089d09:0x3ffb6690 0x40088b43:0x3ffb66b0 0x4008ae65:0x3ffb66e0 0x4008b1da:0x3ffb68b0 0x4008aae5:0x3ffb68f0 0x4008ac60:0x3ffb6970 0x40081672:0x3ffb6990 0x40089d06:0x3ffb6a50 0x40089d06:0x3ffb6a70 0x4008ae65:0x3ffb6aa0 0x4008b1da:0x3ffb6c70 0x4008aae5:0x3ffb6cb0 0x4008ac60:0x3ffb6d30 0x40081672:0x3ffb6d50 0x40151ff1:0x3ffb6e10 0x40151ff1:0x3ffb6e40 0x401523e7:0x3ffb6e60 0x40152b2c:0x3ffb6e90 0x40143335:0x3ffb6eb0
    


  • @daniel
    Thanks Daniel, looking forward for the fix.



  • @danielm this bug is caused by an issue with the spi flash QIO mode. It will be solved in the next release planned for next week. A workaround for this is to erase the flash memory of the L01 using esptool, and then flashing the firmware again.

    I'll announce the new release once it's ready.


Log in to reply
 

Pycom on Twitter