ESP8266 Developer Zone The Official ESP8266 Forum 2017-07-24T19:50:26+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=5660 2017-07-24T19:50:26+08:00 2017-07-24T19:50:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=5660&p=14810#p14810 <![CDATA[Re: FOTA custom Server]]> First of all thank you very much for reply,
These are my compilation results,

Code:

Support boot_v1.4 and +
Generate user2.4096.new.6.bin successully in folder bin/upgrade.
boot.bin------------>0x00000
user2.4096.new.6.bin--->0x81000
!!!

/* This linker script generated from xt-genldscripts.tpp for LSP . */
/* Linker Script for ld -N */
MEMORY
{
  dport0_0_seg :                        org = 0x3FF00000, len = 0x10
  dram0_0_seg :                         org = 0x3FFE8000, len = 0x14000
  iram1_0_seg :                         org = 0x40100000, len = 0x8000
  irom0_0_seg :                         org = 0x40282010, len = 0x6B000 
}



please let me know if there is any changes.

Statistics: Posted by krishna — Mon Jul 24, 2017 7:50 pm


]]>
2017-07-24T10:03:23+08:00 2017-07-24T10:03:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=5660&p=14777#p14777 <![CDATA[Re: FOTA custom Server]]> Maybe you should check the compilation of your user2.bin.

Statistics: Posted by Her Mary — Mon Jul 24, 2017 10:03 am


]]>
2017-07-19T18:39:49+08:00 2017-07-19T18:39:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=5660&p=14658#p14658 <![CDATA[FOTA custom Server]]> I am krishna,
I am using ESP8266 size of 4096KB, i want to upgrade my firmware using custom fota server.
Loaded user1.bin using NODEMCU FIRMWARE PROGRAMMER tool, and it is working fine.
And i kept user2.bin in my server, and i am able to down load the user2.bin(from address location : 0x81000), as i finish downloading i am calling system_upgrade_reboot(); function to upgrade but it is throwing an exception :

Code:

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user2 @ 81000

Fatal exception (0):
epc1=0x60000001, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000



please help me to come out of this problem.

Statistics: Posted by krishna — Wed Jul 19, 2017 6:39 pm


]]>