khoih-prog / Blynk_Esp8266AT_WM

Simple WiFiManager for Blynk with MultiWiFi Credentials, for Mega, SAM DUE, SAMD21, SAMD51, nRF52, STM32, RP2040-based, etc. boards running ESP8266 AT shields. Configuration data saved in EEPROM, SAMD EEPROM-emulated FlashStorage, SAM-DUE DueFlashStorage or nRF52/RP2040 LittleFS
MIT License
4 stars 2 forks source link

Raspberry pi pico falla WM Manager #2

Closed Luuciano27 closed 3 years ago

Luuciano27 commented 3 years ago

Hola, estoy usando Raspberry pi pico con un ESP12 (tiene cargado el firmware1.1.0.0 de AiThinker), al momento de guardar las configuraciones cargadas mediante el portal, la memoria LittleFS falla y no la guarda, cual podria ser el problema? Estoy usando el sketch de ejemplo "RP2040_ESP8266Shield.ino"

La salida de monitor serial es la siguiente:

DoubleResetDetector_Generic v1.2.0
Start Blynk_ESP8266AT_WM
[8581] AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK

LittleFS error
Loading DRD file failed
Flag read = 0x20001a14
No doubleResetDetected
Saving DOUBLERESETDETECTOR_FLAG to DRD file : 0xd0d01234
Saving DRD file failed
SetFlag write = 0xd0d01234
[9106] LittleFS failed
[9106] Check if isForcedCP
[9106] LoadCPFile 
[9106] failed
[9106] LoadBkUpCPFile 
[9106] failed
[9107] bg: isForcedConfigPortal = false
[9107] bg:Stay forever in CP:No ConfigDat
[9107] clearForcedCP
[9107] SaveCPFile 
[9107] failed
[9107] SaveBkUpCPFile 
[9107] failed
[ESP_AT] Use ES8266-AT Command
[17547] stConf:SSID=RP2040_WM,PW=MyRP2040_PW,IP=192.168.220.1
[17548] SSID=RP2040_WM,PW=MyRP2040_PW
[17548] IP=192.168.220.1,CH=4
Stop doubleResetDetecting
Saving to DRD file : 0xd0d04321
Saving DRD file failed
Loading DRD file failed
ClearFlag write = 0xd0d04321
F
Your stored Credentials :
MQTT Server = mqtt-server
Port = 1883
FFFFFFFF[151973] h: Init menuItemUpdated
[151973] h:repl id
[151973] h:items updated =1
[151973] h:key =id, value =Prueba
[152059] h:repl pw
[152059] h:items updated =2
[152059] h:key =pw, value =Prueba
[152150] h:repl id1
[152150] h:items updated =3
[152150] h:key =id1, value =
[152236] h:repl pw1
[152236] h:items updated =4
[152236] h:key =pw1, value =
[152325] h:repl sv
[152326] h:items updated =5
[152326] h:key =sv, value =blynk-cloud.com
[152419] h:repl tk
[152419] h:items updated =6
[152420] h:key =tk, value =token
[152521] h:mqtt=Blynk-cloud.com
[152522] h:items updated =7
[152522] h:key =mqtt, value =Blynk-cloud.com
[152613] h:mqpt=8080
[152613] h:items updated =8
[152613] h:key =mqpt, value =8080
[152636] h:UpdLittleFS
[152636] SaveCfgFile 
[152636] WCSum=0xfac
[152636] failed
[152637] SaveBkUpCfgFile 
[152637] failed
[152637] SaveCredFile 
[152637] CW1:pdata=Blynk-cloud.com,len=34
[152637] failed
[152637] CW1:pdata=8080,len=6
[152637] failed
[152637] failed
[152638] CrWCSum=0x681
[152638] SaveBkUpCredFile 
[152638] CW2:pdata=Blynk-cloud.com,len=34
[152638] failed
[152638] CW2:pdata=8080,len=6
[152638] failed
[152638] failed
[152638] h:Rst

Luego de todo ese proceso la placa se traba y no responde hasta ser reiniciada.

khoih-prog commented 3 years ago

Translation using Google Translate

Hello, I am using Raspberry pi pico with an ESP12 (it has AiThinker firmware 1.1.0.0 loaded), when saving the configurations loaded through the portal, the LittleFS memory fails and does not save it, what could be the problem? I am using the example sketch "RP2040_ESP8266Shield.ino"

The serial monitor output is as follows:

I think you selected No FS You have to select FS size, any from 64K to 1 MBytes.

Selection_815