single AT BIN file ..

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

single AT BIN file ..

Postby phil31 » Tue Feb 17, 2015 9:56 pm

Hi team,

well, why not provide a single BIN file to flash instead of different BIN to place at different offset ?
this avoid confusing for sure !

a single file, starting every time at offset 0x00000 will be usefull for next release .. nope ?

thanks, regards

rgregor
Posts: 9
Joined: Fri Feb 06, 2015 6:45 am

Re: single AT BIN file ..

Postby rgregor » Wed Feb 18, 2015 5:36 am

if you want, you could easily create it using the ESP flash download tool:
->Click "CombineBin" button.

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

Re: single AT BIN file ..

Postby phil31 » Wed Feb 18, 2015 5:41 am

i already test it on different version
it was never successful :(

you confirm that this button work right ?

thanks

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: single AT BIN file ..

Postby rudi » Fri Feb 20, 2015 2:04 am

phil31 wrote:i already test it on different version
it was never successful :(

you confirm that this button work right ?

thanks



yes - works fine - which version you are use?

cheers

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

Re: single AT BIN file ..

Postby phil31 » Fri Feb 20, 2015 4:02 pm

i think i was tested with 0.21 version

will do more test during the week end

thanks

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

Re: single AT BIN file ..

Postby phil31 » Sun Feb 22, 2015 2:08 am

Hi,

i just try to combine bin files with "ESP FLASH DOWNLOAD TOOL V0.8" (the file is "frame_test.exe" 8304567 bytes = 7.91MB size )

i take bin files from AT-0.22.b.1.0 folder :
AT-0.22.b1.0\blank.bin ==> 0x3E000
AT-0.22.b1.0\boot_v1.2.bin ==> 0x00000
AT-0.22.b1.0\user1.new.bin ==> 0x1000 ( i try too with the file "user1.512.new.bin")
AT-0.22.b1.0\blank.bin ==> 0x7E000

i click on "combine" then i upload the "target.bin" file with the esp8266_flasher.exe.
it fail at the end :

Writing at 0x0007fc00... (96 %)
Writing at 0x00080000... (96 %)
Failed to write to target Flash

then when i reboot, i obtain this message from the bootloader ( at 75000bps) :

Code: Select all

 ets Jan  8 2013,rst cause:1, boot mode:(3,7)<CR><LF>
<CR><LF>
load 0x40100000, len 816, room 16 <CR><LF>
tail 0<CR><LF>
chksum 0x8d<CR><LF>
load 0x3ffe8000, len 788, room 8 <CR><LF>
tail 12<CR><LF>
chksum 0xcf<CR><LF>
ho 0 tail 12 room 4<CR><LF>
load 0x3ffe8314, len 288, room 12 <CR><LF>
tail 4<CR><LF>
chksum 0xcf<CR><LF>
csum 0xcf<CR><LF>
<CR><LF>
2nd boot version : 1.2<CR><LF>
  SPI Speed      : 40MHz<CR><LF>
  SPI Mode       : QIO<CR><LF>
  SPI Flash Size : 4Mbit<CR><LF>
jump to run user1<CR><LF>
<CR><LF>
get flash_addr error!<CR><LF>
user code done<CR><LF>


and unfortunately, the AT firmware (at 115200bps) don't send me the "ready" message ... :(

Please, where i'm wrong ?
thanks
Phil

Edit -----------------------------------------------------------------------
i just download now the ESP FLASH DOWNLOAD TOOL V0.9.3.1 i try with the same previous offset : no file is generated when i click on "combine" !
Traceback : File "Panel_Combine.pyo", line 113, in OnButtonConbine
WindowsError: [Error 14] not enough memory for this operation 'combine'

i'm disappointed .. :(

Edit 2-----------------------------------------------------------------------
well i had some errors with the offset !
now i tried :
i take bin files from AT-0.22.b.1.0 folder :
AT-0.22.b1.0\boot_v1.2.bin ==> 0x00000
AT-0.22.b1.0\user1.new.bin ==> 0x1000
AT-0.22.b1.0\esp_init_data_default.bin ==> 0x7C000
AT-0.22.b1.0\blank.bin ==> 0x7E000

i successful generate a "combine file" then i upload it with the flash downloader

when i boot the ESP8266, i receive :
<<ESC>c<ESC>d`<ETX>;l„<ETX>ՁMEM CHECK FAIL!!!<CR><LF>
ä{$Oÿ<CR><LF>
ready<CR><LF>

22/02/2015 22:35:08.509 [TX] - AT+GMR<CR><LF>
22/02/2015 22:35:08.513 [RX] - AT+GMR<CR>
<CR><LF>
AT version:0.22.b1.0<CR><LF>
SDK version:0.9.5<CR><LF>
<CR><LF>
OK<CR><LF>

seem working, but what is that "MEM CHECK FAIL!!!" message please ?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: single AT BIN file ..

Postby ESP_Faye » Wed Feb 25, 2015 10:11 am

Hi, phil31

the "MEM CHECK FAIL!!!" problem has been resolved in esp_iot_sdk_v0.9.6_b1 http://bbs.espressif.com/viewtopic.php?f=7&t=205

please have a try ~

Thanks for your interest in ESP8266 !

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

Re: single AT BIN file ..

Postby phil31 » Thu Feb 26, 2015 4:50 am

Faye,
please have a look to my trace.. it is the 0.22b1 !!

do you provide a new 0.22b1 with the SDK 0.9.6 ??

regards

edit -----------------------------------------------
just tried with the 0.22b1 / SDK0.9.6b1 : SAME message !!

Code: Select all

<ESC>gŸ<SO>dlÛ"n<STX><EOT>Ÿg„'ãolŸ|<ESC>c<ESC>l`<ETX>{lŒ<ETX>ՁMEM CHECK FAIL!!!<CR><LF>
äsdGÿ<CR><LF>
ready<CR><LF>

25/02/2015 22:35:03.570 [TX] - AT+GMR<CR><LF>

25/02/2015 22:35:03.574 [RX] - AT+GMR<CR>
<CR><LF>
AT version:0.22.b1.0<CR><LF>
SDK version:0.9.6(b1)<CR><LF>
<CR><LF>
OK<CR><LF>


here it is the way i produce a single BIN file :
boot_v1.3(b3).bin 0x0
user1.512.new.bin 0x1000
blank.bin 0x7E000

all files coming from esp_iot_sdk_v0.9.6_b1 folders (bin and at folders)
did i do something wrong please ??

regards

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: single AT BIN file ..

Postby rudi » Thu Feb 26, 2015 10:52 pm

phil31 wrote:Faye,
please have a look to my trace.. it is the 0.22b1 !!

do you provide a new 0.22b1 with the SDK 0.9.6 ??

regards

edit -----------------------------------------------
just tried with the 0.22b1 / SDK0.9.6b1 : SAME message !!



..

phil31 wrote:Hi,

i just try to combine bin files with "ESP FLASH DOWNLOAD TOOL V0.8" (the file is "frame_test.exe" 8304567 bytes = 7.91MB size )



hi

please have a try in 0.9.3

viewtopic.php?f=7&t=25

and report if you can reproduce again or solve yours with the last flash download tool version .

best wishes

rudi ;-)

btw
for interesset reason -
which module you take?
at market are several difference moduls with winbond / alternate flash chips and difference series

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

Re: single AT BIN file ..

Postby phil31 » Thu Feb 26, 2015 11:19 pm

Rudi,

my previous message say that i use the 0.9.3 Flash download tool now !
please read all my message carefuly

my module is ESP8266-02

regards

Who is online

Users browsing this forum: No registered users and 188 guests