New ESP8266 Arduino core ver. 2.6.0

In version 2.6.0 i cannot upload to the board, in 2.5.2 it is ok

Here the ouput in 2.6.0:

Executable segment sizes:


IROM   : 226552          - code in flash         (default or ICACHE_FLASH_ATTR) 


IRAM   : 26716   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...) 


DATA   : 1252  )         - initialized variables (global, static) in RAM/HEAP 


RODATA : 480   ) / 81920 - constants             (global, static) in RAM/HEAP 


BSS    : 24808 )         - zeroed variables      (global, static) in RAM/HEAP 


Sketch uses 255000 bytes (51%) of program storage space. Maximum is 499696 bytes.
Global variables use 26540 bytes (32%) of dynamic memory, leaving 55380 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.7
Serial port COM5
Connecting........_
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 84:0d:8e:88:70:07
Uploading stub...
Running stub...
Stub running...
Manufacturer: 85
Device: 6014
Detected flash size: 1MB
Hard resetting via RTS pin...
esptool.py v2.7
Serial port COM5
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
  File "C:\Users\hans\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0/tools/upload.py", line 25, in <module>
    esptool.main(fakeargs)
  File "C:/Users/hans/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 2841, in main
    esp.connect(args.before)
  File "C:/Users/hans/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 483, in connect
    raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
_
the selected serial port _
 does not exist or your board is not connected

And here the same scetch (Blink) in 2.5.2:

Sketch uses 257696 bytes (51%) of program storage space. Maximum is 499696 bytes.
Global variables use 26572 bytes (32%) of dynamic memory, leaving 55348 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM5
Connecting........_
Chip is ESP8266EX
Features: WiFi
MAC: 84:0d:8e:88:70:07
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Flash params set to 0x0320
Compressed 261856 bytes to 191265...

Writing at 0x00000000... (8 %)
Writing at 0x00004000... (16 %)
Writing at 0x00008000... (25 %)
Writing at 0x0000c000... (33 %)
Writing at 0x00010000... (41 %)
Writing at 0x00014000... (50 %)
Writing at 0x00018000... (58 %)
Writing at 0x0001c000... (66 %)
Writing at 0x00020000... (75 %)
Writing at 0x00024000... (83 %)
Writing at 0x00028000... (91 %)
Writing at 0x0002c000... (100 %)
Wrote 261856 bytes (191265 compressed) at 0x00000000 in 20.9 seconds (effective 100.4 kbit/s)...
Hash of data verified.

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

it is better to report your issue at

Best Regards

Another minor release…

Release 2.6.1

Pete.

3 Likes

Thank @PeteKnight for the update.

I tested and this version is working OK and better than 2.5.2. Depending on your sketch, you can save around 1 KBytes of binary.
The fatal git error message, introduced in 2.6.0, has been fixed in 2.6.1
FYI, if you use WebSocket with

#include <WebSocketsClient.h>

you still can get compiling error (about undefined uint32_t) unless you fix the file :

esp8266com/esp8266/cores/esp8266/core_esp8266_features.h

by replacing all uint32_t with unsigned int or add to the file

#include <stdint.h>

In WebSockets.cpp:

#ifdef ESP8266
#include <core_esp8266_features.h>
#endif

The 2.6.0 and 2.6.1 seems to fix some randomly reset issues (once per several weeks) I experienced for complicated sketches. Possibly memory leak problem.

1 Like