20211220使用Hiburn给小熊派刷机
作者:互联网
20211220使用Hiburn给小熊派刷机
2021/12/20 19:23
点界面左上角的Setting->Com settings 进入串口参数设置界面,串口参数设置界面上,Baud为波特率,默认115200 ,可以选择921600 ,2000000 ,或者 3000000 (实测最快支持的值),其他参数保持默认,点“确定”保存。点“Select file”弹出文件选择对话框,选择编译生成的allinone.bin 文件,这个bin 其实是多个bin 合并的文件,从命名上也能看得出来,例如,选择 Z:\harmonyos\openharmony\out\bearpi_hm_nano\bearpi_hm_nano\Hi3861_wifiiot_app_allinone.bin。勾选“Auto burn” ,自动下载多个bin 文件,到这里,配置完毕,应如下图:
请严重注意:勾选之后只会显示2个BIN文件,显示三个,那肯定是选择的另外一个工程:
润和HarmonyOS Pegasus智能家居套件:HiSpark Wi-Fi IoT
任正非坑你没商量的!^_
【当然,如果你非要选择多出来的Hi3861_boot_signed_B.bin,刷机成功之后打印异常!一般认为分区表配置异常了!】
小熊派没有刷机的LOG:
[BEGIN] 2021/12/20 15:19:20
ERROR
ERROR
ready to OS start
sd ver:Hi3861V100R001C00SPC025 2020-09-03 18:10:00
FileSystem mount ok.
wifi init success!
00 00:00:00 0 196 D 0/HIVIEW: hilog init success.
00 00:00:00 0 196 D 0/HIVIEW: log limit init success.
00 00:00:00 0 196 I 1/SAMGR: Bootstrap core services(count:3).
00 00:00:00 0 196 I 1/SAMGR: Init service:0x4afeec TaskPool:0xfa224
00 00:00:00 0 196 I 1/SAMGR: Init service:0x4aff10 TaskPool:0xfa894
00 00:00:00 0 196 I 1/SAMGR: Init service:0x4b024c TaskPool:0xfaa54
00 00:00:00 0 228 I 1/SAMGR: Init service 0x4aff10 <time: 0ms> success!
00 00:00:00 0 128 I 1/SAMGR: Init service 0x4afeec <time: 0ms> success!
00 00:00:00 0 72 D 0/HIVIEW: hiview init success.
00 00:00:00 0 72 I 1/SAMGR: Init service 0x4b024c <time: 0ms> success!
00 00:00:00 0 72 I 1/SAMGR: Initialized all core system services!
00 00:00:00 0 128 I 1/SAMGR: Bootstrap system and application services(count:0).
00 00:00:00 0 128 I 1/SAMGR: Initialized all system and application services!
00 00:00:00 0 128 I 1/SAMGR: Bootstrap dynamic registered services(count:0).
=========================================
***********Factory_Test_Example**********
=========================================
1.LED Test: Please Check the LED is ON!
2.NFC Test: If the LED is ON, then NFC OK!
3.KEY Test: Please press the F1 and F2 keys to change the LED status!
NFC Test Success!
ERROR
点击Connect ,连接串口设备,这时HiBurn 会打开串口设备,并尝试开始烧写,需要确保没有其他程序占用串口设备(烧写之前可能正在用超级终端或串口助手查看串口日志,需要确保其他软件已经关闭了当前使用的串口),复位设备,按开发板的 RESET 按键; 等待输出框出现两个"=========================================="以及上方均出现successful , 即说明烧录成功。
在115200bps的情况下,烧录成功大概要一分40秒钟!
测试成功的:最大可以烧录成功的烧录速度为2Mbps(2000000),3Mbps(3000000)刷机异常。
HiBrun烧录成功之后的烧录LOG:
Connecting...
Ready to load at 0x10A000
CWait ACK overtime
Ready to load at 0x10A000
CCStartBurn
total size:0x3C00
loady succ
Entry loader
============================================
erase flash 0x0 0x200000
Ready for download
CCCtotal size:0xB7750
Execution Successful
============================================
Wait connect success flag (hisilicon) overtime.
烧录成功RESET之后的串口打印LOG:
Type `help' to learn how to use Xshell prompt.
[C:\~]$
Connecting to COM8...
Connected.
ready to OS start
sdk ver:Hi3861V100R001C00SPC025 2020-09-03 18:10:00
formatting spiffs...
FileSystem mount ok.
wifi init success!
hilog will init.
hievent will init.
hievent init success.
hiview init success.[DEMO] Hello world.
ERROR
ERROR
ERROR
烧录成功后,需要手动点“Disconnect”断开串口连接,否则会提示“Wait connect success flag (hisilicon) overtime.”。
HiBrun使用3M烧录失败的烧录LOG:
Connecting...
Ready to load at 0x10A000
CCStartBurn
total size:0x3C00
loady succ
Entry loader
============================================
erase flash 0x0 0x200000
Ready for download
CCSending file overtime
Wait connect success flag (hisilicon) overtime.
Wait connect success flag (hisilicon) overtime.
Wait connect success flag (hisilicon) overtime.
Wait connect success flag (hisilicon) overtime.
Wait connect success flag (hisilicon) overtime.
烧录Hi3861_boot_signed_B.bin在RESET之后的串口打印LOG:
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
errno=0x3611
errno=0x3612
标签:00,success,Hiburn,errno,0x3611,0x3612,20211220,串口,派刷机 来源: https://blog.csdn.net/wb4916/article/details/122046390