共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |