自学内容网 自学内容网

JFlash添加自定义MCU型号

1.打开安装路径

2.在Devices里创建你想添加的MCU的文件夹并把FLM文件放入

3.Jlink目录里找到JLinkDevices.xml文件

4.修改

 <!--    -->
  <!-- G32 -->
  <!--    -->
  <!--         -->
  <!-- G32F103 -->
  <!--         -->
  <Device>
   <ChipInfo Vendor="G32" Name="G32F103" Core="JLINK_CORE_CORTEX_M3" WorkRAMAddr="0x20000000" WorkRAMSize="0x5000" />
   <FlashBankInfo Name="Internal Flash" BaseAddr="0x00000000" MaxSize="0x00020000" Loader="Devices/G32/G32F103xB.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" />
  </Device>
  <!--         -->
  <!-- G32F03X -->
  <!--         -->
  <Device>
   <ChipInfo Vendor="G32" Name="G32F03X" Core="JLINK_CORE_CORTEX_M0" WorkRAMAddr="0x10000000" WorkRAMSize="0x1000" />
   <FlashBankInfo Name="Internal Flash" BaseAddr="0x00000000" MaxSize="0x00008000" Loader="Devices/G32/G32F03xx6.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" />
  </Device>

地址可以寻找官方demo设置或者查询手册

就完成了


原文地址:https://blog.csdn.net/fh2331/article/details/143791868

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!