烧录资料下载:https://gitee.com/hihope_iot/docs/tree/master/HiSpark-AI-Camera-Developer-Kit/Software/tools
第一步:安装好hitool usb 烧写的驱动
安装方式:解压后,双击InstallDriver.exe,默认下一步,点击完成即可
![image.png](https://img-blog.csdnimg.cn/img_convert/84705038695da0c5a64cc76c004235d8.png)
第二步:双击注册表文件,见末尾附件,点击是即可
![image.png](https://img-blog.csdnimg.cn/img_convert/2130dd0d5af9bbde9fe9cb82d3dad032.png)
![image.png](https://img-blog.csdnimg.cn/img_convert/66ea7a0ffa6cd06905a2abc2244fd3a8.png)
未安装会出现如图所示错误:
![image.png](https://img-blog.csdnimg.cn/img_convert/d1b2ef2cc379e135052b20096755c05f.png)
烧写步骤:
1、将3516开发板串口线插到电脑USB口上
2、因为是USB烧写方式,所以选择USB口,如图
![image.png](https://img-blog.csdnimg.cn/img_convert/821bb0da86998c277e175b4e9158cb01.png)
![image.png](https://img-blog.csdnimg.cn/img_convert/6425c6f381f3f6c3594676014cca5322.png)
注意:串口是哪个要选对了,还有终端串口配置的串口要和PC与板端配置下面的串口要一致
Ps:USB烧写不需要连网线,也不需要插上电源线(带开关按钮的),只需要将一端有typeC口插上3516开发板背面,还有一端是USB口插在主机USB口上,这条线就相当于电源线。
关键操作
(1)先断电:意思就是将插在主机上的USB线拔掉
(2)点击烧写
(3)按住3516开发板上的update键不放,update键如图(黑色小点)
![image.png](https://img-blog.csdnimg.cn/img_convert/29948fd325334def11566ade02df5c44.png)
(4)上电:意思是将刚刚拔掉的USB线再插到主机上,注意是同一个USB口,别插错了
(5)松开reset键,点击控制台出现如图场景,就代表已经在烧写了
![image.png](https://img-blog.csdnimg.cn/img_convert/09548009a858157a06586e8b60ec52a1.png)
![image.png](https://img-blog.csdnimg.cn/img_convert/81db32617d397b57048395938dca299f.png)
启动参数
目前 润和Hi3516开发板 支持3种系统,分别是:
(1)小型系统(liteos-a内核)
(2)小型系统(Linux内核)
(3)标准系统
![image.png](https://img-blog.csdnimg.cn/img_convert/ee4882dc14504d0df169a16a86eb4558.png)
小型系统(liteos-a内核)
小型系统liteos-a内核编译,hb set选择 ipcamera_hispark_taurus
![image.png](https://img-blog.csdnimg.cn/img_convert/f0697699f8c6c5917e2ac3c2a16db590.png)
烧录指导图:
,设置好服务器IP、开发板IP、启动参数。
setenv serverip 192.168.3.60
setenv ipaddr 192.168.3.100
setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";
setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=30M rw";
saveenv
配置如下:选择网口烧录、注意修改服务器IP、IP地址、网关,选择emmc烧录,
![0df9bc9006176536761d57f4dc35b7c.png](https://img-blog.csdnimg.cn/img_convert/57f193034084f8df1ac490cc6e3cb040.png)
小型系统(linux内核)
hb set选择 ipcamera_hispark_taurus_linux
![image.png](https://img-blog.csdnimg.cn/img_convert/5a910f3146b28dc76bbfd46e652218dc.png)
烧录指导图:
,设置好服务器IP、开发板IP、启动参数。
setenv serverip 192.168.3.60
setenv ipaddr 192.168.3.100
setenv bootargs "mem=128M console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootfstype=ext4 rootwait blkdevparts=mmcblk0:1M(boot),9M(kernel),50M(rootfs),50M(userfs),1024M(userdata)"
setenv bootcmd "mmc read 0x0 0x82000000 0x800 0x4800;mw 0x10FF0044 0X600;mw 0x120D2010 0x00000000;mw 0x120D2400 0x000000ff;mw 0x120D2010 0x00000000;bootm 0x82000000"
saveenv
配置如下:选择网口烧录、注意修改服务器IP、IP地址、网关,选择emmc烧录
![image.png](https://img-blog.csdnimg.cn/img_convert/2404102b73e21afb299caca026c26c9c.png)
标准系统
编译命令:./build.sh --product-name Hi3516DV300 --ccache
,设置好服务器IP、开发板IP、启动参数。
setenv serverip 192.168.3.60
setenv ipaddr 192.168.3.100
setenv bootargs 'mem=640M console=ttyAMA0,115200 mmz=anonymous,0,0xA8000000,384M clk_ignore_unused androidboot.selinux=permissive skip_initramfs rootdelay=10 init=/init root=/dev/mmcblk0p5 rootfstype=ext4 rw blkdevparts=mmcblk0:1M(boot),15M(kernel),20M(updater),1M(misc),3307M(system),256M(vendor),-(userdata)'
setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; bootm 0x80000000"
saveenv
reset
配置如下:选择网口烧录、注意修改服务器IP、IP地址、网关,选择emmc烧录
![5314998929_51873187537_mmexport1644464728149.jpg](https://img-blog.csdnimg.cn/img_convert/b73358609f16b391a023fbc3a3b758c4.jpeg)