(2)air001 芯片需要在每 31 个字写入后,将 FLASH_CR->PGSTRT(bit19) 置 1,最后再写入第 32 个字。 3)汇编文件编写完成后,在 air001.S 文件所在目录直接 make,即可生成 air001.inc 文件。前提是需要仿照 /contrib/loaders/flash/stm32/Makefile创建自已的 Makefile 3 编译与测试 3.1 编译 OpenOCD ...
代码:https://gitee.com/luyaocf/openocd.git 官方文档:https://openocd.org/doc-release/html/1 swj_newdap1)完整的 swj_newdap 命令如下: swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID # 替换掉变量后为: swj_newdap air001 cpu -irlen 4 -irca...
实际测试过程中,fillw 偶尔会出现失败的情况,未找到原因。 6 附录3:项目源码 dev-air 分支:https://gitee.com/luyaoCode/openocd.git 单片机 阅读850发布于2024-01-19 送南阳马生序 7声望4粉丝 余之业有不精、德有不成,非天质之卑,则心不若他之专耳,岂他人之过哉!
openocd -d3 -f board/airm2m_air001.cfg -d3 也作 --debug-level=3。即指定输出日志级别。 -f 也作 --file。这里指定开发板为合宙 air001 芯片。 7)参考链接: 代码:https://gitee.com/luyaocf/openocd.git 官方文档:https://openocd.org/doc-release/html/Debug-Adapter-Configurat... 1 adapter...
示例程序:https://gitee.com/luyaoCode/air105_mh1903s.git 串口烧录:https://github.com/racerxdl/air105-uploader.git 1 Air105 驱动编写 1)编写驱动详细过程可以去看看我的上一篇《OpenOCD 添加 Air001》,里面介绍了为 OpenOCD 增加驱动需要修改的文件。这里我们只介绍 air105.c 文件的内容。 2)同样的,...
示例程序:https://gitee.com/luyaoCode/air105_mh1903s.git 串口烧录:https://github.com/racerxdl/air105-uploader.git 1 Air105 驱动编写 1)编写驱动详细过程可以去看看我的上一篇《OpenOCD 添加 Air001》,里面介绍了为 OpenOCD 增加驱动需要修改的文件。这里我们只介绍 air105.c 文件的内容。 2)同样的,...
驱动源码:https://gitee.com/luyaoCode/openocd.git 示例程序:https://gitee.com/luyaoCode/air105_mh1903s.git 串口烧录:https://github.com/racerxdl/air105-uploader.git 1 Air105 驱动编写 1)编写驱动详细过程可以去看看我的上一篇《OpenOCD 添加 Air001》,里面介绍了为 OpenOCD 增加驱动需要修改的...
代码:https://gitee.com/luyaocf/openocd.git 官方文档:https://openocd.org/doc-release/html/ 1 swj_newdap 1)完整的 swj_newdap 命令如下: swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID # 替换掉变量后为: swj_newdap air001 cpu -irlen 4 -i...
示例程序:gitee.com/luyaoCode/air 串口烧录:github.com/racerxdl/air 1 Air105 驱动编写 1)编写驱动详细过程可以去看看我的上一篇《OpenOCD 添加 Air001》,里面介绍了为 OpenOCD 增加驱动需要修改的文件。这里我们只介绍 air105.c 文件的内容。 2)同样的,air105.c 驱动程序围绕 flash_driver 的对象 air105_...
openocd -d3 -f board/airm2m_air001.cfg -d3 也作 --debug-level=3。即指定输出日志级别。 -f 也作 --file。这里指定开发板为合宙 air001 芯片。 7)参考链接: 代码:https://gitee.com/luyaocf/openocd.git 官方文档:https://openocd.org/doc-release/html/Debug-Adapter-Configuration.html ...