Does esp8266 support FOTA form NONOS(2.1.0) to FreeRTOS(1.5.0)?
Our products' firmware based on NONOS SDK before, now we want to use the FreeRTOS SDK. So we need to do a ota from nonos to freertos. but log shows :
upgrade file download start.
please check the bin file
totallen = 2687
totallen = 4147
upgrade_check
user_esp_platform_upgrade_failed.
jsut like https://bbs.espressif.com/viewtopic.php?t=1546,
I tried to modify Makefile and gen_appbin.py . now compiled success ,but it does not work when I do ota again.the same problem.
Does esp8266 support FOTA form NONOS to FreeRTOS
-
- Posts: 195
- Joined: Sat Apr 01, 2017 1:21 am
- Contact:
Re: Does esp8266 support FOTA form NONOS to FreeRTOS
Postby AgentSmithers » Tue Mar 06, 2018 2:11 am
waies wrote:Does esp8266 support FOTA form NONOS(2.1.0) to FreeRTOS(1.5.0)?
Our products' firmware based on NONOS SDK before, now we want to use the FreeRTOS SDK. So we need to do a ota from nonos to freertos. but log shows :
upgrade file download start.
please check the bin file
totallen = 2687
totallen = 4147
upgrade_check
user_esp_platform_upgrade_failed.
jsut like https://bbs.espressif.com/viewtopic.php?t=1546,
I tried to modify Makefile and gen_appbin.py . now compiled success ,but it does not work when I do ota again.the same problem.
Good question, I myself don't use RTOS but I assume it would boil down to the offset's of booting the .bin files, Are even the esp default init the same?
Re: Does esp8266 support FOTA form NONOS to FreeRTOS
Postby waies » Tue Mar 06, 2018 11:13 am
It works now.
216 # data_bin = struct.pack('<BBBBI',BIN_MAGIC_IROM,4,byte2,byte3,long(entry_addr,16))
217 data_bin = struct.pack('<BBBBI',BIN_MAGIC_IROM,4,0,app,long(entry_addr,16))
I forgot to modify line 216 and line 217 in esp_genapp.py yesterday!
216 # data_bin = struct.pack('<BBBBI',BIN_MAGIC_IROM,4,byte2,byte3,long(entry_addr,16))
217 data_bin = struct.pack('<BBBBI',BIN_MAGIC_IROM,4,0,app,long(entry_addr,16))
I forgot to modify line 216 and line 217 in esp_genapp.py yesterday!
Who is online
Users browsing this forum: No registered users and 163 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.