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

 时间:2026-04-23 12:14:13

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文件
  • 如何使用串口调试助手?
  • 电解电容和普通电容有何区别
  • 电容的表示符号有哪些呢?
  • 热门搜索
    中发发型 爱心贺卡怎么做 害怕的近义词 潮湿的近义词 持之以恒的近义词 怎么在淘宝开网店 资料员证怎么考 万喜油烟机怎么样 魔兽怎么玩 笼罩的近义词是什么