ESP8266 ESP-01 Problem

davdue

Member
I reflashed this ESP with V3.2 after trying to load V4B4 on it. Now I can't get it to log into the WAP. It's a Ubiquiti NanoStation LocoM2. When I use my Net Analyzer app while connected to the WAP I only see the FPP, WAP, my phone, Computer hardwire connected to the switcher and one other ESP that I have powered up. The one I reflashed is not there. Typically I do this scan to see the IP address that it grabbed so I can go into the web settings and set it to static and put in the pixel & universe information. I have tried another ESP and it acts the same way.
When this ESPixelPop is powered up and connected to some pixels the first 7 pixels flash on every 30 seconds with 6 being white and the 7th is yellow. Any ideas what I can do get into the web app?
 
I opened the ESPSFlash Tool from the USB stick I have used before. Maybe it is corrupted. I did have a problem with the flash drive. I'll try extracting the V3.2 zip file again and try that.
 
I took the zip file abs extracted it again. But now I can?t get it to write at all. When I get a chance I am going to download the V3.2 file again and extract that and try again. I got the ESPixelStick V3 today in the mail. I ca. work on learning the process of local control and maybe get some more before Thanksgiving when I get it all running.


Sent from my iPhone using Tapatalk
 
Hmm redownloaded the V3.2 zip file and extracted it. I still get the following message when I try to flash the ESP. I am using Digwdf Flashamater just like I have always done using the same laptop I have always used for this.

ESP Program Error.JPG
 
That is telling you that you did not short GPIO - 0 and then reset the device before starting to program the device.

Following the instructions on the flashamater

ce2371f31675bae202132434df1394ce.jpg



Sent from my iPhone using Tapatalk
 
The prog button is attached to GPIO-0. You need to do it multiple times in the program sequence. Once for the code ond once for the File System
 
The prog button is attached to GPIO-0. You need to do it multiple times in the program sequence. Once for the code ond once for the File System

Never had to do it more than once before. It is failing within seconds of clicking upload.


Sent from my iPhone using Tapatalk
 
Dave,
did you get this resolved? I am having a similar problem (using V3.1 instead V3.2).
I am thinking about the old "puya" issue that were not compatible, although mine are not supposed to be puya chips.
 
Dave,
did you get this resolved? I am having a similar problem (using V3.1 instead V3.2).
I am thinking about the old "puya" issue that were not compatible, although mine are not supposed to be puya chips.

Nope. I ended up changing to ESPixelStick V4 so I could run remote sequences and keep the network traffic down. What I never could figure out is why I was having this problem when I haven?t changed anything. Same version of pixel stick software, just reprogramming them after I tried to put V4 software on them before I learned it takes more than 1Mb flash.


Sent from my iPhone using Tapatalk
 
The prog button is attached to GPIO-0. You need to do it multiple times in the program sequence. Once for the code ond once for the File System
Can you explain exactly what you meant by multiple times. Once for the code and once for the file system? All I have ever done is click the upload button after I have put the flashamater into flash mode. I tried reflashing an ESP-01 today and still am getting the same issue as last year with it not connecting the network. Normally on a new ESP it defaults to use DHCP and then I scan the network to see what IP address was assigned to the new one so I can use the web UI to set it to static and the correct IP address. But since it doesn't connect to the show WAP I can't do that.
 

Attachments

  • ESPFlashTool V3.2.png
    ESPFlashTool V3.2.png
    25.8 KB · Views: 3
Nothing showed up in the serial output window but here is what was in the status window:

It didn't say anything about rebooting like normal either.

-= Building SPIFFS Image =-
bin/win32/esp8266/mkspiffs -c spiffs/ -p 256 -b 4096 -s 131072 firmware/spiffs.bin
/config.json
/www/esps.css.gz
/www/esps.js.gz
/www/index.html.gz
Done

-= Programming ESP8266 =-
bin/win32/python3/python bin/upload.py --chip auto --baud 115200 --port COM4 --before default_reset --after hard_reset write_flash 0x0 firmware/pixel-3.2-1m_128k.bin 0xDB000 firmware/spiffs.bin
esptool.py v2.8
Serial port COM4
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 84:f3:eb:5e:16:ed
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Compressed 446528 bytes to 315734...

Writing at 0x00000000... (5 %)
Writing at 0x00004000... (10 %)
Writing at 0x00008000... (15 %)
Writing at 0x0000c000... (20 %)
Writing at 0x00010000... (25 %)
Writing at 0x00014000... (30 %)
Writing at 0x00018000... (35 %)
Writing at 0x0001c000... (40 %)
Writing at 0x00020000... (45 %)
Writing at 0x00024000... (50 %)
Writing at 0x00028000... (55 %)
Writing at 0x0002c000... (60 %)
Writing at 0x00030000... (65 %)
Writing at 0x00034000... (70 %)
Writing at 0x00038000... (75 %)
Writing at 0x0003c000... (80 %)
Writing at 0x00040000... (85 %)
Writing at 0x00044000... (90 %)
Writing at 0x00048000... (95 %)
Writing at 0x0004c000... (100 %)
Wrote 446528 bytes (315734 compressed) at 0x00000000 in 28.6 seconds (effective 124.7 kbit/s)...
Hash of data verified.
Compressed 131072 bytes to 61097...

Writing at 0x000db000... (25 %)
Writing at 0x000df000... (50 %)
Writing at 0x000e3000... (75 %)
Writing at 0x000e7000... (100 %)
Wrote 131072 bytes (61097 compressed) at 0x000db000 in 5.6 seconds (effective 188.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Done

-= Programming Complete =-
 
The sequence is...
Hold down Reset....
Keep holding Reset and press and hold PROG
keep holding PROG and release Reset
Release PROG

Click the software to upload to the ESP01... you will see action, finishing with Programming Complete
Wait about 3 seconds and press the RESET again. This should let it acquire an address and display it in the lower window.
 
Thanks. I haven't ever pressed the reset after the programming is complete. Here is what I got after pressing reset. I tried this 3 different time and got the same gibberish which won't copy so I screenshot it.

1733013247056.png
 
That gibberish is expected. The serial interface is set to the wrong baudrate.

It is possible that one of the networking settings you are using is causing an issue. I would start with DHCP enabled to see if you can connect to the device and then work from there. You could also use a network scanner to locate all of the devices on your network and find the ESP in the list.
 
ok. I'll try turning on DHCP on the WAP tonight and see if I can get it to connect. I have used my network scanner app and there aren't any unusual things on the network. Is there a way to change the baudrate on the serial interface?
 
If the network scanner is not seeing anything then the issue is most like with the SSID or passphrase.

You can compile any baud rate you want into the code. The default 115200 is usually going to work. That initial burst of "gibberish" that comes out is at 900kpbs. The fact that nothing comes out after it often means the device is still in programming mode.
 
Back
Top