Keil直接烧录.hex文件到芯片中

 时间:2026-02-11 23:29:35

1、打开Keil V5软件,并建立新工程

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

2、A.选择工程的路径和工程名称

B.选择芯片厂商和芯片型号

C.不添加相应的启动文件

D.工程已建立好

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

3、A.单击Options for Target按钮进行设置

B.Output --> Select Folder for objects选择要烧录的.hex文件,然后确定

C.在Name of Executable中输入烧录文件的全名,其他设置如下

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

4、A.在Debug中选择Use和ST-Link Debugger

B.Debug --> Settings --> Debug设置如下,其中SW Device --> IDCODE必须有相应的值

C.在Debug --> Settints --> Flash Download中选择Erase Sectors、            Program、Verify、Reset and Run。在Programming  Algorithm --> Add中选择HR8P506 36K Flash,点击Add添加最后确定

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

5、Utilities中去掉Use Debug Driver前的勾,在Use Target Driver for Flash programming中选择ST-Link Debugger确定

Keil直接烧录.hex文件到芯片中

6、A.单击Download下载程序

B.下载程序成功

Keil直接烧录.hex文件到芯片中

Keil直接烧录.hex文件到芯片中

  • MOSI 、MISO、SCK什么意思? 如何使用
  • Keil uVision5如何添加.H文件
  • 如何使用串口调试助手?
  • 电解电容和普通电容有何区别
  • 电容的表示符号有哪些呢?
  • 热门搜索
    儿童早餐食谱大全 于谦简介 防沉迷身份证号码大全 锦鲤鱼怎么养长得快 眼睛红血丝怎么办 陈一发怎么了 颈部疼痛怎么办 索尼微单镜头大全 唐嫣图片大全 经常放臭屁是怎么回事