The ESP32-C3 WIFI connection code I am using is:
var wifi = require("Wifi"); var ssid = 'FOFStudioWifi'; var password = 'FOFStudioWifiQQ'; wifi.connect(ssid, {password: password}, function() { });
The ESP32-C3 firmware I am using is:https://www.espruino.com/binaries/travis/master/
ERRER: assert failed: jsvUnLockInline jsvar.c:865 (jsvGetLocks(var)>0) Core 0 register dump: MEPC : 0x403808c0 RA : 0x4038d64e SP : 0x3fcbd4d0 GP : 0x3fc98e00 TP : 0x3fc7c170 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130 S0/FP : 0x00000088 S1 : 0x00000001 A0 : 0x3fcbd50c A1 : 0x3fc9a9dd A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x3fca0000 A6 : 0x7a797877 A7 : 0x76757473 S2 : 0x00000009 S3 : 0x3fcbd61f S4 : 0x3fc9a9dc S5 : 0x00000003 S6 : 0x00000000 S7 : 0x3fcbd790 S8 : 0x00000000 S9 : 0x4200de20 S10 : 0x00000000 S11 : 0x00000000 T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938 MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000 MHARTID : 0x00000000 Stack memory: 3fcbd4d0: 0x00000000 0x3fcbd541 0x3c178494 0x40394ff0 0x3fc9ab1c 0x3c178494 0x3fc9af0c 0x3c17918d 3fcbd4f0: 0x3fc9ab2c 0x3fcbd504 0x3fc9ab30 0x3c179828 0x3fc9a9dc 0x00353638 0x420261d0 0x65737361 3fcbd510: 0x66207472 0x656c6961 0x6a203a64 0x6e557673 0x6b636f4c 0x696c6e49 0x6a20656e 0x72617673 3fcbd530: 0x383a632e 0x28203536 0x4776736a 0x6f4c7465 0x28736b63 0x29726176 0x0029303e 0x4202aa18 3fcbd550: 0x00000000 0x00000016 0x00000004 0x420261d0 0x00000000 0x3fcbd5d1 0x3fcbd5d0 0x42026192 3fcbd570: 0x00000004 0x00000000 0x420261d0 0x420261b6 0x00000001 0x3c180825 0x00000000 0x420261d8 3fcbd590: 0x00008105 0x00000003 0x3fcbd6f9 0x00000013 0x00000014 0x3fcbd6f8 0x3fcc9d50 0x42013200 3fcbd5b0: 0x0000000a 0x3fcc9d42 0x3fcbd5dc 0x4201b5e2 0x3fcc9d42 0x3fcbd6f8 0x00000020 0x42017002 3fcbd5d0: 0x00000003 0x00000000 0x00000000 0x00000000 0x00000000 0x0000000d 0x3fcc9da4 0x00000000 3fcbd5f0: 0x3fcc9d42 0x3fcc9da4 0x3fcc8bd0 0x420131fa 0x3fcc9d42 0x3fcc9da4 0x3fcc9d5e 0x4200de6a 3fcbd610: 0x00000001 0x00000005 0x00000000 0x00000000 0x3fcc9da4 0x3fcc9e22 0x3fcc9e06 0x42013200 3fcbd630: 0x3fcc9da4 0x3fcc9cd2 0x3fcc9e06 0x42017b3a 0x3fcc9e14 0x00000005 0x00000000 0x00000000 3fcbd650: 0x3fcc9da4 0x0000007d 0x0000007d 0x42045a52 0x3fcc9da4 0x00000000 0x00000086 0x42046f3e 3fcbd670: 0x3fcc9da4 0x00000000 0x00000086 0x42020392 0x0000000a 0x00000000 0x00000069 0x0000008a 3fcbd690: 0x00000000 0x3fcc8a8e 0x3fcc8a9c 0x00000063 0x00000010 0x3fcc8a3a 0x00000000 0x3fcbd790 3fcbd6b0: 0x00000000 0x00000000 0x3fcc9da4 0x420203e0 0x00000000 0x000000aa 0x000000aa 0x4201f5d6 3fcbd6d0: 0x00000000 0x3fcc9d42 0x3fcc9d42 0x42013200 0x00000001 0x3fcc9d42 0x3fcc9d34 0x53464f46 3fcbd6f0: 0x69647574 0x6669576f 0x00000069 0x3fcbd790 0x00000000 0x000000aa 0x000000aa 0x4201f748 3fcbd710: 0x00000003 0x00000003 0x00000000 0x420477f4 0x00000000 0x3fcc8a3a 0x00000000 0x3fcbd790 3fcbd730: 0x3fcc9d42 0x3fcc9d5e 0x3fcc9da4 0x3fcbd790 0x00000010 0x3fcc8a3a 0x00000007 0x420175bc 3fcbd750: 0x3fcc9d18 0x00000002 0x00000000 0x3fcbd790 0x3fcc9d18 0x00000001 0x00000003 0x3fcbd790 3fcbd770: 0x00000010 0x3fcc8a3a 0x3fcc87a8 0x00000003 0x3fcc9d18 0x4200de20 0x3fcbd8a0 0x42022e82 3fcbd790: 0x3fcc9d42 0x3fcc9d5e 0x3fcc9da4 0x3fcc9d50 0x00000000 0x3fcbd970 0x3fcc9d26 0x3fcc8a3a 3fcbd7b0: 0x3fcc9d18 0x00000028 0x00000028 0x42046206 0x00000000 0x00000001 0x3fcbd8a0 0x42046f3e 3fcbd7d0: 0x00000000 0x00000001 0x3fcbd8a0 0x42022bec 0x3fcc8914 0x3fcbd970 0x3fcc9d18 0x3fcc9d26 3fcbd7f0: 0x3fcc9d34 0x00000000 0x3fcc9d34 0x42013200 0x3fcc9d34 0x3fcc9d34 0x3fcc9d26 0x42014d68 3fcbd810: 0x00000001 0x3fcbd970 0x3fcc9d18 0x3fcbd970 0x3fcc9d26 0x3fcc9d26 0x3fcc9d18 0x42013c10 3fcbd830: 0x3fcc9d26 0x3fcc8a3a 0x3fcc9d26 0x4201e97a 0x00000000 0x00000080 0xfffffff3 0x3fcc8a3a 3fcbd850: 0x00000001 0x3fcbd970 0x3fcc9d26 0x3fcbd8ac 0x3fcc88f8 0x00000080 0x00000189 0x00000000 ELF file SHA256: ebacf89e19576d86 Rebooting... ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT) Saved PC:0x403806ba SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd5810,len:0x1684 load:0x403cc710,len:0x934 load:0x403ce710,len:0x2e74 entry 0x403cc710 ;32mI (15) boot: ESP-IDF v4.4.7 2nd stage bootloaderm ;32mI (15) boot: compile time 10:07:49m ;32mI (15) boot: chip revision: v0.4m ;32mI (17) boot.esp32c3: SPI Speed : 80MHzm ;32mI (22) boot.esp32c3: SPI Mode : DIOm ;32mI (26) boot.esp32c3: SPI Flash Size : 4MBm ;32mI (31) boot: Enabling RNG early entropy source...m ;32mI (37) boot: Partition Table:m ;32mI (40) boot: ## Label Usage Type ST Offset Lengthm ;32mI (47) boot: 0 nvs WiF
@user158605 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The ESP32-C3 WIFI connection code I am using is:
The ESP32-C3 firmware I am using is:https://www.espruino.com/binaries/travis/master/
ERRER:
assert failed: jsvUnLockInline jsvar.c:865 (jsvGetLocks(var)>0)
Core 0 register dump:
MEPC : 0x403808c0 RA : 0x4038d64e SP : 0x3fcbd4d0 GP : 0x3fc98e00
TP : 0x3fc7c170 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x00000088 S1 : 0x00000001 A0 : 0x3fcbd50c A1 : 0x3fc9a9dd
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x3fca0000
A6 : 0x7a797877 A7 : 0x76757473 S2 : 0x00000009 S3 : 0x3fcbd61f
S4 : 0x3fc9a9dc S5 : 0x00000003 S6 : 0x00000000 S7 : 0x3fcbd790
S8 : 0x00000000 S9 : 0x4200de20 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
MHARTID : 0x00000000
Stack memory:
3fcbd4d0: 0x00000000 0x3fcbd541 0x3c178494 0x40394ff0 0x3fc9ab1c 0x3c178494 0x3fc9af0c 0x3c17918d
3fcbd4f0: 0x3fc9ab2c 0x3fcbd504 0x3fc9ab30 0x3c179828 0x3fc9a9dc 0x00353638 0x420261d0 0x65737361
3fcbd510: 0x66207472 0x656c6961 0x6a203a64 0x6e557673 0x6b636f4c 0x696c6e49 0x6a20656e 0x72617673
3fcbd530: 0x383a632e 0x28203536 0x4776736a 0x6f4c7465 0x28736b63 0x29726176 0x0029303e 0x4202aa18
3fcbd550: 0x00000000 0x00000016 0x00000004 0x420261d0 0x00000000 0x3fcbd5d1 0x3fcbd5d0 0x42026192
3fcbd570: 0x00000004 0x00000000 0x420261d0 0x420261b6 0x00000001 0x3c180825 0x00000000 0x420261d8
3fcbd590: 0x00008105 0x00000003 0x3fcbd6f9 0x00000013 0x00000014 0x3fcbd6f8 0x3fcc9d50 0x42013200
3fcbd5b0: 0x0000000a 0x3fcc9d42 0x3fcbd5dc 0x4201b5e2 0x3fcc9d42 0x3fcbd6f8 0x00000020 0x42017002
3fcbd5d0: 0x00000003 0x00000000 0x00000000 0x00000000 0x00000000 0x0000000d 0x3fcc9da4 0x00000000
3fcbd5f0: 0x3fcc9d42 0x3fcc9da4 0x3fcc8bd0 0x420131fa 0x3fcc9d42 0x3fcc9da4 0x3fcc9d5e 0x4200de6a
3fcbd610: 0x00000001 0x00000005 0x00000000 0x00000000 0x3fcc9da4 0x3fcc9e22 0x3fcc9e06 0x42013200
3fcbd630: 0x3fcc9da4 0x3fcc9cd2 0x3fcc9e06 0x42017b3a 0x3fcc9e14 0x00000005 0x00000000 0x00000000
3fcbd650: 0x3fcc9da4 0x0000007d 0x0000007d 0x42045a52 0x3fcc9da4 0x00000000 0x00000086 0x42046f3e
3fcbd670: 0x3fcc9da4 0x00000000 0x00000086 0x42020392 0x0000000a 0x00000000 0x00000069 0x0000008a
3fcbd690: 0x00000000 0x3fcc8a8e 0x3fcc8a9c 0x00000063 0x00000010 0x3fcc8a3a 0x00000000 0x3fcbd790
3fcbd6b0: 0x00000000 0x00000000 0x3fcc9da4 0x420203e0 0x00000000 0x000000aa 0x000000aa 0x4201f5d6
3fcbd6d0: 0x00000000 0x3fcc9d42 0x3fcc9d42 0x42013200 0x00000001 0x3fcc9d42 0x3fcc9d34 0x53464f46
3fcbd6f0: 0x69647574 0x6669576f 0x00000069 0x3fcbd790 0x00000000 0x000000aa 0x000000aa 0x4201f748
3fcbd710: 0x00000003 0x00000003 0x00000000 0x420477f4 0x00000000 0x3fcc8a3a 0x00000000 0x3fcbd790
3fcbd730: 0x3fcc9d42 0x3fcc9d5e 0x3fcc9da4 0x3fcbd790 0x00000010 0x3fcc8a3a 0x00000007 0x420175bc
3fcbd750: 0x3fcc9d18 0x00000002 0x00000000 0x3fcbd790 0x3fcc9d18 0x00000001 0x00000003 0x3fcbd790
3fcbd770: 0x00000010 0x3fcc8a3a 0x3fcc87a8 0x00000003 0x3fcc9d18 0x4200de20 0x3fcbd8a0 0x42022e82
3fcbd790: 0x3fcc9d42 0x3fcc9d5e 0x3fcc9da4 0x3fcc9d50 0x00000000 0x3fcbd970 0x3fcc9d26 0x3fcc8a3a
3fcbd7b0: 0x3fcc9d18 0x00000028 0x00000028 0x42046206 0x00000000 0x00000001 0x3fcbd8a0 0x42046f3e
3fcbd7d0: 0x00000000 0x00000001 0x3fcbd8a0 0x42022bec 0x3fcc8914 0x3fcbd970 0x3fcc9d18 0x3fcc9d26
3fcbd7f0: 0x3fcc9d34 0x00000000 0x3fcc9d34 0x42013200 0x3fcc9d34 0x3fcc9d34 0x3fcc9d26 0x42014d68
3fcbd810: 0x00000001 0x3fcbd970 0x3fcc9d18 0x3fcbd970 0x3fcc9d26 0x3fcc9d26 0x3fcc9d18 0x42013c10
3fcbd830: 0x3fcc9d26 0x3fcc8a3a 0x3fcc9d26 0x4201e97a 0x00000000 0x00000080 0xfffffff3 0x3fcc8a3a
3fcbd850: 0x00000001 0x3fcbd970 0x3fcc9d26 0x3fcbd8ac 0x3fcc88f8 0x00000080 0x00000189 0x00000000
ELF file SHA256: ebacf89e19576d86
Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x403806ba
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x1684
load:0x403cc710,len:0x934
load:0x403ce710,len:0x2e74
entry 0x403cc710
;32mI (15) boot: ESP-IDF v4.4.7 2nd stage bootloaderm
;32mI (15) boot: compile time 10:07:49m
;32mI (15) boot: chip revision: v0.4m
;32mI (17) boot.esp32c3: SPI Speed : 80MHzm
;32mI (22) boot.esp32c3: SPI Mode : DIOm
;32mI (26) boot.esp32c3: SPI Flash Size : 4MBm
;32mI (31) boot: Enabling RNG early entropy source...m
;32mI (37) boot: Partition Table:m
;32mI (40) boot: ## Label Usage Type ST Offset Lengthm
;32mI (47) boot: 0 nvs WiF