2 Star 1 Fork 2

霹雳VS兵 / GC9003 Hex Upgrade

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

GC9003 Hex Upgrade

介绍

​ 通过keil5,升级hex固件到GC9003 CPU0及CPU1内部flash以及从MCU内部flash读取出固件数据保存成hex文件

hex文件下载使用说明

​ 将hex文件数据下载到MCU内部flash中

  1. 下载并安装keil5。
  2. 将GC9003_disableWDG.FLM文件拷贝到keil安装目录下ARM/Flash文件夹中,如:C:\Keil_v5\ARM\Flash。
  3. 打开工程,选择对应需要烧录的代码存储区域,如cpu0,cpu1,cpu0 bootloader, cpu1 bootloader. 切不可选错,否则会导致其他区域的代码被覆盖,如果选择错误导致代码被覆盖,则需要重新烧录对应的代码文件。 待烧录代码区域选择
  4. 选择对应要烧录的hex文件所在目录,并填写hex文件名称(文件名称必须一致,否则下载时无法找到hex文件) 选择文件夹 填写文件名
  5. 下载 下载

hex文件读回使用说明

​ 从MCU内部将固件数据读回并保存成hex文件

  1. 打开此项目下的工程

  2. 点击调试

    image-20200927144319326

  3. 输入命令 SAVE path\fname startAddr, endAddr,并按Enter键

    如输入命令:SAVE C:\Users\ChengBingBing\Desktop\HEX\CPU1_OK.hex 0x08000000,0x08080000

    命令解释:读出flash地址从0x08000000到0x08080000范围内的数据,并保存到C:\Users\ChengBingBing\Desktop\HEX\CPU1_OK.hex文件

    image-20200927143941915

    keil命令参考说明:https://www.keil.com/support/man/docs/uv4/uv4_debug_commands.htm

    keil SAVE命令参考说明:https://www.keil.com/support/man/docs/uv4/uv4_cm_save.htm

码云特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. 码云官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解码云上的优秀开源项目
  4. GVP 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
  5. 码云官方提供的使用手册 https://gitee.com/help
  6. 码云封面人物是一档用来展示码云会员风采的栏目 https://gitee.com/gitee-stars/
MIT License Copyright (c) 2020 霹雳VS兵 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

GC9003芯片通过keil5升级hex文件 展开 收起
C
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/cbb0416/GC9003-Hex-Upgrade.git
git@gitee.com:cbb0416/GC9003-Hex-Upgrade.git
cbb0416
GC9003-Hex-Upgrade
GC9003 Hex Upgrade
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891