ESP32 boards

Moderators: Voyager, BertB, grovkillen, Stuntteam, LisaM

Message
Author
BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP32 boards

#271 Post by BertB » 09 May 2018, 11:54

Hi,
With the latest release, after installation and restart, I get:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x3e (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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4464
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:11816
entry 0x4007a9fc
I (467) cpu_start: Pro cpu up.
I (467) cpu_start: Single core mode
I (468) heap_init: Initializing. RAM available for dynamic allocation:
I (471) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (477) heap_init: At 3FFC4E98 len 0001B168 (108 KiB): DRAM
I (483) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (490) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (496) heap_init: At 4008DE34 len 000121CC (72 KiB): IRAM
I (502) cpu_start: Pro cpu start user code
I (73) cpu_start: Starting scheduler on PRO CPU.
I (140) modsocket: Initializing
Traceback (most recent call last):
  File "ulog.py", line 110, in do_log
  File "syslog_sink.py", line 78, in log
  File "usyslog.py", line 60, in error
  File "usyslog.py", line 82, in log
OSError: 118
2000-01-01 00:00:02 [error] uPyEasy: Hal: esp32, ssid empty
Traceback (most recent call last):
  File "ulog.py", line 110, in do_log
  File "syslog_sink.py", line 76, in log
  File "usyslog.py", line 72, in warning
  File "usyslog.py", line 82, in log
OSError: 118
2000-01-01 00:00:02 [warning] uPyEasy: Hal: init esp32 network: AP mode
I (2890) wifi: wifi firmware version: ebd3e5d
I (2890) wifi: config NVS flash: enabled
I (2890) wifi: config nano formating: disabled
I (2900) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (2910) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (2920) wifi: Init dynamic tx buffer num: 32
I (2920) wifi: Init data frame dynamic rx buffer num: 64
I (2930) wifi: Init management frame dynamic rx buffer num: 64
I (2930) wifi: wifi driver task: 3ffd0f0c, prio:23, stack:4096
I (2940) wifi: Init static rx buffer num: 10
I (2940) wifi: Init dynamic rx buffer num: 0
I (2940) wifi: wifi power manager task: 0x3ffd5b5c prio: 21 stack: 2560
I (3000) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06, 0, 0
I (3000) wifi: mode : null
I (3010) wifi: mode : softAP (30:ae:a4:22:e8:1d)
I (3010) network: event 13
I (3120) network: event 14
I (3120) network: event 13
2000-01-01 00:00:04 [info] uPyEasy-uPyEasy: Main: uPyEasy running in Access Point mode
2000-01-01 00:00:04 [info] uPyEasy-uPyEasy: Main: uPyEasy Main Async Loop on IP adress: 0.0.0.0:80
After that, no communication possible.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP32 boards

#272 Post by BertB » 09 May 2018, 12:13

The above happens with two versions of the ESP32 board, with both the 4096 and the 2048 version.

With a third board, I got:

D:\Program Files\Python\Python36>python esptool-master\esptool.py --port COM5 write_flash --compress 0x1000 D:\Tools\uPython\upyeasy-esp32\upyeasy_v030_20180506_test_esp32_2048.bin
esptool.py v2.3-dev
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0220
Compressed 1278000 bytes to 728894...
Writing at 0x0007d000... (71 %)
A fatal error occurred: Failed to write compressed data to flash after seq 31 (result was C100)

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP32 boards

#273 Post by BertB » 09 May 2018, 12:16

After a second attempt with one of the boards, with the 2048 version, I got:

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x17 (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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4464
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:11816
entry 0x4007a9fc
I (465) cpu_start: Pro cpu up.
I (465) cpu_start: Single core mode
I (466) heap_init: Initializing. RAM available for dynamic allocation:
I (469) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (475) heap_init: At 3FFC4E98 len 0001B168 (108 KiB): DRAM
I (481) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (488) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (494) heap_init: At 4008DE34 len 000121CC (72 KiB): IRAM
I (500) cpu_start: Pro cpu start user code
I (71) cpu_start: Starting scheduler on PRO CPU.
I (140) modsocket: Initializing
Traceback (most recent call last):
  File "boot.py", line 3, in <module>
  File "upyeasy/__init__.py", line 46, in main
  File "upyeasy/init.py", line 206, in init
  File "upyeasy/db.py", line 593, in getrow
  File "upyeasy/db.py", line 591, in getrow
  File "filedb.py", line 111, in get
  File "filedb.py", line 111, in get
ValueError: syntax error in JSON
OSError: [Errno 2] ENOENT
MicroPython v1.9.3-549-gbe9277b-dirty on 2018-05-06; ESP32 module with ESP32
Type "help()" for more information.
>>> upyeasy.setwifi('xxxxxx','yyyyyyyyy')
cache deleted: _config
>>> import machine
>>> machine.reset()
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (|▒?22@P▒?s▒?▒▒?▒▒?22@3)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (|▒?22@P▒?s▒?▒▒?▒▒?22@3)
? Exception w22@3Guru Meditation Error: Core  0 panic'ed (|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    )
? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                                                    ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error:                                                                     Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Erro                                                                    r: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Er                                                                    ror: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation                                                                     Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditatio                                                                    n Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditat                                                                    ion Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Medit                                                                    ation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Med                                                                    itation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru M                                                                    editation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru                                                                     Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Gu                                                                    ru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #                                                                    Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed                                                                     #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'                                                                    ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 pani                                                                    c'ed #▒▒?22@3Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Cor                                                                    e  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: C                                                                    ore  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error:                                                                     Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Erro                                                                    r: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Er                                                                    ror: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation                                                                     Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditatio                                                                    n Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditat                                                                    ion Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Medit                                                                    ation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Med                                                                    itation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru M                                                                    editation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru                                                                     Meditation Error: Core  0 panic'ed #▒▒?22@3Guru Meditation Error: Core  0 panic                                                                    'ed #▒▒?22@3Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core                                                                      0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Unknown reasonGuru Medita                                                                    tion Error: Core  0 panic'ed #Unknown reasonGuru Meditation Error: Core  0 panic                                                                    'ed #Unknown reasonGuru Meditation Error: Core  0 panic'ed #▒@pT▒?? Exception w2                                                                    2@3ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4464
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:11816
entry 0x4007a9fc
I (466) cpu_start: Pro cpu up.
I (466) cpu_start: Single core mode
I (466) heap_init: Initializing. RAM available for dynamic allocation:
I (470) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (476) heap_init: At 3FFC4E98 len 0001B168 (108 KiB): DRAM
I (482) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (488) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (495) heap_init: At 4008DE34 len 000121CC (72 KiB): IRAM
I (501) cpu_start: Pro cpu start user code
I (71) cpu_start: Starting scheduler on PRO CPU.
I (140) modsocket: Initializing
Traceback (most recent call last):
  File "boot.py", line 3, in <module>
  File "upyeasy/__init__.py", line 46, in main
  File "upyeasy/init.py", line 206, in init
  File "upyeasy/db.py", line 593, in getrow
  File "upyeasy/db.py", line 591, in getrow
  File "filedb.py", line 111, in get
  File "filedb.py", line 111, in get
ValueError: syntax error in JSON
OSError: [Errno 2] ENOENT
MicroPython v1.9.3-549-gbe9277b-dirty on 2018-05-06; ESP32 module with ESP32
Type "help()" for more information.
>>>

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: ESP32 boards

#274 Post by LisaM » 09 May 2018, 17:50

Hi Bert,

There have been database changes, can you erase the esp32, reflash and then try again? If you have settings in the database you want to remember, save/write/note it down first.

Cheers,

Lisa

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP32 boards

#275 Post by BertB » 09 May 2018, 19:53

LisaM wrote: 09 May 2018, 17:50 Hi Bert,

There have been database changes, can you erase the esp32, reflash and then try again? If you have settings in the database you want to remember, save/write/note it down first.

Cheers,

Lisa
Hi Lisa,
I did this esptool.py --port COM5 erase_flash as my first action on all boards.

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: ESP32 boards

#276 Post by LisaM » 16 May 2018, 20:59

Hi Bert,

This might be due to a to long build version in the config table, if have shortened it and put a new firmware version in the release section.
Can you erase/flash the esp32 again?

Cheers,

Lisa

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP32 boards

#277 Post by BertB » 17 May 2018, 20:09

Hi Lisa,

This happends after loading the 4096 version. It stops right after the 80.

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
Falling back to built-in command interpreter.
OK
>ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4464
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:11816
entry 0x4007a9fc
I (466) cpu_start: Pro cpu up.
I (466) cpu_start: Single core mode
I (467) heap_init: Initializing. RAM available for dynamic allocation:
I (470) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (476) heap_init: At 3FFC4E98 len 0001B168 (108 KiB): DRAM
I (482) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (489) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (495) heap_init: At 4008DE34 len 000121CC (72 KiB): IRAM
I (501) cpu_start: Pro cpu start user code
I (72) cpu_start: Starting scheduler on PRO CPU.
I (140) modsocket: Initializing
Traceback (most recent call last):
  File "ulog.py", line 110, in do_log
  File "syslog_sink.py", line 78, in log
  File "usyslog.py", line 60, in error
  File "usyslog.py", line 82, in log
OSError: 118
2000-01-01 00:00:02 [error] uPyEasy: Hal: esp32, ssid empty
Traceback (most recent call last):
  File "ulog.py", line 110, in do_log
  File "syslog_sink.py", line 76, in log
  File "usyslog.py", line 72, in warning
  File "usyslog.py", line 82, in log
OSError: 118
2000-01-01 00:00:02 [warning] uPyEasy: Hal: init esp32 network: AP mode
I (2990) wifi: wifi firmware version: ebd3e5d
I (2990) wifi: config NVS flash: enabled
I (2990) wifi: config nano formating: disabled
I (2990) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFU                                                                          SE
I (3000) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFU                                                                          SE
I (3020) wifi: Init dynamic tx buffer num: 32
I (3020) wifi: Init data frame dynamic rx buffer num: 64
I (3020) wifi: Init management frame dynamic rx buffer num: 64
I (3030) wifi: wifi driver task: 3ffd0f0c, prio:23, stack:4096
I (3030) wifi: Init static rx buffer num: 10
I (3040) wifi: Init dynamic rx buffer num: 0
I (3040) wifi: wifi power manager task: 0x3ffd5b5c prio: 21 stack: 2560
I (3100) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06, 0, 0
I (3110) wifi: mode : null
I (3110) wifi: mode : softAP (30:ae:a4:0d:6a:bd)
I (3110) network: event 13
I (3220) network: event 14
I (3230) network: event 13
2000-01-01 00:00:05 [info] uPyEasy-uPyEasy: Main: uPyEasy running in Access Point mode
2000-01-01 00:00:05 [info] uPyEasy-uPyEasy: Main: uPyEasy Main Async Loop on IP adress: 0.0.0.0:                                                                          80
80

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP32 boards

#278 Post by BertB » 17 May 2018, 20:24

Okay.
When I after the 80 enter ctrl C, I get:

Code: Select all

Traceback (most recent call last):
  File "boot.py", line 3, in <module>
  File "upyeasy/__init__.py", line 85, in main
  File "upyeasy/__init__.py", line 83, in main
  File "picoweb/__init__.py", line 311, in run
  File "uasyncio/core.py", line 77, in run_forever
  File "uasyncio/__init__.py", line 69, in wait
KeyboardInterrupt:
OSError: [Errno 2] ENOENT
MicroPython v1.9.3-549-gbe9277b-dirty on 2018-05-16; ESP32 module with ESP32
Type "help()" for more information.
>>>
>>>
>>>
Afther that, I could enter the setwifi, the import machine and the machine.reset()

Thereafter I got:

Code: Select all

>>> upyeasy.setwifi('wifiSSID','wifi password')
cache deleted: _config
>>> import machine
>>> machine.reset()
I (139119) network: event 3
I (139119) wifi: flush txq
I (139119) wifi: stop sw txq
I (139119) wifi: lmac stop hw txq
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (|▒?22@P▒?s▒?▒▒?▒▒?22@3)
. Exception was unhandled.
Guru Meditation Error: Core  0 panic'ed (|▒?22@P▒?s▒?▒▒?▒▒?22@3)
? Exception w22@3Guru Meditation Error: Core  0 panic'ed (|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     )
? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #|▒?22@P▒?s▒?▒▒?▒▒?22@3                                     ? Exception w22@3Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error:                                      Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Erro                                     r: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Er                                     ror: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation                                      Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditatio                                     n Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditat                                     ion Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Medit                                     ation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Med                                     itation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru M                                     editation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru                                      Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Gu                                     ru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #                                     Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed                                      #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'                                     ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 pani                                     c'ed #▒▒?22@3Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Cor                                     e  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: C                                     ore  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error:                                      Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Erro                                     r: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation Er                                     ror: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditation                                      Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditatio                                     n Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Meditat                                     ion Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Medit                                     ation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru Med                                     itation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru M                                     editation Error: Core  0 panic'ed #Guru Meditation Error: Core  0 panic'ed #Guru                                      Meditation Error: Core  0 panic'ed #▒▒?22@3Guru Meditation Error: Core  0 panic                                     'ed #▒▒?22@3Guru Meditation Error: Core  0 panic'ed #Guru Meditation Error: Core                                       0 panic'ed #ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4464
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:11816
entry 0x4007a9fc
I (466) cpu_start: Pro cpu up.
I (466) cpu_start: Single core mode
I (466) heap_init: Initializing. RAM available for dynamic allocation:
I (470) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (476) heap_init: At 3FFC4E98 len 0001B168 (108 KiB): DRAM
I (482) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (488) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (495) heap_init: At 4008DE34 len 000121CC (72 KiB): IRAM
I (501) cpu_start: Pro cpu start user code
I (71) cpu_start: Starting scheduler on PRO CPU.
I (139) modsocket: Initializing
I (2829) wifi: wifi firmware version: ebd3e5d
I (2829) wifi: config NVS flash: enabled
I (2829) wifi: config nano formating: disabled
I (2829) system_api: Base MAC address is not set, read default base MAC address                                      from BLK0 of EFUSE
I (2839) system_api: Base MAC address is not set, read default base MAC address                                      from BLK0 of EFUSE
I (2849) wifi: Init dynamic tx buffer num: 32
I (2849) wifi: Init data frame dynamic rx buffer num: 64
I (2859) wifi: Init management frame dynamic rx buffer num: 64
I (2859) wifi: wifi driver task: 3ffd0f0c, prio:23, stack:4096
I (2869) wifi: Init static rx buffer num: 10
I (2869) wifi: Init dynamic rx buffer num: 0
I (2879) wifi: wifi power manager task: 0x3ffd5b5c prio: 21 stack: 2560
I (2939) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06, 0, 0
I (2939) wifi: mode : null
I (2939) wifi: mode : sta (30:ae:a4:0d:6a:bc)
I (2949) wifi: STA_START
I (3799) wifi: n:7 1, o:1 0, ap:255 255, sta:7 1, prof:1
I (4349) wifi: state: init -> auth (b0)
I (4419) wifi: state: auth -> assoc (0)
I (4429) wifi: state: assoc -> run (10)
I (4439) wifi: connected with yyyyyy, channel 7
I (4449) network: event 4
I (5149) event: sta ip: xxxx, mask: xxxxxxx, gw: xxxxxxxxx
I (5149) network: GOT_IP
I (7429) wifi: pm start, type:0

2018-05-17 19:20:47 [info] uPyEasy-uPyEasy: Main: uPyEasy running in Station mod                                     e
2018-05-17 19:20:47 [info] uPyEasy-uPyEasy: Main: uPyEasy Main Async Loop on IP                                      adress: xxxxxxxxx:80

Now, something seems to be alive ...

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests