ESP8266 web interface problems with tab contents

More
3 months 2 days ago #11457 by Joker
It's almost embarrassing but I have the next problem.

The ESP8266 could be dated without any problems.
I could save my WLAN settings and it connects to my network. I can also log in but only the status page is available. Do you know this problem? The information about this should all be in ESP8266.

I have used the V2 code: bitbucket.org/isparkes/nixiefirmwarev2/s...TimeProviderESP8266/

I've attached a screenshot. Clock and Timeserver require authentication, Wlan says "file not found" and utility gives me an empty page.

The compilation looked like this:
Executable segment sizes:


IROM : 379184 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 28364 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1404 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 17780 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 30584 ) - zeroed variables (global, static) in RAM/HEAP


Der Sketch verwendet 426732 Bytes (44%) des Programmspeicherplatzes. Das Maximum sind 958448 Bytes.
Globale Variablen verwenden 49768 Bytes (60%) des dynamischen Speichers, 32152 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
esptool.py v2.8
Serial port COM9
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 80:7d:3a:33:69:cc
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Erasing flash (this may take a while)...
Chip erase completed successfully in 0.0s
Compressed 430880 bytes to 299953...

Writing at 0x00000000... (5 %)
Writing at 0x00004000... (10 %)
Writing at 0x00008000... (15 %)
Writing at 0x0000c000... (21 %)
Writing at 0x00010000... (26 %)
Writing at 0x00014000... (31 %)
Writing at 0x00018000... (36 %)
Writing at 0x0001c000... (42 %)
Writing at 0x00020000... (47 %)
Writing at 0x00024000... (52 %)
Writing at 0x00028000... (57 %)
Writing at 0x0002c000... (63 %)
Writing at 0x00030000... (68 %)
Writing at 0x00034000... (73 %)
Writing at 0x00038000... (78 %)
Writing at 0x0003c000... (84 %)
Writing at 0x00040000... (89 %)
Writing at 0x00044000... (94 %)
Writing at 0x00048000... (100 %)
Wrote 430880 bytes (299953 compressed) at 0x00000000 in 27.9 seconds (effective 123.5 kbit/s)...
Hash of data verified.

Leaving...
Soft resetting...

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago #11458 by Ty_Eeberfest
The user/pass for those login prompts is either admin/setup or admin/update depending on which page you are trying to open. I found this info in the DA-2000 kit documentation but for some reason it is missing from the Classic Rev 6 and WiFi Time Provider manuals. :S

The file not found problem could have something to do with how you partitioned flash memory in the compiler options, e.g. how much memory for program and how much for SPIFFS. The picture "programmsettings" would have that information but it is so compressed I can't read anything. Compare your settings with what is indicated in the comments at the very top of the source code and/or post a better picture.

Look into it later when the dust is clearing off the crater.
The following user(s) said Thank You: Joker

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago #11459 by Joker
The passwort works like a charme.

You are right, the screenshot is unreadable

I hope this one is better

In the update window you can also update the file system. Where can I get this?
Attachments:

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago #11460 by Ty_Eeberfest

Joker wrote: You are right, the screenshot is unreadable
I hope this one is better


Much better. I see one real problem.

Here are the correct compiler option settings taken directly from source code. Any settings that are not mentioned can be left at defaults.

Board: Generic ESP8266 Module
Crystal Frequency: 26MHz
Flash: 80MHz
CPU: 160MHz
Flash Mode: QIO
Upload speed: 115200
Flash size: 1M (64k SPIFFS) <-- the problem
Erase Flash: All flash contents,
Builtin LED: 1 (1 for ESP-01)

Joker wrote: In the update window you can also update the file system. Where can I get this?


I don't understand what you mean. Can you show me what you are looking at?

Look into it later when the dust is clearing off the crater.

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago - 3 months 2 days ago #11461 by Joker
The manual says "1M (64k SPIFFS)"

But i have only ohter options (see Attachment)

Ty_Eeberfest wrote: I don't understand what you mean. Can you show me what you are looking at?


i did an Screenshot - see Attachments


if I had known at the beginning how stupid I was when I asked for the microcontrollers, I would have ordered them from Ian :)
Well, at least I learn something ;)
Attachments:
Last edit: 3 months 2 days ago by Joker.

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago - 3 months 2 days ago #11462 by Ty_Eeberfest
Okay I think I understand the memory situation now. It looks like you have a newer version of the ESP8266 Boards package. Today I updated mine to 2.7.0 (I had 2.5.2) and now my Flash Size options look the same as yours.

1MB (FS:64K OTA: ~470KB) should work fine. "FS: 64KB" seems to mean "file system 64KB" which is the same thing as SPIFFS 64KB. They just changed to terminology to confuse us.

Where did you get your source code from? I have Ian's latest code here and it has no Update FileSystem and no German words in it.

Look into it later when the dust is clearing off the crater.
Last edit: 3 months 2 days ago by Ty_Eeberfest.

Please Log in or Create an account to join the conversation.

Moderators: AccutronTy_EeberfestIan
Time to create page: 0.098 seconds

Search

Tube Suppliers

Go to top
JSN Boot template designed by JoomlaShine.com