EspixelStick v4.X I...
 
Notifications
Clear all

EspixelStick v4.X Install Problem

67 Posts
6 Users
0 Reactions
12.2 K Views
Posts: 49
Topic starter
(@gatoruss)
Trusted Member
Joined: 5 years ago

I re-downloaded the latest distribution of v4.x from the google drive site. The jar installer opens and uploads the firmware. However, when the device tries to connect to the internet, the serial output either freezes when attempting to connect to network or outputs an endless loop of garbage characters.

Note, i was able to upload a sketch to the device via the Arduino IDE. The sketch successfully connected the device to the internet and report back the device's IP address. So, the device appears to be programmable and able to connect to the network.

I am wondering -- could that problem be that my device has 16M?

Screenshots attached - When uploading with (1) espixelstick v3 selected as device (endless loop of characters) and (2) Wermos d1 mini selected (freezes trying to connect to network). The serial print out for the later situation "freezes" at:

Connecting to 'rdrNetwork' as esps-867f54
esp Screenshot 2022 11 13 102335
ESP Screenshot 2022 11 13 102704

Reply
Posts: 49
Topic starter
(@gatoruss)
Trusted Member
Joined: 5 years ago

I am still trying to get a d1 mini pro (in particular a d1 mini pro ESP8622 16M) to run espixelstick v4. If I designate the hardware as an "espixelstick," the firmware uploads, but when the device tries to connect to my network, the serial output is a continuous flow of data.

I copied the log and below is a copy of the the log. Note, in the serial monitor output, the following lines at the beginning of the serial output (and the lines in between those 2 lines) are repeated in an endless loop (for the sake of space, I have only included one loop - in bold red faced type -- in the printout below).

12:31:16: [ ESP] ESPixelStick v4.x-dev (Nov 4 2022 - 09:50:30)
....
12:31:16: ~ld
System Output:

bin/win32/mklittlefs -c fs/ -p 256 -b 8192 -s 2072576 firmware/filesystem.bin
-= Building Filesystem Image =-
bin/win32/mklittlefs -c fs/ -p 256 -b 8192 -s 2072576 firmware/filesystem.bin
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/gs8208.html.gz
/www/index.html.gz
/www/mqtt.html.gz
/www/relay.html.gz
/www/renard.html.gz
/www/serial.html.gz
/www/servo_pca9685.html.gz
/www/tls3001.html.gz
/www/tm1814.html.gz
/www/ucs1903.html.gz
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/www/ucs8903.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/gs8208.html.gz
/www/index.html./www/relay.html.gz
gz
/www/mqtt.html.gz
/www/renard.html.gz
/www/ws2801.html.gz
/www/servo_pca9685.html.gz
/www/serial.html.gz
/www/tls3001.html.gz
/www/tm1814.html.gz
/www/ucs1903.html.gz
/www/ws2811.html.gz
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 erase_flash
/www/ucs8903.html.gz
/www/ws2801.html.gz
/www/ws2811.html.gz
Done

-= Erasing ESP Flash =-
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 erase_flash
esptool.py v2.8
Serial port COM9
esptool.py v2.8
Serial port COM9
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Chip erase completed successfully in 42.8s
Hard resetting via RTS pin...
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Chip erase completed successfully in 42.8s
Hard resetting via RTS pin...
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/espsv3-app.bin 0x200000 firmware/filesystem.bin
Done

-= Uploading Firmware =-
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/espsv3-app.bin 0x200000 firmware/filesystem.bin
esptool.py v2.8
Serial port COM9
esptool.py v2.8
Serial port COM9
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash params set to 0x0290
Compressed 567248 bytes to 386840...

Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash params set to 0x0290
Compressed 567248 bytes to 386840...

Writing at 0x00000000... (4 %)
Writing at 0x00000000... (4 %)
Writing at 0x00004000... (8 %)
Writing at 0x00004000... (8 %)
Writing at 0x00008000... (12 %)
Writing at 0x00008000... (12 %)
Writing at 0x0000c000... (16 %)
Writing at 0x0000c000... (16 %)
Writing at 0x00010000... (20 %)
Writing at 0x00010000... (20 %)
Writing at 0x00014000... (25 %)
Writing at 0x00014000... (25 %)
Writing at 0x00018000... (29 %)
Writing at 0x00018000... (29 %)
Writing at 0x0001c000... (33 %)
Writing at 0x0001c000... (33 %)
Writing at 0x00020000... (37 %)
Writing at 0x00020000... (37 %)
Writing at 0x00024000... (41 %)
Writing at 0x00024000... (41 %)
Writing at 0x00028000... (45 %)
Writing at 0x00028000... (45 %)
Writing at 0x0002c000... (50 %)
Writing at 0x0002c000... (50 %)
Writing at 0x00030000... (54 %)
Writing at 0x00030000... (54 %)
Writing at 0x00034000... (58 %)
Writing at 0x00034000... (58 %)
Writing at 0x00038000... (62 %)
Writing at 0x00038000... (62 %)
Writing at 0x0003c000... (66 %)
Writing at 0x0003c000... (66 %)
Writing at 0x00040000... (70 %)
Writing at 0x00040000... (70 %)
Writing at 0x00044000... (75 %)
Writing at 0x00044000... (75 %)
Writing at 0x00048000... (79 %)
Writing at 0x00048000... (79 %)
Writing at 0x0004c000... (83 %)
Writing at 0x0004c000... (83 %)
Writing at 0x00050000... (87 %)
Writing at 0x00050000... (87 %)
Writing at 0x00054000... (91 %)
Writing at 0x00054000... (91 %)
Writing at 0x00058000... (95 %)
Writing at 0x00058000... (95 %)
Writing at 0x0005c000... (100 %)
Wrote 567248 bytes (386840 compressed) at 0x00000000 in 8.7 seconds (effective 522.1 kbit/s)...
Hash of data verified.
Compressed 2072576 bytes to 109342...

Writing at 0x0005c000... (100 %)
Wrote 567248 bytes (386840 compressed) at 0x00000000 in 8.7 seconds (effective 522.1 kbit/s)...
Hash of data verified.
Compressed 2072576 bytes to 109342...

Writing at 0x00200000... (14 %)
Writing at 0x00200000... (14 %)
Writing at 0x00204000... (28 %)
Writing at 0x00204000... (28 %)
Writing at 0x00208000... (42 %)
Writing at 0x00208000... (42 %)
Writing at 0x0020c000... (57 %)
Writing at 0x0020c000... (57 %)
Writing at 0x00210000... (71 %)
Writing at 0x00210000... (71 %)
Writing at 0x00214000... (85 %)
Writing at 0x00214000... (85 %)
Writing at 0x00218000... (100 %)
Wrote 2072576 bytes (109342 compressed) at 0x00200000 in 7.9 seconds (effective 2094.0 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Writing at 0x00218000... (100 %)
Wrote 2072576 bytes (109342 compressed) at 0x00200000 in 7.9 seconds (effective 2094.0 kbit/s)...
Hash of data verified.

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

-= ESP Action Complete =-

Serial Output:

{$ l??| ?$?|?l?b<????;?#?c??ng?l'o???b8??lsdrdp?n??$??co?|???b??g'? d??l ?'o?$n;???';s? p?n?;??????co?|?b??o'? ?l`?'o?$'{???'{d`;??'{d`?$??d`??'?$
12:31:16: [ ESP] ESPixelStick v4.x-dev (Nov 4 2022 - 09:50:30)
12:31:16: [ ESP] SDK:2.2.2-dev(38a443e)/Core:3.0.2=30002000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-48-g7421258/BearSSL:6105635
12:31:16: [FileMgr] Flash file system initialized.
12:31:16: [FileMgr] No SD card installed
12:31:16: [FileMgr] Configuration File: '/config.json' loaded.
12:31:16:
12:31:16: --------------- CUT HERE FOR EXCEPTION DECODER ---------------
12:31:16:
12:31:16: Exception (28):
12:31:16: epc1=0x402405a4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x078a0087 depc=0x00000000
12:31:16:
12:31:16: >>>stack>>>
12:31:16:
12:31:16: ctx: cont
12:31:16: sp: 3ffffa50 end: 3fffffc0 offset: 0190
12:31:16: 3ffffbe0: 3fff42ac 078a0000 3ffffcdc 40236e09
12:31:16: 3ffffbf0: 3fff3ebf 078a0000 00000000 3ffe8f21
12:31:16: 3ffffc00: 078a007c 078a0000 00000000 4021d733
12:31:16: 3ffffc10: 3fff42dc 00000009 3fff0518 402053b9
12:31:16: 3ffffc20: 3fff42dc 3ffe911b 00000001 40205740
12:31:16: 3ffffc30: 3fff42dc 3fff0518 00000001 40206395
12:31:16: 3ffffc40: 3fff42dc 3ffffe20 00000000 ffffff80
12:31:16: 3ffffc50: 3ffffdb8 00000020 3fff42bc 3ffe91e5
12:31:16: 3ffffc60: 00000000 00000040 00000020 401012d4
12:31:16: 3ffffc70: 3fff3e34 00000001 3ffffd30 4010130c
12:31:16: 3ffffc80: 0000004b 00000001 3fff2e54 ffffff80
12:31:16: 3ffffc90: 3ffffdb8 3fff42fc 3fff3e34 4020833f
12:31:16: 3ffffca0: 3fff3a26 00000001 00000000 402053b9
12:31:16: 3ffffcb0: 3fff3914 3fff42dc 3fff0574 40205740
12:31:16: 3ffffcc0: 00000000 3fff056c 3fff42dc 40208f54
12:31:16: 3ffffcd0: 3fff42dc 3fff056c 00000000 00000000
12:31:16: 3ffffce0: 00000237 00000000 3fff42bc 3ffffe20
12:31:16: 3ffffcf0: 3ffffd40 3ffffe20 00000000 402053b9
12:31:16: 3ffffd00: 3ffffd8c 3fff0514 3fff42fc 3fff42fc
12:31:16: 3ffffd10: 3ffe9102 3fff0514 3fff42fc 4020655e
12:31:16: 3ffffd20: 3fff42fc 3ffffe20 0000000a 40239678
12:31:16: 3ffffd30: 00000000 3ffffdb0 3fff42fc 3ffffe20
12:31:16: 3ffffd40: 3fff42fc 3ffffe20 3fff1e90 4020670c
12:31:16: 3ffffd50: 3ffe8d44 0034003f 00000000 00000000
12:31:16: 3ffffd60: 00000227 00000227 3ffe8688 3ffe91e5
12:31:16: 3ffffd70: 3fffff10 00000001 00000480 402065a0
12:31:16: 3ffffd80: 3ffffe38 3ffffe20 3ffffe38 3ffffe20
12:31:16: 3ffffd90: 00202020 00000001 3ffffdb0 4023de80
12:31:16: 3ffffda0: 3fffff10 00000001 00000480 4020a195
12:31:16: 3ffffdb0: 00000000 002a002f 00000000 00000000
12:31:16: 3ffffdc0: 00000000 00000000 3fff0000 3ffffe20
12:31:16: 3ffffdd0: 3fff42fc 3fff42fc 3fff3800 4023803a
12:31:16: 3ffffde0: 00000000 00000002 3ffe9293 4023960c
12:31:16: 3ffffdf0: 00f42400 02f3ebea 3fff3900 4023960c
12:31:16: 3ffffe00: 0000022a 0000022a 3ffe8688 401010cb
12:31:16: 3ffffe10: 00000000 00000000 00000000 0021002f
12:31:16: 3ffffe20: 3fff3e8c 3fff3f1f 3fff421c 3fff430c
12:31:16: 3ffffe30: 3ffffe00 3fff1e90 3fff42fc 3fff42fc
12:31:16: 3ffffe40: 40100b20 3fff1e90 4024191c 00000000
12:31:16: 3ffffe50: 000003e8 3fff200c 00000000 00000000
12:31:16: 3ffffe60: 00000000 40231ef8 00000000 00000000
12:31:16: 3ffffe70: 3fff1e3c 00000000 002e6465 00000000
12:31:16: 3ffffe80: 3fff430c 00000200 00000000 0072674d
12:31:16: 3ffffe90: 00000000 00000000 72674d65 3fff200c
12:31:16: 3ffffea0: 3fffdad0 00000020 3fff38a4 401012aa
12:31:16: 3ffffeb0: 00202020 00000000 3ffffed0 40236acd
12:31:16: 3ffffec0: 3fffdad0 3fff38a4 0023002f 80000000
12:31:16: 3ffffed0: 00000000 00000000 00000000 00000000
12:31:16: 3ffffee0: 00000000 00000000 3fffff00 40236acd
12:31:16: 3ffffef0: 3fffdad0 3fff0518 3fff056c 3fff200c
12:31:16: 3fffff00: 3fffdad0 3fff0518 00000000 4020551c
12:31:16: 3fffff10: 40206580 00000000 4023de88 4023de74
12:31:16: 3fffff20: 00000000 3fff0518 00000000 40236acd
12:31:16: 3fffff30: 3fffdad0 3fff0518 00000000 40205679
12:31:16: 3fffff40: 00000000 0069007f 00000000 00000000
12:31:16: 3fffff50: 002e002f 00000000 00000000 002d002f
12:31:16: 3fffff60: 00000000 00000000 0017001f 00000000
12:31:16: 3fffff70: 00000000 0015001f 00000000 00000000
12:31:16: 3fffff80: 000e000f 00000000 00000000 feefeffe
12:31:16: 3fffff90: 00000000 feefeffe feefeffe feefeffe
12:31:16: 3fffffa0: feefeffe 00000000 3fff1ff8 402380b4
12:31:16: 3fffffb0: feefeffe feefeffe 3ffe8684 4010160d
12:31:16: <<<stack<<<
12:31:16:
12:31:16: --------------- CUT HERE FOR EXCEPTION DECODER ---------------
12:31:16:
12:31:16: ets Jan 8 2013,rst cause:2, boot mode:(3,6)
12:31:16:
12:31:16: load 0x4010f000, len 3460, room 16
12:31:16: tail 4
12:31:16: chksum 0xcc
12:31:16: load 0x3fff20b8, len 40, room 4
12:31:16: tail 4
12:31:16: chksum 0xc9
12:31:16: csum 0xc9
12:31:16: v0008a7d0
12:31:16: ~ld

12:31:16:
12:31:17: [ ESP] ESPixelStick v4.x-dev (Nov 4 2022 - 09:50:30)
12:31:17: [ ESP] SDK:2.2.2-dev(38a443e)/Core:3.0.2=30002000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-48-g7421258/BearSSL:6105635
12:31:17: [FileMgr] Flash file system initialized.
12:31:17: [FileMgr] No SD card installed
12:31:17: [FileMgr] Configuration File: '/config.json' loaded.


Reply
Posts: 49
Topic starter
(@gatoruss)
Trusted Member
Joined: 5 years ago

Continuing my post above....

If I designate the hardware as "Wemos D1 Mini" (there is no "pro" for an esp8266 in the hardware drop down menu), I get dialogue boxes (as noted in my original post) stating that the esp could not be erased and that the programming failed. However, the device then tries to connect to network but freezes. Pintout og log below.

System Output:

bin/win32/mklittlefs -c fs/ -p 256 -b 8192 -s 2072576 firmware/filesystem.bin
-= Building Filesystem Image =-
bin/win32/mklittlefs -c fs/ -p 256 -b 8192 -s 2072576 firmware/filesystem.bin
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/gs8208.html.gz
/www/index.html.gz
/www/mqtt.html.gz
/www/relay.html.gz
/www/renard.html.gz
/www/serial.html.gz
/www/servo_pca9685.html.gz
/www/tls3001.html.gz
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/gs8208.html.gz
/www/index.html.gz
/www/mqtt.html.gz
/www/relay.html.gz
/www/renard.html.gz
/www/serial.html.gz
/www/servo_pca9685.html.gz
/www/tls3001.html.gz
/www/tm1814.html.gz
/www/ucs1903.html.gz
/www/ucs8903.html.gz
/www/ws2801.html.gz
/www/ws2811.html.gz
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 erase_flash
/www/tm1814.html.gz
/www/ucs1903.html.gz
/www/ucs8903.html.gz
/www/ws2801.html.gz
/www/ws2811.html.gz
Done

-= Erasing ESP Flash =-
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 erase_flash
esptool.py v2.8
Serial port COM9
Traceback (most recent call last):
File "C:\Users\russ\Desktop\Tools\ExpixelStick_(v4.x_Martin_16nov2022)\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2889, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 237, in __init__
self._port = serial.serial_for_url(port)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\__init__.py", line 88, in serial_for_url
instance.open()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\serialwin32.py", line 62, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM9': PermissionError(13, 'Access is denied.', None, 5)
esptool.py v2.8
Serial port COM9
Traceback (most recent call last):
File "C:\Users\russ\Desktop\Tools\ExpixelStick_(v4.x_Martin_16nov2022)\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2889, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 237, in __init__
self._port = serial.serial_for_url(port)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\__init__.py", line 88, in serial_for_url
instance.open()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\serialwin32.py", line 62, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM9': PermissionError(13, 'Access is denied.', None, 5)
Done
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/d1_mini-app.bin 0x200000 firmware/filesystem.bin

-= Uploading Firmware =-
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/d1_mini-app.bin 0x200000 firmware/filesystem.bin
esptool.py v2.8
Serial port COM9
Traceback (most recent call last):
File "C:\Users\russ\Desktop\Tools\ExpixelStick_(v4.x_Martin_16nov2022)\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2889, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 237, in __init__
self._port = serial.serial_for_url(port)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\__init__.py", line 88, in serial_for_url
instance.open()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\serialwin32.py", line 62, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM9': PermissionError(13, 'Access is denied.', None, 5)
esptool.py v2.8
Serial port COM9
Traceback (most recent call last):
File "C:\Users\russ\Desktop\Tools\ExpixelStick_(v4.x_Martin_16nov2022)\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2889, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 237, in __init__
self._port = serial.serial_for_url(port)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\__init__.py", line 88, in serial_for_url
instance.open()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\serial\serialwin32.py", line 62, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM9': PermissionError(13, 'Access is denied.', None, 5)
Done

ESP Action FAILED Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Traceback (most recent call last):
File "C:\Users\russ\Desktop\Tools\ExpixelStick_(v4.x_Martin_16nov2022)\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2938, in main
operation_func(esp, args)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2516, in erase_flash
esp.erase_flash()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 104, in inner
return func(*args, **kwargs)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 714, in erase_flash
self.check_command("erase flash", self.ESP_ERASE_FLASH,
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 369, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 347, in command
p = self.read()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 292, in read
return next(self._slip_reader)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2045, in slip_reader
raise FatalError("Timed out waiting for packet %s" % waiting_for)
esptool.FatalError: Timed out waiting for packet content
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Traceback (most recent call last):
File "C:\Users\russ\Desktop\Tools\ExpixelStick_(v4.x_Martin_16nov2022)\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2938, in main
operation_func(esp, args)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2516, in erase_flash
esp.erase_flash()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 104, in inner
return func(*args, **kwargs)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 714, in erase_flash
self.check_command("erase flash", self.ESP_ERASE_FLASH,
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 369, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 347, in command
p = self.read()
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 292, in read
return next(self._slip_reader)
File "C:/Users/russ/Desktop/Tools/ExpixelStick_(v4.x_Martin_16nov2022)/bin/esptool\esptool.py", line 2045, in slip_reader
raise FatalError("Timed out waiting for packet %s" % waiting_for)
esptool.FatalError: Timed out waiting for packet content
Done
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/d1_mini-app.bin 0x200000 firmware/filesystem.bin

-= Uploading Firmware =-
bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM9 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/d1_mini-app.bin 0x200000 firmware/filesystem.bin
esptool.py v2.8
Serial port COM9
esptool.py v2.8
Serial port COM9
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash params set to 0x0290
Compressed 568608 bytes to 387609...

Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:86:7e:bf
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash params set to 0x0290
Compressed 568608 bytes to 387609...

Writing at 0x00000000... (4 %)
Writing at 0x00000000... (4 %)
Writing at 0x00004000... (8 %)
Writing at 0x00004000... (8 %)
Writing at 0x00008000... (12 %)
Writing at 0x00008000... (12 %)
Writing at 0x0000c000... (16 %)
Writing at 0x0000c000... (16 %)
Writing at 0x00010000... (20 %)
Writing at 0x00010000... (20 %)
Writing at 0x00014000... (25 %)
Writing at 0x00014000... (25 %)
Writing at 0x00018000... (29 %)
Writing at 0x00018000... (29 %)
Writing at 0x0001c000... (33 %)
Writing at 0x0001c000... (33 %)
Writing at 0x00020000... (37 %)
Writing at 0x00020000... (37 %)
Writing at 0x00024000... (41 %)
Writing at 0x00024000... (41 %)
Writing at 0x00028000... (45 %)
Writing at 0x00028000... (45 %)
Writing at 0x0002c000... (50 %)
Writing at 0x0002c000... (50 %)
Writing at 0x00030000... (54 %)
Writing at 0x00030000... (54 %)
Writing at 0x00034000... (58 %)
Writing at 0x00034000... (58 %)
Writing at 0x00038000... (62 %)
Writing at 0x00038000... (62 %)
Writing at 0x0003c000... (66 %)
Writing at 0x0003c000... (66 %)
Writing at 0x00040000... (70 %)
Writing at 0x00040000... (70 %)
Writing at 0x00044000... (75 %)
Writing at 0x00044000... (75 %)
Writing at 0x00048000... (79 %)
Writing at 0x00048000... (79 %)
Writing at 0x0004c000... (83 %)
Writing at 0x0004c000... (83 %)
Writing at 0x00050000... (87 %)
Writing at 0x00050000... (87 %)
Writing at 0x00054000... (91 %)
Writing at 0x00054000... (91 %)
Writing at 0x00058000... (95 %)
Writing at 0x00058000... (95 %)
Writing at 0x0005c000... (100 %)
Wrote 568608 bytes (387609 compressed) at 0x00000000 in 8.7 seconds (effective 522.1 kbit/s)...
Hash of data verified.
Compressed 2072576 bytes to 109342...

Writing at 0x0005c000... (100 %)
Wrote 568608 bytes (387609 compressed) at 0x00000000 in 8.7 seconds (effective 522.1 kbit/s)...
Hash of data verified.
Compressed 2072576 bytes to 109342...

Writing at 0x00200000... (14 %)
Writing at 0x00200000... (14 %)
Writing at 0x00204000... (28 %)
Writing at 0x00204000... (28 %)
Writing at 0x00208000... (42 %)
Writing at 0x00208000... (42 %)
Writing at 0x0020c000... (57 %)
Writing at 0x0020c000... (57 %)
Writing at 0x00210000... (71 %)
Writing at 0x00210000... (71 %)
Writing at 0x00214000... (85 %)
Writing at 0x00214000... (85 %)
Writing at 0x00218000... (100 %)
Wrote 2072576 bytes (109342 compressed) at 0x00200000 in 7.7 seconds (effective 2148.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Writing at 0x00218000... (100 %)
Wrote 2072576 bytes (109342 compressed) at 0x00200000 in 7.7 seconds (effective 2148.8 kbit/s)...
Hash of data verified.

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

ESP Action FAILED

Serial Output:

Failed to open serial port COM9sd l??| ?d?|?$?c|????s?b?#??o'?lng???cp??d{$s$p?'??d??cn?<???c??ng? l??d`?og?lor???or{? x?o?r??????co?|?b??o'? ?l`?'o?$n{???g{d`;??g{d`?d?cd`??g?$
13:01:25: [ ESP] ESPixelStick v4.x-dev (Nov 4 2022 - 09:51:25)
13:01:25: [ ESP] SDK:2.2.2-dev(38a443e)/Core:3.0.2=30002000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-48-g7421258/BearSSL:6105635
13:01:25: [FileMgr] Flash file system initialized.
13:01:25: [FileMgr] No SD card installed
13:01:25: [FileMgr] Configuration File: '/config.json' loaded.
13:01:25: [FileMgr] Configuration File: '/input_config.json' saved 1004 bytes.
13:01:25: [FileMgr] Configuration File: '/output_config.json' saved 1566 bytes.
13:01:26: [FileMgr] Configuration File: '/input_config.json' loaded.
13:01:26: [FileMgr] Configuration File: '/output_config.json' loaded.
13:01:26: [FileMgr] Configuration File: '/config.json' saved 378 bytes.
13:01:26: [WiFiDrv] WiFi Entering State: Connecting Using Config Credentials
13:01:27: [WiFiDrv] Using DHCP
13:01:27: [WiFiDrv] Connecting to 'rdrnetwork' as esps-867ebf
13:01:27: [WiFiDrv] WiFi Failed to connect using Configured Credentials
13:01:43: [WiFiDrv] WiFi Entering State: Connecting Using Default Credentials
13:01:43: [WiFiDrv] Using DHCP
13:01:43: [WiFiDrv] Connecting to 'DEFAULT_SSID_NOT_SET' as esps-867ebf
13:01:43: [WiFiDrv] WiFi Failed to connect using default Credentials
13:01:59: [WiFiDrv] WiFi Entering State: Connecting As AP
13:01:59: [WiFiDrv] WiFi SOFTAP: ssid: 'ESPixelStick-esps-867ebf
13:01:59: [WiFiDrv] WiFi SOFTAP: IP Address: '(IP unset)
13:01:59: [WiFiDrv] WiFi STA Failed to connect
13:03:44: [WiFiDrv] WiFi Entering State: Connection Failed
13:03:44: [WiFiDrv] WiFi Entering State: Connecting Using Config Credentials
13:03:45: [WiFiDrv] Using DHCP
13:03:45: [WiFiDrv] Connecting to 'rdrnetwork' as esps-867ebf
13:03:45: [WiFiDrv] WiFi Failed to connect using Configured Credentials
13:04:01: [WiFiDrv] WiFi Entering State: Connecting Using Default Credentials
13:04:01: [WiFiDrv] Using DHCP
13:04:01: [WiFiDrv] Connecting to 'DEFAULT_SSID_NOT_SET' as esps-867ebf
13:04:01:


Reply
Posts: 8517
(@angus40)
Illustrious Member
Joined: 15 years ago

This seems to be the issue.

13:04:01: [WiFiDrv] Connecting to 'DEFAULT_SSID_NOT_SET' as esps-867ebf

Reply
Posts: 49
Topic starter
(@gatoruss)
Trusted Member
Joined: 5 years ago

I am able to connect the device to the network with a simple test sketch uploaded via the Arduino IDE.


Reply
Page 2 / 14
Share: