芯片svd文件生成

dpf生成:.\SVDConv 324xF.svd --generate= sfr

.\SVDConv 324xF.svd -b 324xF.log
<?xml version="1.0" encoding="UTF-8"?>
<!-- File naming: <vendor>_<part/series name>.svd -->
<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd" >
    <!-- <vendor>zzl()Co.,Ltd.</vendor>                 device vendor name -->
    <!--<vendorID></vendorID>                                 device vendor short name --> 
    <name>324xF</name>                                            <!-- name of part-->
    <series>ARMCM4</series>                                         <!-- device series the device belongs to -->
    <version>1.0</version>                                          <!-- version of this description, adding CMSIS-SVD 1.1 tags -->
    <description>ARM 32-bit Cortex-M4 Microcontroller based device, CPU clock up to 168MHz, etc. </description>
    <cpu>                                                           <!-- details about the cpu embedded in the device -->
        <name>CM4</name>
        <revision>r0p1</revision>
        <endian>little</endian>
        <mpuPresent>true</mpuPresent>
        <fpuPresent>true</fpuPresent>
        <nvicPrioBits>4</nvicPrioBits>
        <vendorSystickConfig>false</vendorSystickConfig>
    </cpu>
    <addressUnitBits>8</addressUnitBits>                            <!-- byte addressable memory -->
    <width>32</width>                                               <!-- bus width is 32 bits -->
    <!-- default settings implicitly inherited by subsequent sections -->
    <size>0x20</size>                                                 <!-- this is the default size (number of bits) of all peripherals -->
    <resetValue>0x00000000</resetValue>                             <!-- by default all bits of the registers are initialized to 0 on reset -->
    <resetMask>0xFFFFFFFF</resetMask>                               <!-- by default all 32Bits of the registers are used -->

参考:https://blog.csdn.net/ZCShouCSDN/article/details/127144450

https://blog.csdn.net/suyong_yq/article/details/128731971?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2defaultYuanLiJiHuaPosition-3-128731971-blog-116751942.pc_relevant_3mothn_strategy_recovery&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2defaultYuanLiJiHuaPosition-3-128731971-blog-116751942.pc_relevant_3mothn_strategy_recovery&utm_relevant_index=6

SVDConv.exe Files\SVD\324xx.svd -b 324xF.log --generate=header --fields=macro  //生成.h

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值