i tried to flash my code via the espflashtool, this is how i configured it (i use an ESP-12F):
eagle.flash.bin @ 0x00000
eagle.irom0text.bin@0x40000
leads to this message at startup:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 27904, room 16
tail 0
chksum 0x69
load 0x3ffe8000, len 884, room 8
tail 12
chksum 0xa6
ho 0 tail 12 room 4
load 0x3ffe8380, len 344, room 12
tail 12
chksum 0x71
csum 0x71
Could someone please explain how to use the tool. My ESP8266 has 4Mbyte of flash connected.