Keil C51與uV3共存的辦法

 系統先安裝uV3後, ARM的license可以正常工作; 隨後再安裝uV2, 編譯C51的程式碼後不能正常工作, 出現下列錯誤訊息:

--- Error: CAN't execute 'C:/Keil/ARM/BIN/A51.EXE'

 

 
解決辦法 --> 開啟tool.ini, 並且將uV2相關的[c51]移動到最前面, 如下:

[UV2]
ORGANIZATION="BlackfinFreak"
NAME="Chen ShengYang"
EMAIL="
[email protected]"
ARMSEL=1
BOOK0=UV2/RELEASE_NOTES.HTM("uVision2 Release Notes")
Version=V2.2
BOOK1=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=ISD51/ISD51.HTM("ISD51 In System Debugger")
BOOK8=HLP/FlashMon.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")
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/UL2CM3.DLL("ULINK Cortex-M3 Debugger")
TDRV2=BIN/AGDIRDI.DLL("RDI Interface Driver")
TDRV3=BIN/lmidk-agdi.dll("Luminary Eval Board")
TDRV4=Signum/SigUV3Arm.dll("Signum Systems JTAGjet")
LIC0=65ID6-DLQ8T-566Q2-8BJLL-TEXWB-YPNS0
[ARMADS]
PATH="C:/Keil/ARM/"
PATH1="BIN30/"
BOOK0=HLP/RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP/ARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLP/RTL_RELEASE_NOTES.HTM("RTL-ARM 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/UL2CM3.DLL("ULINK Cortex-M3 Debugger")
TDRV2=BIN/AGDIRDI.DLL("RDI Interface Driver")
TDRV3=BIN/lmidk-agdi.dll("Luminary Eval Board")
TDRV4=Signum/SigUV3Arm.dll("Signum Systems JTAGjet")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("RTX Kernel")
[KARM]
PATH="C:/Keil/ARM/"
BOOK0=HLP/RELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLP/RTL_RELEASE_NOTES.HTM("RTL-ARM 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/UL2CM3.DLL("ULINK Cortex-M3 Debugger")
TDRV2=BIN/AGDIRDI.DLL("RDI Interface Driver")
TDRV3=BIN/lmidk-agdi.dll("Luminary Eval Board")
TDRV4=Signum/SigUV3Arm.dll("Signum Systems JTAGjet")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("RTX Kernel")

你可能感兴趣的:(Keil C51與uV3共存的辦法)