FOTA custom Server

krishna
Posts: 2
Joined: Wed Jul 19, 2017 1:20 pm
Location: Hyderabad,India

FOTA custom Server

Postby krishna » Wed Jul 19, 2017 6:39 pm

Hi,
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: Select all

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.
Thanks & regards,
Krishna.

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: FOTA custom Server

Postby Her Mary » Mon Jul 24, 2017 10:03 am

The upgrade is successfully, but your user2.bin cannot run.
Maybe you should check the compilation of your user2.bin.

krishna
Posts: 2
Joined: Wed Jul 19, 2017 1:20 pm
Location: Hyderabad,India

Re: FOTA custom Server

Postby krishna » Mon Jul 24, 2017 7:50 pm

Hi Her Majesty,
First of all thank you very much for reply,
These are my compilation results,

Code: Select all

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.
Thanks & regards,
Krishna.

Who is online

Users browsing this forum: No registered users and 64 guests