Closed 0xJoeMartin closed 2 years ago
You you try re-flashing the device via this process? The key bit is erasing the existing flash.
@0xJoeMartin - is this issue still present? Did wiping and reflashing resolve the problem?
Closing the issue after 4 weeks.
I have built a HASP and uploaded the Arduino sketch. I am getting the HASP Wifi Setup screen on the Nextion but when I connect to the "HASwitchPlate" SSID, the ESP crashes and restarts. Serial Monitor output:
================================================================================ [+0.071s] SYSTEM: Starting HASwitchPlate v1.02 [+0.076s] SYSTEM: Last reset reason: Fatal exception:3 flag:2 (Exception) epc1:0x4000bf64 epc2:0x00000000 epc3:0x00000000 excvaddr:0x40285469 depc:0x00000000 [+0.090s] SYSTEM: heapFree: 30992 heapMaxFreeBlockSize: 30896 Crash information recovered from EEPROM Crash # 1 at 4660 ms Restart reason: 2 Exception cause: 3 epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40285469 depc=0x00000000
[+0.292s] SPIFFS: mounting SPIFFS [+0.327s] SPIFFS: [WARNING] /config.json not found, will be created on first config save [+0.335s] HMI: Waiting for LCD connection [+0.582s] HMI IN: [7 bytes]: 0xff 0x00 0x00 0x00 0xff 0xff 0xff [+0.588s] HMI: Querying LCD backlight status [+0.593s] HMI OUT: get dim [+0.596s] HMI IN: [4 bytes]: 0x88 0xff 0xff 0xff [+0.601s] HMI: Nextion panel connected. [+0.697s] HMI IN: [5 bytes]: 0x66 0x00 0xff 0xff 0xff [+0.703s] HMI IN: [sendme Page] '0' [+0.706s] HMI IN: [8 bytes]: 0x71 0x64 0x00 0x00 0x00 0xff 0xff 0xff [+0.713s] HMI IN: [Int Return] '100' [+0.716s] HMI IN: lcdBacklightDim '100' [+0.721s] HMI OUT: bkcmd=3 [+0.724s] HMI: Querying LCD firmware version number [+0.730s] HMI OUT: get p[0].b[2].val [+0.734s] HMI IN: [8 bytes]: 0x71 0x02 0x00 0x00 0x00 0xff 0xff 0xff [+0.740s] HMI IN: [Int Return] '2' [+0.743s] HMI IN: lcdVersion '2' [+0.747s] HMI: Querying LCD model information [+0.752s] HMI OUT: con⸮ect [+0.759s] HMI IN: [69 bytes]: 0x63 0x6f 0x6d 0x6f 0x6b 0x20 0x31 0x2c 0x33 0x30 0x36 0x30 0x31 0x2d 0x30 0x2c 0x4e 0x58 0x33 0x32 0x32 0x34 0x54 0x30 0x32 0x34 0x5f 0x30 0x31 0x31 0x52 0x2c 0x31 0x34 0x31 0x2c 0x36 0x31 0x34 0x38 0x38 0x2c 0x44 0x45 0x36 0x30 0x31 0x43 0x46 0x34 0x32 0x33 0x34 0x46 0x33 0x33 0x32 0x35 0x2c 0x34 0x31 0x39 0x34 0x33 0x30 0x34 0xff 0xff 0xff [+0.814s] HMI IN: nextionModel: NX3224T024_011R [+0.820s] HMI OUT: 'p[0].b[1].font=6' [+2.764s] WIFI: Failed to connect to assigned AP, entering config mode [+2.772s] HMI OUT: 'p[0].b[1].font=6' [+2.786s] HMI OUT: 'p[0].b[1].txt=" HASP WiFi Setup\r AP: HASwitchPlate\rPassword: hasplate\r\r\r\r\r\r\r httpr//1;2.168.4.1"' [+2.840s] HMI OUT: vis 3,1