//#define DEBUG_UPDATER Serial
the web update - works without problem:
Booting Sketch...
HTTPUpdateServer ready! Open http://esp8266-webupdate.local/update in your browser
Staged: address:0x00059000, size:0x00054B30
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
@cp:0
ld
Booting
OTA server at: ESP8266-OTA-22e89:8266
Ready
Second version
Second version
finally:
time.sleep(2)
connection.close()
First version
First version
Update Start: ip:192.168.0.101, port:48266, size:346928
Staged: address:0x002AB000, size:0x00054B30
Update Success
Rebooting...
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
@cp:0
ld
Booting
OTA server at: ESP8266-OTA-22e89:8266
Ready
Second version
Second version
Second version
I have code signed everything on my computer. python, the arduino IDE, the ota script. in every case the output from codesign -dvvv is this
Executable=/Users/amelvin/Arduino/esp8266/tools/espota.py
Identifier=espota
Format=generic
CodeDirectory v=20100 size=115 flags=x0(none) hashes=1+2 location=embedded
Hash type=sha1 size=20
CDHash=c6c79c6ddb2ddc59f050130c279bff6e82f63da7
Signature size=1501
Authority=mycodesigning
Signed Time=3 Nov 2015, 14:28:47
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=2 size=136
none of it makes any difference. the cert mycodesigning is trusted for everything. i've restarted my machine.. from what i can see this should work...
Unpack the tool into `tools` directory (the path will look like `<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar`)
/code
[SPIFFS] data : /Users/waldemar/Documents/Arduino/WordClock/data
[SPIFFS] size : 3052
[SPIFFS] page : 256
[SPIFFS] block : 8192
/data.img
[SPIFFS] upload : /var/folders/_n/sy8p0xjs0dlffvp139xmn9qm0000gn/T/build7861671219293661246.tmp/WordClock.spiffs.bin
[SPIFFS] reset : nodemcu
[SPIFFS] port : /dev/cu.SLAB_USBtoUART
[SPIFFS] speed : 115200
[SPIFFS] address: 0x100000
Uploading 3125248 bytes from /var/folders/_n/sy8p0xjs0dlffvp139xmn9qm0000gn/T/build7861671219293661246.tmp/WordClock.spiffs.bin to flash at 0x00100000
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
SPIFFS Upload failed!