I think we're close now!! I will make some effort tomorrow. Thanks for your persistent.

Moderators: grovkillen, Stuntteam, TD-er
Thank you for that log. If possible please download 0.00.019 and test. I changed some code but are not really able to test it since the old code works for me as well.budman1758 wrote: ↑09 Jan 2018, 22:05Methinks you be making great progress dude!! It WORKS!!!grovkillen wrote: ↑09 Jan 2018, 21:35 I have now hopefully squished the last two bugs (the date/time and the FTDI problem)...![]()
![]()
![]()
![]()
Found the correct ports for both of my devices.
Tried to flash a new -01 module and it flashed it fine but the app says it ended with an error. I had it set to post flash options and I think that's where the error might be cause the unit flashed fine. I connected with Putty and set the wifi stuff and its up and running. Here is the log output.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Code: Select all
######2018-01-09###### #######0.00.017####### ######FLASH INFO###### BIN file: ESP_Easy_v2.0.0-dev13_test_ESP8266_1024.bin COM port: (COM5) USB Serial Port Baud rate: 115200 ######POST FLASH###### Unit name: test Unit number: 26 Admin password: WiFi SSID 1: xxxxxxxxxx WiFi password 1: xxxxxxxxxx WiFi SSID 2: WiFi password 2: IP: <DHCP> ######FLASH LOG###### [esptool.exe -vv -cd nodemcu -cb 115200 -cp COM5 -ca 0x00000 -cf "C:\Users\Budman\Documents\Arduino Docs\ESPeasy Stuff\Flash Utilities\ESP_Easy_Flasher-master\BIN\ESP_Easy_v2.0.0-dev13_test_ESP8266_1024.bin"] [1/9/2018 12:50:04 PM] esptool v0.4.12 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de> [1/9/2018 12:50:04 PM] setting board to nodemcu [1/9/2018 12:50:04 PM] setting baudrate from 115200 to 115200 [1/9/2018 12:50:04 PM] setting port from to COM5 [1/9/2018 12:50:04 PM] setting address from 0x00000000 to 0x00000000 [1/9/2018 12:50:04 PM] espcomm_upload_file [1/9/2018 12:50:04 PM] espcomm_upload_mem [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] opening bootloader [1/9/2018 12:50:04 PM] resetting board [1/9/2018 12:50:04 PM] trying to connect [1/9/2018 12:50:04 PM] flush start [1/9/2018 12:50:04 PM] setting serial port timeouts to 1 ms [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] flush complete [1/9/2018 12:50:04 PM] espcomm_send_command: sending command header [1/9/2018 12:50:04 PM] espcomm_send_command: sending command payload [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2013 bytes of data [1/9/2018 12:50:04 PM] read 0, requested 1 [1/9/2018 12:50:04 PM] error: failed reading byte [1/9/2018 12:50:04 PM] warning: espcomm_send_command: can't receive slip payload data [1/9/2018 12:50:04 PM] trying to connect [1/9/2018 12:50:04 PM] flush start [1/9/2018 12:50:04 PM] setting serial port timeouts to 1 ms [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] flush complete [1/9/2018 12:50:04 PM] espcomm_send_command: sending command header [1/9/2018 12:50:04 PM] espcomm_send_command: sending command payload [1/9/2018 12:50:04 PM] read 0, requested 1 [1/9/2018 12:50:04 PM] trying to connect [1/9/2018 12:50:04 PM] flush start [1/9/2018 12:50:04 PM] setting serial port timeouts to 1 ms [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] flush complete [1/9/2018 12:50:04 PM] espcomm_send_command: sending command header [1/9/2018 12:50:04 PM] espcomm_send_command: sending command payload [1/9/2018 12:50:04 PM] serialport_receive_C0: 72 instead of C0 [1/9/2018 12:50:04 PM] resetting board [1/9/2018 12:50:04 PM] trying to connect [1/9/2018 12:50:04 PM] flush start [1/9/2018 12:50:04 PM] setting serial port timeouts to 1 ms [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] flush complete [1/9/2018 12:50:04 PM] espcomm_send_command: sending command header [1/9/2018 12:50:04 PM] espcomm_send_command: sending command payload [1/9/2018 12:50:04 PM] read 0, requested 1 [1/9/2018 12:50:04 PM] trying to connect [1/9/2018 12:50:04 PM] flush start [1/9/2018 12:50:04 PM] setting serial port timeouts to 1 ms [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] flush complete [1/9/2018 12:50:04 PM] espcomm_send_command: sending command header [1/9/2018 12:50:04 PM] espcomm_send_command: sending command payload [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] Uploading 623136 bytes from C:\Users\Budman\Documents\Arduino Docs\ESPeasy Stuff\Flash Utilities\ESP_Easy_Flasher-master\BIN\ESP_Easy_v2.0.0-dev13_test_ESP8266_1024.bin to flash at 0x00000000 [1/9/2018 12:50:04 PM] erasing flash [1/9/2018 12:50:04 PM] size: 098220 address: 000000 [1/9/2018 12:50:04 PM] first_sector_index: 0 [1/9/2018 12:50:04 PM] total_sector_count: 153 [1/9/2018 12:50:04 PM] head_sector_count: 16 [1/9/2018 12:50:04 PM] adjusted_sector_count: 137 [1/9/2018 12:50:04 PM] erase_size: 089000 [1/9/2018 12:50:04 PM] espcomm_send_command: sending command header [1/9/2018 12:50:04 PM] espcomm_send_command: sending command payload [1/9/2018 12:50:04 PM] setting serial port timeouts to 15000 ms [1/9/2018 12:50:04 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:50:04 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:50:04 PM] writing flash [1/9/2018 12:50:13 PM] ................................................................................ [ 13% ] [1/9/2018 12:50:21 PM] ................................................................................ [ 26% ] [1/9/2018 12:50:30 PM] ................................................................................ [ 39% ] [1/9/2018 12:50:39 PM] ................................................................................ [ 52% ] [1/9/2018 12:50:48 PM] ................................................................................ [ 65% ] [1/9/2018 12:50:57 PM] ................................................................................ [ 78% ] [1/9/2018 12:51:06 PM] ................................................................................ [ 91% ] [1/9/2018 12:51:12 PM] ................................................. [ 100% ] [1/9/2018 12:51:12 PM] starting app without reboot [1/9/2018 12:51:12 PM] espcomm_send_command: sending command header [1/9/2018 12:51:12 PM] espcomm_send_command: sending command payload [1/9/2018 12:51:12 PM] espcomm_send_command: receiving 2 bytes of data [1/9/2018 12:51:12 PM] closing bootloader [1/9/2018 12:51:12 PM] flush start [1/9/2018 12:51:12 PM] setting serial port timeouts to 1 ms [1/9/2018 12:51:12 PM] setting serial port timeouts to 1000 ms [1/9/2018 12:51:12 PM] flush complete [2018-01-09 12:49:55] STOPPED due to errors! (try reset on the unit, then start a new flash attempt)
Same thing. I don't think the unit is resetting at all. There was no activity light flashing on my usb unit and the module was doing nothing when I connected after the flasher was done. I had to reset the module b4 there was anything in the serial console.grovkillen wrote: ↑10 Jan 2018, 19:51 PS: if you reflash the same unit, does it respond to the serial communication?
I might need the user to actually press the reset switch? Hmm... My nodeMCU and D1 mini that I use accept the serial commands right away.budman1758 wrote: ↑10 Jan 2018, 20:31Same thing. I don't think the unit is resetting at all. There was no activity light flashing on my usb unit and the module was doing nothing when I connected after the flasher was done. I had to reset the module b4 there was anything in the serial console.grovkillen wrote: ↑10 Jan 2018, 19:51 PS: if you reflash the same unit, does it respond to the serial communication?
Tried it. Flashed fine but after flash settings still no workie. I uploaded a debug file to your dropbox.grovkillen wrote: ↑11 Jan 2018, 15:07 https://github.com/Grovkillen/ESP_Easy_Flasher/releases
Version 0.00.020 is released with a new checkbox which will let the user manually reboot the device after flash.
https://github.com/Grovkillen/ESP_Easy_Flasher/releasesbudman1758 wrote: ↑12 Jan 2018, 05:06Tried it. Flashed fine but after flash settings still no workie. I uploaded a debug file to your dropbox.grovkillen wrote: ↑11 Jan 2018, 15:07 https://github.com/Grovkillen/ESP_Easy_Flasher/releases
Version 0.00.020 is released with a new checkbox which will let the user manually reboot the device after flash.
Tried to get a screenshot of one of the powershell windows but they flash on and off too fast. Might help if they stay visible. Pretty sure the problems are related to Powershell. Are admin privileges transferring to them?
Hate to rain on the parade but post flash still no workie. You have a new debug file in yer dropbox.grovkillen wrote: ↑12 Jan 2018, 09:48 I have now tried to fix the issue regarding serial commands not being accepted. Please update to latest 0.00.021 version...
Okay, I just flashed (+post flashed) a Basic but the new ones need to be flashed using the ESP8255 bin file. Everything worked then... at least for me.Zeric wrote: ↑16 Jan 2018, 03:11 Thanks for working on it, I know it's early and my intent was to be helpful.
The board I was testing it on is listed as a known supported ESPEasy board on www.letscontrolit.com/wiki/index.php/ESP_Hardware. It is a recently purchased Sonoff basic. None of the Sonoff devices support nodemcu style control of GPIO0 and RESET, they all need to be manually reset between esptool operations, and Sonoff boards are *very* popular. Some people use an Arduino as ISP mode to program them, I use an inexpensive USB/Serial converter that supports both 5V and 3.3V and works very well (cost about $2 from ebay/china, $7 on amazon).
Thanks for pointing out the "force DOUT" option, I don't know how I missed the checkbox at the bottom. This latest sonoff basic I purchased needed to slow down the memory clock. I'm guessing the manufacturer changed to a different memory chip. Other sonoff devices I have used (over a dozen) did not require this.
I'm also wondering if I have some sort of font issue, the windows looks a little odd especially along the bottom and different from the one in your first post. Here is a image of how it displays for me:
Any idea of what the problem might be with the window?
ESP32 is not yet supported by the flasher. Sorry! It's on the road map though.
ok, thanks will checkgrovkillen wrote: ↑08 Dec 2018, 11:52 By the way. Latest release allows for custom serial commands using an external txt file.
@riker1 you can add your special subnet and gateway in this file. They will be added after the standard commands so you will see the "wrong" subnet and gateway first but these will be overrun by the custom commands right before the save is made.
Higrovkillen wrote: ↑08 Dec 2018, 11:52 By the way. Latest release allows for custom serial commands using an external txt file.
@riker1 you can add your special subnet and gateway in this file. They will be added after the standard commands so you will see the "wrong" subnet and gateway first but these will be overrun by the custom commands right before the save is made.
Code: Select all
gateway,192.168.0.1
subnet,255.255.0.0
ALT+S will save current settings to the Settings/Default.ini change the "pixels per inch" value and the zoom will work better. Save and restart the app.kenkoknz wrote: ↑17 Dec 2018, 09:22 Hi,
Version mega 20181216; Just a minor in convenience, as I normally set the scree to 125% (win7) to make it eaisier for my eyes; I am missing the bottom part of the flasher gui, does not seems to able to scale or resize, so I cant click flash.
However if I change display size back to 100% it is ok.
Thansk,
kEN
Users browsing this forum: No registered users and 15 guests