如何让keil4同时能使用51跟ARM编译
不管你之前装的是51的还是ARM这都没关系。其实很简单的,下面介绍步骤:
先将安装目录下的名字为C51文件夹或者ARM文件夹,放到你安装keil的目录中,路径是注意是C:\keil。最好还是把目录装在C盘上。
打开TOOLS.INI的这个文件,将文件中加点东西。
打开后如果你是想在ARM下加入51功能,那么你把这一段复制下来
ORGANIZATION="微软中国" NAME="微软用户", "dsf" EMAIL="sad"
BOOK0=UV4\RELEASE_NOTES.HTM("uVision Release Notes",GEN) SOCKETPORT=1 [C51]
PATH="C:\Keil\C51\" VERSION=V9.00
BOOK0=HLP\Release_Notes.htm("Release Notes",GEN)
BOOK1=HLP\C51TOOLS.chm("Complete User's Guide Selection",C) TDRV0=BIN\MON51.DLL ("Keil Monitor-51 Driver")
TDRV1=BIN\ISD51.DLL ("Keil ISD51 In-System Debugger")
TDRV2=BIN\MON390.DLL ("MON390: Dallas Contiguous Mode") TDRV3=BIN\LPC2EMP.DLL ("LPC900 EPM Emulator/Programmer") TDRV4=BIN\UL2UPSD.DLL ("ST-uPSD ULINK Driver")
TDRV5=BIN\UL2XC800.DLL ("Infineon XC800 ULINK Driver") TDRV6=BIN\MONADI.DLL ("ADI Monitor Driver")
TDRV7=BIN\DAS2XC800.DLL ("Infineon DAS Client for XC800") TDRV8=BIN\UL2LPC9.DLL ("NXP LPC95x ULINK Driver") RTOS0=Dummy.DLL("Dummy")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny") RTOS2=RTX51.DLL ("RTX-51 Full")
LIC0=GEGKP-MSCX1-YLXC6-DKBC1-ZJPCT-SL63G TDRV9=BIN\STCMON51.DLL ("STC Monitor-51 Driver")
如果是想在51下装ARM,那么你把这一段复制下来粘贴到你的TOOLS文件下
ORGANIZATION="微软中国" NAME="微软用户", "dsf" EMAIL="sad" ARMSEL=1
BOOK0=UV4\RELEASE_NOTES.HTM("uVision Release Notes",GEN) CDB0=UV4\STC.CDB ("STC MCU Database") [ARM]
PATH="C:\Keil\ARM\" VERSION=4.70a
PATH1="C:\Program Files\GNU Tools ARM Embedded\4.7 2012q4\"
TOOLPREFIX=arm-none-eabi-
CPUDLL0=SARM.DLL(TDRV0,TDRV5,TDRV6,TDRV10) # Drivers for ARM7/9 devices
CPUDLL1=SARMCM3.DLL(TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV7,TDRV8,TDRV9,TDRV11,TDRV12,TDRV13,TDRV14,TDRV15) # Drivers for Cortex-M devices CPUDLL2=SARMCR4.DLL(TDRV7) # Drivers for Cortex-R4 devices
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C) BOOK2=CMSIS\index.html("CMSIS Documentation",GEN)
BOOK3=Signum\Docs\SigUV3Arm.htm("Signum Systems JTAGjet Driver Documentation",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK2/ME ARM Debugger") TDRV1=BIN\UL2CM3.DLL("ULINK2/ME Cortex Debugger") TDRV2=BIN\AGDIRDI.DLL("RDI Interface Driver")
TDRV3=BIN\ABLSTCM.dll("Altera Blaster Cortex Debugger") TDRV4=BIN\lmidk-agdi.dll("Stellaris ICDI")
TDRV5=Signum\SigUV3Arm.dll("Signum Systems JTAGjet") TDRV6=Segger\JLTAgdi.dll("J-LINK / J-TRACE ARM") TDRV7=Segger\JL2CM3.dll("J-LINK / J-TRACE Cortex")
TDRV8=STLink\ST-LINKIII-KEIL.dll ("ST-Link (Deprecated Version)") TDRV9=BIN\ULP2CM3.DLL("ULINK Pro Cortex Debugger") TDRV10=BIN\ULP2ARM.DLL("ULINK Pro ARM Debugger") TDRV11=NULink\Nu_Link.dll("NULink Debugger")
TDRV12=SiLabs\SLAB_CM_Keil.dll("SiLabs UDA Debugger") TDRV13=STLink\ST-LINKIII-KEIL_SWO.dll ("ST-Link Debugger") TDRV14=BIN\CMSIS_AGDI.dll("CMSIS-DAP Debugger") TDRV15=BIN\DbgFM.DLL("Fast Models Debugger")
DELDRVPKG0=ULINK\UninstallULINK.exe("ULINK Pro Driver V1.0") LIC0=GE7X7-EGEQ5-9WB2E-5T3KT-NA0N1-V0DP8 [ARMADS]
PATH="C:\Keil\ARM\" PATH1=".\ARMCC\bin\"
CPUDLL0=SARM.DLL(TDRV0,TDRV5,TDRV6,TDRV10) # Drivers for ARM7/9 devices
CPUDLL1=SARMCM3.DLL(TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV7,TDRV8,TDRV9,TDRV11,TDRV12,TDRV13,TDRV14,TDRV15) # Drivers for Cortex-M devices CPUDLL2=SARMCR4.DLL(TDRV7) # Drivers for Cortex-R4 devices
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C) BOOK2=CMSIS\index.html("CMSIS Documentation",GEN)
BOOK3=Signum\Docs\SigUV3Arm.htm("Signum Systems JTAGjet Driver Documentation",GEN)
2023-06-12 广告
Keil(MDK-ARM)介绍、下载、安装与注册:
http://blog.csdn.net/ybhuangfugui/article/details/51501781
Keil(C51)介绍、下载、安装与注册:
http://blog.csdn.net/ybhuangfugui/article/details/52932112