一、下载AIR32F103x SDK
二、打开J-Flash根目录,如下图所示
三、新建文件夹\Devices\Air32
四、复制下载算法文件到此文件夹\Devices\Air32下
下载算法文件在SDK目录下的AIR_Jlink_Keil下。
五、在J-Flash根目录新建文件JLinkDevices.xml
六、编辑JLinkDevices.xml
XML
<DataBase>
<Device>
<ChipInfo Vendor="Air32" Name="Air32F103CBT6" WorkRAMAddr="0x20000000" WorkRAMSize="0x018000" Core="JLINK_CORE_CORTEX_M3" />
<FlashBankInfo Name="Flash Bank1" BaseAddr="0x08000000" MaxSize="0x00020000" Loader="Devices/Air32/Air32F103CBT6.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" AlwaysPresent="1" />
</Device>
<Device>
<ChipInfo Vendor="Air32" Name="Air32F103CCT6" WorkRAMAddr="0x20000000" WorkRAMSize="0x018000" Core="JLINK_CORE_CORTEX_M3" />
<FlashBankInfo Name="Flash Bank1" BaseAddr="0x08000000" MaxSize="0x00040000" Loader="Devices/Air32/Air32F103CCT6.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" AlwaysPresent="1" />
</Device>
<Device>
<ChipInfo Vendor="Air32" Name="Air32F103VET6" WorkRAMAddr="0x20000000" WorkRAMSize="0x018000" Core="JLINK_CORE_CORTEX_M3" />
<FlashBankInfo Name="Flash Bank1" BaseAddr="0x08000000" MaxSize="0x00040000" Loader="Devices/Air32/Air32F103VET6.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" AlwaysPresent="1" />
</Device>
</DataBase>