共2条
1/1 1 跳转至页
keil,c51,ARM keil c51和ARM共存问题

问
先装的keil ARM,编译调试ARM代码正常;
随后装上keil c51,编译51代码的时候,系统提示编译器路径错误:
--- Error: CAN't execute 'C:\Keil\ARM\BIN\A51.EXE'
我看了一下tools.ini文件,不知道如何修改,请各位支招,谢谢!
下面是我的tools.ini文件:
[UV2]
ORGANIZATION="icdiscovery"
NAME="novar luo"
EMAIL="nosuken@21cn.com"
ARMSEL=1
BOOK0=UV3\RELEASE_NOTES.HTM("uVision Release Notes",GEN)
Version=V2.2
BOOK1=UV2\RELEASE_NOTES.HTM("uVision2 Release Notes")
BOOK2=UV2\UV2.HLP("uVision2 User's Guide")
[ARM]
PATH="C:\Keil\ARM\"
PATH1="C:\Cygnus\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK3=C:\Cygnus\Manuals\2_compile.pdf("GNU C Compiler",GEN)
BOOK4=C:\Cygnus\Manuals\4_libs.pdf("GNU C Run-Time Libraries",GEN)
BOOK5=C:\Cygnus\Manuals\5_tools.pdf("GNU C Utilities",GEN)
BOOK6=C:\Cygnus\Manuals\6_auxtools.pdf("GNU C Assembler",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
LIC0=FYKQE-5TGDI-VLXX1-800CY-9AK4F-24XUV
[ARMADS]
PATH="C:\Keil\ARM"
PATH1="BIN\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK3=HLP\RVI.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.pdf("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
[KARM]
PATH="C:\Keil\ARM\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK2=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK3=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.PDF("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
[C51]
PATH="C:\Keil\C51"
SN=K1DZP-5IUSH-A01UE
Version=V7.0
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes")
BOOK1=HLP\GS51.PDF("uVision2 Getting Started")
BOOK2=HLP\C51.PDF("C51 User's Guide")
BOOK3=HLP\C51LIB.CHM("C51 Library Functions",C)
BOOK4=HLP\A51.PDF("Assembler/Utilities")
BOOK5=HLP\TR51.CHM("RTX51 Tiny User's Guide")
BOOK6=HLP\DBG51.CHM("uVision2 Debug Commands")
BOOK7=HLP\ISD51.CHM("ISD51 In System Debugger")
BOOK8=HLP\FlashMon51.CHM("Flash Monitor")
BOOK9=MON390\MON390.HTM("MON390: Dallas Contiguous Mode Monitor")
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")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
答 1: 把后半部分的51复制到前面去,像这样:[UV2]
ORGANIZATION="icdiscovery"
NAME="novar luo"
EMAIL="nosuken@21cn.com"
ARMSEL=1
BOOK0=UV3\RELEASE_NOTES.HTM("uVision Release Notes",GEN)
Version=V2.2
BOOK1=UV2\RELEASE_NOTES.HTM("uVision2 Release Notes")
BOOK2=UV2\UV2.HLP("uVision2 User's Guide")
[C51]
PATH="C:\Keil\C51"
SN=K1DZP-5IUSH-A01UE
Version=V7.0
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes")
BOOK1=HLP\GS51.PDF("uVision2 Getting Started")
BOOK2=HLP\C51.PDF("C51 User's Guide")
BOOK3=HLP\C51LIB.CHM("C51 Library Functions",C)
BOOK4=HLP\A51.PDF("Assembler/Utilities")
BOOK5=HLP\TR51.CHM("RTX51 Tiny User's Guide")
BOOK6=HLP\DBG51.CHM("uVision2 Debug Commands")
BOOK7=HLP\ISD51.CHM("ISD51 In System Debugger")
BOOK8=HLP\FlashMon51.CHM("Flash Monitor")
BOOK9=MON390\MON390.HTM("MON390: Dallas Contiguous Mode Monitor")
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")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
[ARM]
PATH="C:\Keil\ARM\"
PATH1="C:\Cygnus\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK3=C:\Cygnus\Manuals\2_compile.pdf("GNU C Compiler",GEN)
BOOK4=C:\Cygnus\Manuals\4_libs.pdf("GNU C Run-Time Libraries",GEN)
BOOK5=C:\Cygnus\Manuals\5_tools.pdf("GNU C Utilities",GEN)
BOOK6=C:\Cygnus\Manuals\6_auxtools.pdf("GNU C Assembler",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
LIC0=FYKQE-5TGDI-VLXX1-800CY-9AK4F-24XUV
[ARMADS]
PATH="C:\Keil\ARM"
PATH1="BIN\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK3=HLP\RVI.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.pdf("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
[KARM]
PATH="C:\Keil\ARM\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK2=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK3=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.PDF("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
答 2: 谢了,搞定 答 3: 不客气。
随后装上keil c51,编译51代码的时候,系统提示编译器路径错误:
--- Error: CAN't execute 'C:\Keil\ARM\BIN\A51.EXE'
我看了一下tools.ini文件,不知道如何修改,请各位支招,谢谢!
下面是我的tools.ini文件:
[UV2]
ORGANIZATION="icdiscovery"
NAME="novar luo"
EMAIL="nosuken@21cn.com"
ARMSEL=1
BOOK0=UV3\RELEASE_NOTES.HTM("uVision Release Notes",GEN)
Version=V2.2
BOOK1=UV2\RELEASE_NOTES.HTM("uVision2 Release Notes")
BOOK2=UV2\UV2.HLP("uVision2 User's Guide")
[ARM]
PATH="C:\Keil\ARM\"
PATH1="C:\Cygnus\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK3=C:\Cygnus\Manuals\2_compile.pdf("GNU C Compiler",GEN)
BOOK4=C:\Cygnus\Manuals\4_libs.pdf("GNU C Run-Time Libraries",GEN)
BOOK5=C:\Cygnus\Manuals\5_tools.pdf("GNU C Utilities",GEN)
BOOK6=C:\Cygnus\Manuals\6_auxtools.pdf("GNU C Assembler",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
LIC0=FYKQE-5TGDI-VLXX1-800CY-9AK4F-24XUV
[ARMADS]
PATH="C:\Keil\ARM"
PATH1="BIN\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK3=HLP\RVI.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.pdf("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
[KARM]
PATH="C:\Keil\ARM\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK2=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK3=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.PDF("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
[C51]
PATH="C:\Keil\C51"
SN=K1DZP-5IUSH-A01UE
Version=V7.0
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes")
BOOK1=HLP\GS51.PDF("uVision2 Getting Started")
BOOK2=HLP\C51.PDF("C51 User's Guide")
BOOK3=HLP\C51LIB.CHM("C51 Library Functions",C)
BOOK4=HLP\A51.PDF("Assembler/Utilities")
BOOK5=HLP\TR51.CHM("RTX51 Tiny User's Guide")
BOOK6=HLP\DBG51.CHM("uVision2 Debug Commands")
BOOK7=HLP\ISD51.CHM("ISD51 In System Debugger")
BOOK8=HLP\FlashMon51.CHM("Flash Monitor")
BOOK9=MON390\MON390.HTM("MON390: Dallas Contiguous Mode Monitor")
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")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
答 1: 把后半部分的51复制到前面去,像这样:[UV2]
ORGANIZATION="icdiscovery"
NAME="novar luo"
EMAIL="nosuken@21cn.com"
ARMSEL=1
BOOK0=UV3\RELEASE_NOTES.HTM("uVision Release Notes",GEN)
Version=V2.2
BOOK1=UV2\RELEASE_NOTES.HTM("uVision2 Release Notes")
BOOK2=UV2\UV2.HLP("uVision2 User's Guide")
[C51]
PATH="C:\Keil\C51"
SN=K1DZP-5IUSH-A01UE
Version=V7.0
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes")
BOOK1=HLP\GS51.PDF("uVision2 Getting Started")
BOOK2=HLP\C51.PDF("C51 User's Guide")
BOOK3=HLP\C51LIB.CHM("C51 Library Functions",C)
BOOK4=HLP\A51.PDF("Assembler/Utilities")
BOOK5=HLP\TR51.CHM("RTX51 Tiny User's Guide")
BOOK6=HLP\DBG51.CHM("uVision2 Debug Commands")
BOOK7=HLP\ISD51.CHM("ISD51 In System Debugger")
BOOK8=HLP\FlashMon51.CHM("Flash Monitor")
BOOK9=MON390\MON390.HTM("MON390: Dallas Contiguous Mode Monitor")
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")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
[ARM]
PATH="C:\Keil\ARM\"
PATH1="C:\Cygnus\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK3=C:\Cygnus\Manuals\2_compile.pdf("GNU C Compiler",GEN)
BOOK4=C:\Cygnus\Manuals\4_libs.pdf("GNU C Run-Time Libraries",GEN)
BOOK5=C:\Cygnus\Manuals\5_tools.pdf("GNU C Utilities",GEN)
BOOK6=C:\Cygnus\Manuals\6_auxtools.pdf("GNU C Assembler",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
LIC0=FYKQE-5TGDI-VLXX1-800CY-9AK4F-24XUV
[ARMADS]
PATH="C:\Keil\ARM"
PATH1="BIN\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK3=HLP\RVI.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.pdf("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
[KARM]
PATH="C:\Keil\ARM\"
BOOK0=HLP\RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP\ARTX_RELEASE_NOTES.HTM("Advanced RTX Release Notes",GEN)
BOOK2=HLP\ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK3=HLP\RV_Intro.chm("RV Compiler Introduction",GEN)
BOOK4=HLP\RV_cc.PDF("RV Compiler and Libraries",GEN)
BOOK5=HLP\RV_asm.pdf("RV Assembler",GEN)
BOOK6=HLP\RV_link.pdf("RV Linker/Utilities",GEN)
TDRV0=BIN\UL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BIN\AGDIRDI.DLL("RDI Interface Driver")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("Advanced RTX")
答 2: 谢了,搞定 答 3: 不客气。
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
汽车+汽车电子电阻解释与分析被打赏5分 | |
STM32F103的I2C驱动OLED动态显示被打赏30分 | |
分享汽车通信和多媒体总线结构被打赏20分 | |
【我踩过的那些坑】结构堵孔导致的喇叭无声问题被打赏50分 | |
NUCLEO-U083RC学习历程38+串口通过队列的方式输出两个字符串被打赏20分 | |
【我踩过的那些坑】分享一下调试一款AD芯片的遇到的“坑”被打赏50分 | |
电流检测模块MAX4080S被打赏10分 | |
【我踩过的那些坑】calloc和malloc错误使用导致跑飞问题排查被打赏50分 | |
分享电控悬架的结构与工作原理(一)被打赏20分 | |
多组DCTODC电源方案被打赏50分 |