16M Flash compiled binary ?

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Forum rules
You have entered the experimental forum, beware!!!
Post Reply
Message
Author
vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

16M Flash compiled binary ?

#1 Post by vincen » 11 Jul 2017, 07:29

Hi

Being completely lost to build a compilation environnement on my computer with Atom and all dependencies, would someone have built already a 16M Flash version of ESP 2 with tests modules included ? it would be to test on a D1 Mini pro !

Thanks a lot,

Vincèn

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 16M Flash compiled binary ?

#2 Post by grovkillen » 11 Jul 2017, 08:56

Biggest build is at the moment 8M, I have compiled a test for you here: https://ufile.io/gu3y2
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: 16M Flash compiled binary ?

#3 Post by vincen » 11 Jul 2017, 09:57

grovkillen wrote: 11 Jul 2017, 08:56 Biggest build is at the moment 8M, I have compiled a test for you here: https://ufile.io/gu3y2
Thanks a lot, just tried that but not much more success :( here is result of log when system powered up. Let me know if you need more or other tests to investigate the problem ?
Is it normal file you shared is named 8285 still ?
Side note to be sure I'm not making something wrong, this is command line I use to flash (Linux Ubuntu OS):

Code: Select all

esptool.py --port /dev/ttyUSB0 write_flash -fm dio 0x00000 espeasy_git_v2.0.0_test_8285_2017-07-10.bin

Code: Select all

7€ŒŽŒŽœŒŽâŒŽrììŽlŽl`ŽlœŒŽŒŽpŒŽl`œœŒŒŽœŒŽr쎎ŒŽŒŽœŒŽŽìœŒìŽìŽŒŽœìŽìŽŽŒìŽìlœìŽŒŽpìŽìŽìŽŽŒŽœìŽŒŽŽl`ªU

INIT : Booting version: 
INIT : Warm boot #19
FS   : Mounting...
FS   : Mount failed
FS   : Mount failed
RESET: Resetting factory defaults...
RESET: Warm boot, reset count: 4
RESET: Too many resets, protecting your flash memory (powercycle to solve this)

PID:0
Version:0
INIT : Incorrect PID or version!
RESET: Resetting factory defaults...
RESET: Warm boot, reset count: 4
RESET: Too many resets, protecting your flash memory (powercycle to solve this)

Exception (0):
epc1=0x40106f19 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont 
sp: 3fff3fd0 end: 3fff4240 offset: 01a0

>>>stack>>>
3fff4170:  0000001c 00000000 3fff3158 401004d8  
3fff4180:  3fff1518 3fff3158 3fff54ac 40205b5d  
3fff4190:  00000000 00000001 0000005e 4010020c  
3fff41a0:  0000001c 00000000 3fff3158 00000000  
3fff41b0:  0000001c 00000000 3fff3158 40201710  
3fff41c0:  00000001 3fff4290 3fff3220 3fff4290  
3fff41d0:  3fffdad0 3fff3214 40203374 3fff3214  
3fff41e0:  3fffdad0 3fff3158 3fff1f3c 402152fd  
3fff41f0:  3fffdad0 3fff3158 3fff1f3c 40238ea9  
3fff4200:  feefeffe feefeffe feefeffe 3fff54bc  
3fff4210:  0000001f 00000014 feefeffe feefeffe  
3fff4220:  3fffdad0 00000000 3fff320e 402033b8  
3fff4230:  feefeffe feefeffe 3fff3220 40205d3c  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
system param error
25 00 00 00 48 54 54 50 20 3a 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 66 61 69 6c 65 64 00 00 00 00 
48 54 54 50 20 3a 20 63 6f 6e 6e 65 63 74 69 6e 67 20 74 6f 20 00 00 00 41 75 74 68 6f 72 69 7a 
61 74 69 6f 6e 3a 20 42 61 73 69 63 20 00 00 00 64 65 6d 6f 2e 70 68 70 3f 6e 61 6d 65 3d 25 73 
79 73 6e 61 6d 65 25 26 74 61 73 6b 3d 25 74 73 6b 6e 61 6d 65 25 26 76 61 6c 75 65 6e 61 6d 65 
3d 25 76 61 6c 6e 61 6d 65 25 26 76 61 6c 75 65 3d 25 76 61 6c 75 65 25 00 00 00 00 47 65 6e 65 
72 69 63 20 48 54 54 50 00 00 00 00 48 54 54 50 20 3a 20 63 6c 6f 73 69 6e 67 20 63 6f 6e 6e 65 
63 74 69 6f 6e 00 00 00 48 54 54 50 20 3a 20 53 75 63 63 65 73 21 00 00 48 54 54 50 2f 31 2e 31 
20 32 30 30 20 4f 4b 00 0d 0a 00 00 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f 73 65 0d 0a 00 
0d 0a 00 00 48 6f 73 74 3a 20 00 00 20 48 54 54 50 2f 31 2e 31 0d 0a 00 26 61 70 69 6b 65 79 3d 
00 00 00 00 2c 66 69 65 6c 64 00 00 2c 66 69 65 6c 64 00 00 7b 66 69 65 6c 64 00 00 2c 66 69 65 
6c 64 00 00 7b 66 69 65 6c 64 00 00 7b 66 69 65 6c 64 00 00 26 6a 73 6f 6e 3d 00 00 47 45 54 20 
2f 65 6d 6f 6e 63 6d 73 2f 69 6e 70 75 74 2f 70 6f 73 74 2e 6a 73 6f 6e 3f 6e 6f 64 65 3d 00 00 
48 54 54 50 20 3a 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 66 61 69 6c 65 64 00 00 00 00 25 73 25 73 
20 75 73 69 6e 67 20 70 6f 72 74 20 25 75 00 00 25 75 2e 25 75 2e 25 75 2e 25 75 00 45 6d 6f 6e 
63 6d 73 00 25 76 61 6c 6e 61 6d 65 25 00 00 00 25 69 64 25 00 00 00 00 25 74 73 6b 6e 61 6d 65 
25 00 00 00 25 73 79 73 6e 61 6d 65 25 00 00 00 74 72 75 65 00 00 00 00 74 72 75 65 00 00 00 00 
66 61 6c 73 65 00 00 00 2f 68 6f 6f 6b 73 2f 64 65 76 69 63 65 73 2f 25 69 64 25 2f 53 65 6e 73 
6f 72 44 61 74 61 2f 25 76 61 6c 6e 61 6d 65 25 00 00 00 00 2f 48 6f 6d 65 2f 23 00 50 69 44 6f 
6d 65 20 4d 51 54 54 00 4d 51 54 54 20 3a 20 00 25 76 61 6c 6e 61 6d 65 25 00 00 00 25 69 64 25 
00 00 00 00 25 74 73 6b 6e 61 6d 65 25 00 00 00 25 73 79 73 6e 61 6d 65 25 00 00 00 65 76 65 6e 
74 00 00 00 63 6d 64 00 2f 25 73 79 73 6e 61 6d 65 25 2f 25 74 73 6b 6e 61 6d 65 25 2f 25 76 61 
6c 6e 61 6d 65 25 00 00 2f 25 73 79 73 6e 61 6d 65 25 2f 23 00 00 00 00 4f 70 65 6e 48 41 42 20 
4d 51 54 54 00 00 00 00 48 54 54 50 20 3a 20 63 6c 6f 73 69 6e 67 20 63 6f 6e 6e 65 63 74 69 6f 
6e 00 00 00 48 54 54 50 20 3a 20 53 75 63 63 65 73 21 00 00 48 54 54 50 2f 31 2e 31 20 32 30 30 
20 4f 4b 00 0d 0a 0d 0a 00 00 00 00 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 00 00 00 00 
43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 77 77 77 2d 
66 6f 72 6d 2d 75 72 6c 65 6e 63 6f 64 65 64 0d 0a 00 00 00 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 
63 6c 6f 73 65 0d 0a 00 0d 0a 00 00 48 6f 73 74 3a 20 00 00 50 4f 53 54 20 2f 75 70 64 61 74 65 
20 48 54 54 50 2f 31 2e 31 0d 0a 00 61 70 69 2e 74 68 69 6e 67 73 70 65 61 6b 2e 63 6f 6d 00 00 
26 66 69 65 6c 64 00 00 61 70 69 5f 6b 65 79 3d 00 00 00 00 48 54 54 50 20 3a 20 63 6f 6e 6e 65 
63 74 69 6f 6e 20 66 61 69 6c 65 64 00 00 00 00 25 73 25 73 20 75 73 69 6e 67 20 70 6f 72 74 20 
25 75 00 00 25 75 2e 25 75 2e 25 75 2e 25 75 00 54 68 69 6e 67 53 70 65 61 6b 00 00 54 45 4c 4e 
54 3a 20 63 6c 6f 73 69 6e 67 20 63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00 54 45 4c 4e 54 3a 20 53 
65 6e 64 69 6e 67 20 63 6d 64 00 00 54 45 4c 4e 54 3a 20 53 65 6e 64 69 6e 67 20 70 77 00 00 00 
54 45 4c 4e 54 3a 20 50 61 73 73 77 6f 72 64 20 72 65 71 75 65 73 74 20 6f 6b 00 00 45 6e 74 65 
72 20 79 6f 75 72 20 70 61 73 73 77 6f 72 64 3a 00 00 00 00 54 45 4c 4e 54 3a 20 53 65 6e 64 69 
6e 67 20 65 
72 75 6c 65 73 00 00 00 73 65 74 00 54 6d 70 6c 41 50 00 00 3c 2f 66 6f 72 6d 3e 00 73 65 63 6f 
6e 64 73 20 77 68 69 6c 65 20 74 72 79 69 6e 67 20 74 6f 20 63 6f 6e 6e 65 63 74 00 3c 2f 73 63 
72 69 70 74 3e 00 00 00 29 3b 00 00 74 69 6d 65 64 52 65 66 72 65 73 68 28 00 00 00 7d 3b 00 00 
20 20 20 7d 2c 20 31 30 30 30 29 3b 00 00 00 00 20 20 20 20 20 20 20 7d 3b 00 00 00 20 20 20 20 
20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 20 3d 20 77 
69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 3b 00 00 00 00 20 20 20 20 20 20 20 63 
6c 65 61 72 49 6e 74 65 72 76 61 6c 28 74 69 6d 65 72 29 3b 00 00 00 00 20 20 20 7d 20 65 6c 73 
65 20 7b 00 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 
49 64 28 22 63 6f 75 6e 74 64 6f 77 6e 22 29 2e 69 6e 6e 65 72 48 54 4d 4c 20 3d 20 74 69 6d 65 
6f 75 74 50 65 72 69 6f 64 20 2b 20 22 2e 2e 22 20 2b 20 22 3c 62 72 20 2f 3e 22 3b 00 00 00 00 
20 20 20 20 20 20 20 74 69 6d 65 6f 75 74 50 65 72 69 6f 64 20 2d 3d 20 31 3b 00 00 20 20 20 69 
66 20 28 74 69 6d 65 6f 75 74 50 65 72 69 6f 64 20 3e 20 30 29 20 7b 00 20 20 20 76 61 72 20 74 
69 6d 65 72 20 3d 20 73 65 74 49 6e 74 65 72 76 61 6c 28 66 75 6e 63 74 69 6f 6e 28 29 20 7b 00 
66 75 6e 63 74 69 6f 6e 20 74 69 6d 65 64 52 65 66 72 65 73 68 28 74 69 6d 65 6f 75 74 50 65 72 
69 6f 64 29 20 7b 00 00 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 74 65 78 74 2f 4a 61 76 61 53 
63 72 69 70 74 22 3e 00 50 6c 65 61 73 65 20 77 61 69 74 20 66 6f 72 20 3c 68 31 20 69 64 3d 22 
63 6f 75 6e 74 64 6f 77 6e 22 3e 32 30 2e 2e 3c 2f 68 31 3e 00 00 00 00 3c 61 20 63 6c 61 73 73 
3d 22 62 75 74 74 6f 6e 22 20 68 72 65 66 3d 22 73 65 74 75 70 22 3e 42 61 63 6b 20 74 6f 20 53 
65 74 75 70 3c 2f 61 3e 00 00 00 00 3c 69 6e 70 75 74 20 74 79 70 65 3d 27 73 75 62 6d 69 74 27 
20 76 61 6c 75 65 3d 27 43 6f 6e 6e 65 63 74 27 3e 00 00 00 27 3e 3c 62 72 3e 00 00 50 61 73 73 
77 6f 72 64 3a 20 3c 69 6e 70 75 74 20 74 79 70 65 20 3d 27 74 65 78 74 27 20 6e 61 6d 65 3d 27 
70 61 73 73 27 20 76 61 6c 75 65 3d 27 00 00 00 27 3e 3c 62 72 3e 3c 62 72 3e 00 00 3c 69 6e 70 
75 74 20 74 79 70 65 20 3d 27 74 65 78 74 27 20 6e 61 6d 65 3d 27 6f 74 68 65 72 27 20 76 61 6c 
75 65 3d 27 00 00 00 00 3c 69 6e 70 75 74 20 74 79 70 65 3d 27 72 61 64 69 6f 27 20 6e 61 6d 65 
3d 27 73 73 69 64 27 20 69 64 3d 27 6f 74 68 65 72 5f 73 73 69 64 27 20 76 61 6c 75 65 3d 27 6f 
74 68 65 72 27 20 3e 6f 74 68 65 72 20 53 53 49 44 3a 3c 2f 69 6e 70 75 74 3e 00 00 3c 2f 69 6e 
70 75 74 3e 3c 62 72 3e 00 00 00 00 3e 00 00 00 20 63 68 65 63 6b 65 64 20 00 00 00 27 00 00 00 
3c 69 6e 70 75 74 20 74 79 70 65 3d 27 72 61 64 69 6f 27 20 6e 61 6d 65 3d 27 73 73 69 64 27 20 
76 61 6c 75 65 3d 27 00 4e 6f 20 41 63 63 65 73 73 20 50 6f 69 6e 74 73 20 66 6f 75 6e 64 00 00 
3c 66 6f 72 6d 20 6e 61 6d 65 3d 27 66 72 6d 73 65 6c 65 63 74 27 20 6d 65 74 68 6f 64 3d 27 70 
6f 73 74 27 3e 00 00 00 3c 68 31 3e 57 69 66 69 20 53 65 74 75 70 20 77 69 7a 61 72 64 3c 2f 68 
31 3e 3c 42 52 3e 00 00 70 61 73 73 00 00 00 00 6f 74 68 65 72 00 00 00 73 73 69 64 00 00 00 00 
54 6d 70 6c 41 50 00 00 2f 63 6f 6e 66 69 67 27 3e 50 72 6f 63 65 65 64 20 74 6f 20 6d 61 69 6e 
20 63 6f 6e 66 69 67 3c 2f 61 3e 00 3c 61 20 63 6c 61 73 73 3d 27 62 75 74 74 6f 6e 27 20 68 72 
65 66 3d 27 68 74 74 70 3a 2f 2f 00 3c 2f 68 31 3e 3c 42 52 3e 3c 42 52 3e 43 6f 6e 6e 65 63 74 
20 79 6f 75 72 20 6c 61 70 74 6f 70 20 2f 20 74 61 62 6c 65 74 20 2f 20

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 16M Flash compiled binary ?

#4 Post by grovkillen » 11 Jul 2017, 10:20

It was compiled as "test" not "normal". I don't have a unit close by to test this binary myself. Are you able to flash a regular 4M onto it using the same command in Linux?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: 16M Flash compiled binary ?

#5 Post by vincen » 11 Jul 2017, 11:03

grovkillen wrote: 11 Jul 2017, 10:20 It was compiled as "test" not "normal". I don't have a unit close by to test this binary myself. Are you able to flash a regular 4M onto it using the same command in Linux?
Yep no problem to flash the 4Mo one but it ends in bootloop after flash (see my post here about it: https://www.letscontrolit.com/forum/vie ... 473#p17473). I was thinking naively that 4M firmware would fit easily in a 16M one but it looks to be not so simple :(

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 16M Flash compiled binary ?

#6 Post by grovkillen » 11 Jul 2017, 15:10

vincen wrote: 11 Jul 2017, 11:03
grovkillen wrote: 11 Jul 2017, 10:20 It was compiled as "test" not "normal". I don't have a unit close by to test this binary myself. Are you able to flash a regular 4M onto it using the same command in Linux?
Yep no problem to flash the 4Mo one but it ends in bootloop after flash (see my post here about it: https://www.letscontrolit.com/forum/vie ... 473#p17473). I was thinking naively that 4M firmware would fit easily in a 16M one but it looks to be not so simple :(
It should not be any problem. Do you have the possibility to test another unit + another programmer?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: 16M Flash compiled binary ?

#7 Post by vincen » 11 Jul 2017, 15:31

grovkillen wrote: 11 Jul 2017, 15:10It should not be any problem. Do you have the possibility to test another unit + another programmer?
Will have to wait few days then as for now I have only one unit (more on way very soon ;) For programmer I think it's only one working on 'my' linux but going to check now and let you know ;)
2 side questions: does it make a difference the Flash mode ? qio or dio ? and I see also a Flash params set to 0x0090 in flashing process is it ok ??

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: 16M Flash compiled binary ?

#8 Post by vincen » 11 Jul 2017, 15:43

Oki so it's not the programmer ! I tried with the one from NodeMCU in Windows and exactly same result both with "regular" version 2 ESPEasy binarie and also with the one you made for me :(
Looks like a defective chip ? or something specific in the 16M version ??

[s]Made a test with a NodeMCU firmware and at least it looks to boot but not sure it really works as terminal messages at boot are really strange and it looks to hangup on that formatting thing.....[/s]

Update: I didn't wait for initial start of NodeMCU and I confirm it's well running now on my board :) so looks like the problem is specific to ESP Easy and that my board is not defective no ?? For info log of my board when it starts with NodeMCU custom firmware built:
�brlrmode : softAP(62:01:94:1c:29:53)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100

_flash_used_end:402b4e70
fs.start:c0000,max:f3a000
_flash_used_end:402b4e70
fs.start:d0000,max:f2a000
mount res: 0, 0

DYNARR_DBG(dynarr_init): Array parameters:
array_size(10)
data_size(4)
total size(bytes):40
Task task_lua started.
nul mode, fpm auto sleep set:enalbe

NodeMCU custom build by frightanic.com
branch: dev
commit: 9edcce5b44374e6647ea809dd99cb42f21a5de19
SSL: false
modules: adc,coap,cron,crypto,dht,enduser_setup,file,gpio,http,i2c,mdns,mqtt,net,node,ow,rtctime,sntp,tmr,uart,websocket,wifi
build built on: 2017-07-11 13:57
powered by Lua 5.1.4 on SDK 2.1.0(116b762)
lua: cannot open init.lua
> Heap size::41272.

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: 16M Flash compiled binary ?

#9 Post by toffel969 » 14 Jul 2017, 18:07

I replied on your other thread. Problem must be 8285vs8266 n t Flash size. I have node's with 16mbyte flash (d1 mini pro) running with 4mbytes precompiled bins
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests