B4R Question OTA - Error2: 8 Update error: ERROR[8]: Flash config wrong real: 1048576 IDE: 4194304

petr4ppc

Active Member
Licensed User
Last edited:

petr4ppc

Active Member
Licensed User
Dear thetahsk,

thank you for your answer. Please, I know that I have dumb question, please, how can I set flash size?
I have not choice in Board selector....?

Thank you
p4ppc
 

Attachments

petr4ppc

Active Member
Licensed User
Dear thetahsk,

I have tried it with this:
https://www.b4x.com/android/forum/t...onfiguration-memory-comparison.81119/#content

I got this results:
1) ESP01s
Flash real size: 1048576
Flash ide size: 4194304
Flash ide speed: 40000000
Flash ide mode: QIO
Flash chip configuration is incorrect...
It is possible how to solve it?

I go to try it with ESP01 with 8MB flash
2) EDIT - ESP01 with 8MB flash:
**********************************************
ESP01 8MB flash
In programming process I see in LOGs:
Auto-detected Flash size:1M

In Board selector I have set:
EESZ: 1M and I am trying 2M and I am trying 8M too
this three possibilities give this result in Logs:

Flash real id: 001440C8
Flash real size: 1048576
Flash ide size: 1048576
Flash ide speed: 40000000
Flash ide mode: QIO
Flash chip configuration is correct...

EEPROM Size: 1024
FlasfID: 1327304
FlahsSize: 1048576
FlashSpeed: 40000000
CPU Speed MHz: 80
Program Size: 425456
Free Space: 1671168
CycleCount: 1072760356
HeapSpace: 29728

- If I save values to EEPROM, and if I disconnect this ESP01 module with 8MB flash from power and then if I connect to power again, then the value from eeprom are lost.
- If I am trying OTA I get in LOGs:
Error2: 2 Update error: ERROR[2]: Flash Erase Failed
*******************************************************

So my result:
- ESP01s - now I can not do OTA, but EEPROM is OK
- ESP01 with 8MB flash - now I can not do OTA and I can not store values in EEPROM


Best regards
p4ppc
 
Last edited:
Top