ESPixelStick Flash ...
 
Notifications
Clear all

ESPixelStick Flash Tool

223 Posts
49 Users
0 Reactions
100.3 K Views
MartinMueller2003
Posts: 7614
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

SPIFFFs come in two sizes (as does code memory). You may have gotten a batch of the smaller ones.


Reply
Posts: 1115
(@11bravo)
Noble Member
Joined: 14 years ago

I'm not very savvy on router workings and wished that I were more smart on it, but here is what I have experienced. Between the time that I programmed the first batch, and the the second batch the router power had been turned off and back on and disconnected from PC as well during that time. So I guess it reset the routers start addressing sequence over. If I change that parameter from 10 to say 20 in the router, then the next ESP-01 that I connect to will start at 20 and the next will get 21 and so on until I unplug the router and it starts over at 20 when I resume programming again. If I change it to start at 10, the next ESP-01 will be programmed 192.168.1.10 next one will be 11 next one will 12 and so on. If I change it to 100 then the next one will be set at 192.168.1.100, 101, 102 ,103 ,104 and so on.

I tried changing the address in the ESP-01 web page when I unchecked the box USE DHCP.
I change the address and Save it, the result is the led on the TTL adapter and the ESP-01 continuously blink. I can pull the adapter from the USB port, wait a bit and plug it back in, the leds are still blinking.
I have to open up the router web page and set the start number in the router just like I did in the ESP-01 web page and do a reprogram for it will let me back into the ESP-01 web page.

It is really hard to put everything down in words here when trying to explain what goes on.
The start address sequence that I start with in the router works for me, so as it is, I'm staying with it.
I still have work to do outside before I can even get the first sequence going so I better get out there and do something.


Reply
Posts: 7
(@mdnooyer)
Active Member
Joined: 9 years ago

Thanks "The lost"

That was a golden tip.
it works fine now, i hope i have to program them once.

Greetz, Mark

{
"network": {
"ssid": "your network name",
"passphrase": "your network password",
"hostname": "",
"ip": [
192,
168,
3,
63
],
"netmask": [
255,
255,
255,
0
],
"gateway": [
192,
168,
3,
1
],
"dhcp": false,
"ap_fallback": false
},
"device": {
"id": "ESPixelStick63"
},
"e131": {
"universe": 63,
"channel_start": 1,
"channel_count": 512,
"multicast": false
},
"pixel": {
"pixel_type": 0,
"pixel_color": 0,
"gamma": true
},
"serial": {
"serial_type": 0,
"baudrate": 57600
}
}


Reply
MartinMueller2003
Posts: 7614
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

The USP adapter is a serial port. If you open a program like PuTTY or the Arduino IDE you can see the messages coming from the ESP. Those messages will tell you what IP address the ESP is using and anything else that may be going wrong.


Reply
Posts: 4
(@gmarsh)
New Member
Joined: 9 years ago

I just used this tool to flash a couple ESP modules, one of which I am putting on a Renard-Plus LCC16, It flashes fine, I get the IP, go to the web Interface and all works. but once I disconnect it and plug it into the controller, or just back into the PC, it never pulls the IP again. What gives? am I missing a step?


Reply
Posts: 16
(@stnicknc)
Eminent Member
Joined: 11 years ago
TheLost wrote:Just FYI... I've had a similar problem with a few ESP-01's I picked up on Amazon. If you change any of the settings and save... the config.json gets corrupt and the board stops working. On mine, the power light just flashes blue when this happens. I've stepped through the code and it fails in loadConfig (logs a ' Configuration File Format Error ').

It looks like there are some ESP-01's that can't handle modifying anything in SPIFFs? i plan on writing a quick test app this weekend to see whats going on.

You can get around this problem by modifying the config.json file ('spiffs' folder in the flash tool) with all your settings then upload.

I've had this exact problem. Curious to find out why. Thought i was doing something wrong, but maybe not.


Reply
sporadic
Posts: 1199
Topic starter
(@sporadic)
Noble Member
Joined: 14 years ago
gmarsh wrote:I just used this tool to flash a couple ESP modules, one of which I am putting on a Renard-Plus LCC16, It flashes fine, I get the IP, go to the web Interface and all works. but once I disconnect it and plug it into the controller, or just back into the PC, it never pulls the IP again. What gives? am I missing a step?
StNickNC wrote:I've had this exact problem. Curious to find out why. Thought i was doing something wrong, but maybe not.

This has been coming up a lot lately and seems to be related to bad ESP-01S modules that people are acquiring from various sources. If it's not an ESPixelStick kit bundled with the module, I recommend compiling from source and trying different SPIFFS configurations. The issue seems to be related to flash on the bad modules. If you did acquire it from me or my Amazon store, please contact me and let me know.


Reply
TheLost
Posts: 189
(@thelost)
Estimable Member
Joined: 10 years ago
sporadic wrote:This has been coming up a lot lately and seems to be related to bad ESP-01S modules that people are acquiring from various sources. If it's not an ESPixelStick kit bundled with the module, I recommend compiling from source and trying different SPIFFS configurations. The issue seems to be related to flash on the bad modules. If you did acquire it from me or my Amazon store, please contact me and let me know.

I have a bunch of ESP-01s (and non 's') that have the issue. I compiled from source but nothing i tried would work. I found it was just easier to configure the 'config.json' in your Flash Tool individually (IP, Universe... etc) then flash and never touch the webUI.

I picked up a few of THESElast week and they all seem to work fine.


Reply
Posts: 4
(@gmarsh)
New Member
Joined: 9 years ago
TheLost wrote:I have a bunch of ESP-01s (and non 's') that have the issue. I compiled from source but nothing i tried would work. I found it was just easier to configure the 'config.json' in your Flash Tool individually (IP, Universe... etc) then flash and never touch the webUI.

I picked up a few of THESElast week and they all seem to work fine.

I would like to think that's the problem, but one of the ESPs came from Renard-Plus, and the other on Ebay, and same result with both.
When flashing it for a Renard LLC-16, I choose "Serial (DMX/Renard) v3.0-rc3 (201708056)", is this the correct firmware for the LLC16?


Reply
Posts: 16
(@stnicknc)
Eminent Member
Joined: 11 years ago
TheLost wrote:I have a bunch of ESP-01s (and non 's') that have the issue. I compiled from source but nothing i tried would work. I found it was just easier to configure the 'config.json' in your Flash Tool individually (IP, Universe... etc) then flash and never touch the webUI.

I picked up a few of THESElast week and they all seem to work fine.

I’m trying to flash these to use with serial output to an ss24. I can’t figure out how or where in the config file to set it to to Renard and the correct settings for it. Can anyone point me inthe right direction? Thanks!


Reply
Page 19 / 23
Share: