cc3220sf 要OTA升级,需要看哪些文档??
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Doubi,
CC3220sf的SDK的安装包中examples目录下有OTA的例程可供参考,在docs目录下的SimpleLink_Gen1_to_Gen2_SDK_Migration_Guide.html里也有些介绍,你可以先参考一下。
另外您也可以参考文档 CC3x20 SimpleLink™ Wi-Fi® and Internet-of-Things Over the Air Update
http://www.ti.com/lit/an/swra510/swra510.pdf
希望对您有所帮助!
请问读写cc3220sf flash 有没有专门用的地址,调用哪些函数进行存储用户数据,或者查看哪些文档,或者看哪个demo??
文件系统是针对外部SPI FLASH的,你的IMAGE也是存在片外的FLASH里面的。
谢谢提示。在外部flash的读写,需要用到sl_FsOpen,sl_FsWrite,sl_FsRead等接口,我测试读写都ok,但是掉电,或重启,就读不到之前保存的数据了,请问有什么需要注意的地方吗?或者有没有关于这部分简单的例程?谢谢!
谢谢你的回答,帮助我解决了存储问题。现在遇到了新的问题:请问,CC3220SF有比较方便的OTA方式吗?使用SDK里的LOCAL OTA例程,操作中有哪些需要注意的地方?我下载程序运行后,连上了路由器,访问不到ota.html,接下来该怎么操作呢?谢谢!
以下是log信息:
=================================================
local ota Example Ver. 1.00.00.10
=================================================
[Local ota task] Wake up on Power ON
[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1
[Local ota task] ConfigureHttpServer for secured mode...
[Local ota task] HTTP Server Stopped
[Local ota task] HTTP Server Re-started
[Local ota task] Device is configured in default state
[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1
[Local ota task] SimpleLinkInitCallback: started in role 2, set the requested role 0
[Local ota task] SimpleLinkInitCallback: restarted in role 0
[Provisioning task] detected device is CC3220SF
[Local ota task] Host Driver Version: 2.0.1.26
Build Version 3.6.0.3.31.2.0.0.0.2.2.0.6
[Local ota task] WlanConnect SSID=cc3220demo
[WLAN EVENT] STA Connected to the AP: cc3220demo ,BSSID: 20:6b:e7:e6:dd:d4
[NETAPP EVENT] IP Acquired: IP=192.168.1.101 , Gateway=192.168.1.1
[Local ota task] Pinging gateway, please wait...
[Local ota task] pinging to gateway succeeded
[Local ota task] waiting for new ota upload...