4

Sipeed M0S 官方SDK WIFI测试

 9 months ago
source link: https://www.taterli.com/9623/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Sipeed M0S 官方SDK WIFI测试

Sipeed M0S 官方SDK WIFI测试

我很久之前在官方的Issue里写了一条,但是从来没人回复,那好吧,没人回复我就自己找问题.

https://github.com/bouffalolab/bouffalo_sdk/issues/174

最后找到了是分区表的毛病,最后修改flash_prog_cfg.ini为如下内容,就正确使用了.

[cfg]
# 0: no erase, 1:programmed section erase, 2: chip erase
erase = 1
# skip mode set first para is skip addr, second para is skip len, multi-segment region with ; separated
skip_mode = 0x0, 0x0
# 0: not use isp mode, #1: isp mode
boot2_isp_mode = 0

[FW]
filedir = ./build/build_out/wifi*_$(CHIPNAME).bin
address = 0x000000

运行截图.

image-14-1024x725.png

但是这明显还不能让我满意,为什么去掉了OTA分区,这个执行就OK了呢?找到了分区(partition_cfg_4M.toml)文件看看,但是显然也没法分析,毕竟分区加载等也都是已编译的,除非去分析汇编,国内东西让人真失望,所幸的是,不用OTA分区,功能是没什么改变的.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK