New firmware 0.9.6.b1 and Pymakr v1.0.0.b7 released + new complete docs
-
https://docs.pycom.io/pycom_esp32/pycom_esp32/underhood.html
addDAC (coming soon) -
@livius done, thanks :-)
-
Dear Pycom Team,
update successful to 0.9.6.b1 on my LoPy.
But crashes a few second after the end of the boot process....MicroPython v1.8.6-40-gd10463e on 2016-11-25; LoPy with ESP32
Type "help()" for more information.import os
os.uname()
(sysname='LoPy', nodename='LoPy', release='0.9.6.b1', version='v1.8.6-40-gd10463e on 2016-11-25', machine='LoPy with ESP32')Guru Meditation Error of type InstrFetchProhibited occurred on core 0. Exception was unhandled.
Register dump:
PC : 002c002c PS : 00060330 A0 : 801252ce A1 : 3ffdfac0
A2 : 00000001 A3 : 3ffd9274 A4 : 002c002c A5 : 00000008
A6 : 00000000 A7 : 3ffd3398 A8 : 8011ef50 A9 : 00000002
A10 : 3ffd9274 A11 : 00000001 A12 : 3ffd4f14 A13 : 00000000
A14 : 3ffdf3c4 A15 : 3ffd4cf8 SAR : 00000019 EXCCAUSE: 00000014
EXCVADDR: 002c002c LBEG : 00000000 LEND : 00000000 LCOUNT : 00000000
Rebooting...Can I help in sending other data ?
-
@PCA does it crash if you boot in safe mode? (https://docs.pycom.io/pycom_esp32/pycom_esp32/general.html?highlight=safe boot#boot-modes-and-safe-boot)
-
-
Hi Daniel,
I received new LoPy yesterday. Using Ubuntu 16.04 / ttyUSB0 I was able to complete the update to firmware version 0.9.6.b1.
uos.uname().release
'0.9.6.b1'Then when attempting to connect my LoPy to my WiFi router it receives 'Guru Meditation Error of type InstrFetchProhibited occurred on core 0.' Does a dump and reboots.
What is the cause of this?
I have tried multiple times with the same results.
I do not expect this to happen since I am following the guide exactly.
import machine
from network import WLAN
wlan = WLAN(mode=WLAN.STA)
nets = wlan.scan()
for net in nets:
... if net.ssid == 'DixeyLAN_WiFi':
... print('Network found!')
... wlan.connect(net.ssid, auth=(net.sec, 'cbcd062459'), timeout=50)
... while not wlan.isconnected():
... machine.idle()
... print('WLAN connection succeeded!')
... break
...
...
...
Network found!
I (734541) wifi: n:1 0, o:6 0, ap:255 255, sta:1 0, prof:6
I (735516) wifi: state: 0 -> 2 (b0)
I (735519) wifi: state: 2 -> 3 (0)
I (735523) wifi: state: 3 -> 5 (10)
I (735538) wifi: connected with DixeyLAN_WiFi, channel 1
Guru Meditation Error of type InstrFetchProhibited occurred on core 0. Exception was unhandled.
Register dump:
PC : 002c002c PS : 00060330 A0 : 801250de A1 : 3ffdfc80
A2 : 00000001 A3 : 3ffd9934 A4 : 002c002c A5 : 00000008
A6 : 00000000 A7 : 3ffd35e8 A8 : 8011ed60 A9 : 00000002
A10 : 3ffd9934 A11 : 00000001 A12 : 3ffd5164 A13 : 00000000
A14 : 3ffdf584 A15 : 3ffd4f48 SAR : 00000019 EXCCAUSE: 00000014
EXCVADDR: 002c002c LBEG : 4000c349 LEND : 4000c36b LCOUNT : ffffffff
Rebooting...
ets Jun 8 2016 00:22:57rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0x3fff9018,len:812
ho 0 tail 12 room 4
load:0x40078000,len:3692
load:0x4009f000,len:944
entry 0x4009f1f0
��XTAL 40Mct 20 2016 12:36:18
I (872) phy: phy_version: 246, Nov 18 2016, 17:30:07, 0, 0tcpip_task_hdlxxx : 3ffdfd50, prio:18,stack:2048
frc2_timer_task_hdl:3ffe98a8, prio:22, stack:2048
I (1612) wifi: pp_task_hdl : 3ffec100, prio:23, stack:8192
mode : softAP(24:0a:c4:00:0f:c3)
dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1)
MicroPython v1.8.6-40-gd10463e on 2016-11-25; LoPy with ESP32
Type "help()" for more information. -
Additional info:
I have a second new LoPy that i did not update and it connects to the WiFi network successfully using the code in the guide:uos.uname()
(sysname='ESP32', nodename='ESP32', release='0.9.0b', version='8785822 on 2016-10-06', machine='LoPy with ESP32')
import machine
from network import WLAN
wlan = WLAN(mode=WLAN.STA)
mode : sta(24:0a:c4:00:b9:54)
nets = wlan.scan()
for net in nets:
... if net.ssid == 'DixeyLAN_WiFi':
... print('Network found!')
... wlan.connect(net.ssid, auth=(net.sec, 'cbcd062459'), timeout=5000)
... while not wlan.isconnected():
... machine.idle()
... print('WLAN connection succeeded!')
... break
...
...
...
Network found!
n:1 0, o:6 0, ap:255 255, sta:1 0, prof:6
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0WLAN connection succeeded!
-
@rdixey
interesting - then bug was introduced in some recent firmware
i am also interesting because my WiPy2.0 also have the same problem like you
but my not restart (crash) only repeatedly print same and same infostate: ....P.S use ``` to include source code
-
I have the same issue as @rdixey : It crashed after w while (seconds) after a successful connection to my home wifi router.
Here is what i do:>>> from network import WLAN >>> wlan = WLAN(mode=WLAN.STA) mode : sta(24:0a:c4:00:c0:52) >>> wlan.connect('MY_SSID', auth=('WLAN.WPA2', '********************')) >>> I (24972) wifi: n:9 0, o:6 0, ap:255 255, sta:9 0, prof:6 I (25946) wifi: state: 0 -> 2 (b0) I (25949) wifi: state: 2 -> 3 (0) I (25953) wifi: state: 3 -> 5 (10) I (25970) wifi: connected with MY_SSID, channel 9... Wait 10 seconds
Guru Meditation Error of type InstrFetchProhibited occurred on core 0. Exception was unhandled. Register dump: PC : 002c002c PS : 00060330 A0 : 801252ce A1 : 3ffdfa30 A2 : 00000001 A3 : 3ffd9738 A4 : 002c002c A5 : 00000008 A6 : 00000000 A7 : 3ffd3398 A8 : 8011ef50 A9 : 00000002 A10 : 3ffd9738 A11 : 00000001 A12 : 3ffd4f14 A13 : 00000000 A14 : 3ffdf338 A15 : 3ffd4cf8 SAR : 00000019 EXCCAUSE: 00000014 EXCVADDR: 002c002c LBEG : 4000c2e0 LEND : 4000c2f6 LCOUNT : ffffffff Rebooting... ets Jun 8 2016 00:22:57 rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x00 clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:QIO, clock div:2 load:0x3fff9010,len:8 load:0x3fff9018,len:812 ho 0 tail 12 room 4 load:0x40078000,len:3692 load:0x4009f000,len:944 entry 0x4009f1f0 rtc v134 Oct 20 2016 12:36:18øXTAL 40M I (876) phy: phy_version: 246, Nov 18 2016, 17:30:07, 0, 0 tcpip_task_hdlxxx : 3ffdfb18, prio:18,stack:2048 frc2_timer_task_hdl:3ffe9680, prio:22, stack:2048 I (1636) wifi: pp_task_hdl : 3ffebed8, prio:23, stack:8192 mode : softAP(24:0a:c4:00:c0:53) dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1) MicroPython v1.8.6-40-gd10463e on 2016-11-25; LoPy with ESP32 Type "help()" for more information. >>>This a brand new Lopy, updated to the "new" 0.9.6.b1 firmware:
>>> os.uname() (sysname='LoPy', nodename='LoPy', release='0.9.6.b1', version='v1.8.6-40-gd10463e on 2016-11-25', machine='LoPy with ESP32')Any idea?
-
@JF002 there is a new firmware, 0.9.7.b1. Can you test it and post your issue in case it keeps happening?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login