最近我的模块的flash变为了4MB,于是我需要重新编译和烧写user1.1024.new.bin,烧写如图:
我在0xFE000的地方烧写了blank.bin,应该是擦除系统数据,但是我发现这样重新烧写程序之后,模块依旧会自动连接wifi,说明wifi的信息依旧保存在模块中。烧写后log如下:
Code: Select all
wifi auto connect:1
IOT VERSION = v1.0.2t45772(a)
flag.flag = 255
mode : sta(18:fe:34:9b:a1:16)
add if0
10:31:10.303 scandone
10:31:11.205 add 0
aid 22
pm open phy_2,type:2 0 0
cnt
10:31:11.424
connected with linptech, channel 2
dhcp client start...
10:31:12.413 ip:192.168.1.124,mask:255.255.255.0,gw:192.168.1.1
10:31:12.501 user_light_stop_breathe
wifi connect finish: 5,, 11729
user_esp_platform_dns_found 115.29.202.58
user_esp_platform_connect
10:31:13.314 client handshake start.
10:31:13.521 client handshake ok!
user_esp_platform_connect_cb
{"nonce": 847552335,"path": "/v1/device/activate/", "method": "POST", "body": {"encrypt_method": "PLAIN", "token": "", "bssid": "18:fe:34:9b:a1:16","rom_version":"v1.0.2t45772(a)"}, "meta": {"Authorization": "token a9684aa2e12c659bab5a94f17270f94090aaeb7d"}}
请问我这么理解对吗,还是说擦除的地址错误了?
PS:我之前用512Kb的方法下载固件时,每次在0x7E000烧写blank.bin,wifi信息就会清除了。
我现在用的是V1.0.0固件,boot用的是v1.3。