-->
Page 107 of 122

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Mon Sep 05, 2016 3:06 am
by oezcanacar
oezcanacar wrote:Hi,

that did not work for me. For the hello world sample I see a lot of garbage on the terminal. If I change the baud rate to 78600, this is seen:

Code: Select allchksum 0xcc
load 0x3ffe8380, len 332, room 4
tail 8
chksum 0xdd
csum 0xdd
rf_cal[0] !=0x05,is 0xFF

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

load 0x40100000, len 27304, room 16
tail 8
chksum 0x0a
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xcc
load 0x3ffe8380, len 332, room 4
tail 8
chksum 0xdd
csum 0xdd
rf_cal[0] !=0x05,is 0xFF

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

load 0x40100000, len 27304, room 16
tail 8
chksum 0x0a
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xcc
load 0x3ffe8380, len 332, room 4
tail 8
chksum 0xdd
csum 0xdd
rf_cal[0] !=0x05,is 0xFF

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

load 0x40100000, len 27304, room 16
tail 8
chksum 0x0a
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xcc
load 0x3ffe8380, len 332, room 4
tail 8
chksum 0xdd
csum 0xdd
rf_cal[0] !=0x05,is 0xFF



Any idea, how to eliminate this issue?

Thanks



Turns out, that the base address of the eagle.irom0text.bin file is set wrong in Makefile.

Should be 40000 and not 10000

ifeq ($(app), 0)
$(ESPTOOL) -p $(ESPPORT) -b $(BAUD) write_flash $(flashimageoptions) 0x00000 $(FW_BASE)/eagle.flash.bin 0x40000 $(FW_BASE)/eagle.irom0text.bin
else
ifeq ($(boot), none)
$(ESPTOOL) -p $(ESPPORT) -b $(BAUD) write_flash $(flashimageoptions) 0x00000 $(FW_BASE)/eagle.flash.bin 0x40000 $(FW_BASE)/eagle.irom0text.bin

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Mon Sep 05, 2016 6:25 am
by Singman
I'm using that kit under windows but I should modify a few batch because tools are under a dir named ESP8266 :D
BTW, I need a reference to know what base address to use when using different boards (I have ESP8266-12E 4Mb and ESP8266-100 8Mb).

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Mon Sep 05, 2016 6:26 am
by CARPP
This is my flashinit segment in the Makefile (address of "esp_init_data_default.bin" already was at 0x3fc000):

flashinit:
$(vecho) "Flash init data:"
$(vecho) "Default config (Clear SDK settings):"
$(vecho) "blank.bin-------->0x3e000"
$(vecho) "blank.bin-------->0x3fc000"
$(vecho) "esp_init_data_default.bin-------->0x3fc000"
$(ESPTOOL) -p $(ESPPORT) write_flash $(flashimageoptions) \
0x3e000 $(SDK_BASE)/bin/blank.bin \
0x3fc000 $(SDK_BASE)/bin/esp_init_data_default.bin \
0x3fe000 $(SDK_BASE)/bin/blank.bin



And this:

SPI_SIZE_MAP ?= 4


Changing the SPI_SIZE_MAP didn't do anything :(

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Mon Sep 05, 2016 6:42 am
by hdrut
Take a good look at your code:

$(vecho) "blank.bin-------->0x3fc000"
$(vecho) "esp_init_data_default.bin-------->0x3fc000" - See more at: posting.php?mode=reply&f=9&t=820#sthash.Wb5G7Ltq.dpuf


you are apparently writing both files to same address 0x3fc000.

Try using the addresses I suggested.