Search found 5 matches

by 独孤垂钓2003
Tue May 01, 2018 12:46 pm
Forum: General Q&A
Topic: 如何将大数组存放在flash空间?
Replies: 1
Views: 2073

Re: 如何将大数组存放在flash空间?

被自己蠢哭了,跟函数一样加个ICACHE_FLASH_ATTR就可以了 :D
by 独孤垂钓2003
Tue May 01, 2018 12:00 pm
Forum: General Q&A
Topic: 如何将大数组存放在flash空间?
Replies: 1
Views: 2073

如何将大数组存放在flash空间?

请问如何将几十K大小的数组存放在flash里面,不占用内存空间呢?

用了const好像不管用,还是占用了heap空间。

谢谢了!
by 独孤垂钓2003
Wed Nov 02, 2016 7:58 pm
Forum: ESP8266 SDK
Topic: multiple client socket connections issue w/ RTOS SDK
Replies: 0
Views: 4165

multiple client socket connections issue w/ RTOS SDK

Hi, I'm trying to use two client sockets to connect the remote server, one is for message/command communication while another one is used for OTA upgrade. These two sockets are using differnt port. Now the problem is that, I can create both two sockets, connected to the remote server. But only one s...
by 独孤垂钓2003
Thu Sep 22, 2016 12:04 pm
Forum: ESP8266 SDK
Topic: Fatal exception (29) during OTA upgrade
Replies: 0
Views: 1804

Fatal exception (29) during OTA upgrade

Hi, I got crash (exception 29) during the ota upgrade process. I tried lots of time and confirmed the crash pointer were always the same, as highlighted ecp1 below. When i looked into the symbol file, unfortunately i could not find the address like that (.S and .dump files). Even the dump file told ...
by 独孤垂钓2003
Wed Sep 21, 2016 8:35 pm
Forum: ESP8266 SDK
Topic: OTA升级后重启版本不切换问题
Replies: 2
Views: 2557

OTA升级后重启版本不切换问题

Hi 我用自己搭的http server作为ota升级服务器,可以看到版本正确的被下载和写到flash,最后crc校验也成功,信息如下: upgrade data load finish. img_crc = 293621782 flash_crc = 293621782 最后在升级的回调函数中调用 system_upgrade_reboot() 重新启动。启动后发现boot没有跳转到0x81000的user2.bin执行,还是从0x1000位置启动user1.bin版本,信息如下: ets Jan 8 2013,rst cause:2, boot mode:(3,0) load 0x4010...

Go to advanced search