共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 28BYJ-48机械臂实现人脸跟随被打赏¥24元 | |
| 基于RK3506B的片温识读功能的实现被打赏¥25元 | |
| 【瑞萨RA8D1测评】基于FreeRTOS的lvgl移植教程被打赏¥29元 | |
| 电子价签墨水屏开发被打赏¥35元 | |
| 【Ozone】RTT 打印终端使用被打赏¥29元 | |
| BMS保护板绝缘检测功能-不平衡电桥技术绝缘电阻检测设计与实现被打赏¥34元 | |
| 给28BYJ-48三自由度机械臂加一个网页控制台被打赏¥32元 | |
| 用28BYJ-48电机从零搭一台三自由度机械臂被打赏¥33元 | |
| 【英飞凌开发经验】ModusToolbox配置EdgeTalk外设被打赏¥27元 | |
| 基于BQ76952PFBR的BMS保护板热插拔损坏的原因和处理措施被打赏¥32元 | |
我要赚赏金
