Keil c51 U3字符顯示錯(cuò)位問題的解決辦法
相信很多人遇到多光標(biāo)處顯示的字符并不是正確的字符,可一直沒有辦法解決。
其實(shí)很簡(jiǎn)單,在Keil c目錄下TOOLS.INI文件中第三行增加一條語(yǔ)句:ANSI=1就可以了。
看看我的這個(gè)配置文件內(nèi)容:
[UV2]
ORGANIZATION="HEYONG"
NAME="USER", "wym"
ANSI=1(就加這一句)
EMAIL="498729914@qq.com"
BOOK0=UV3RELEASE_NOTES.HTM("uVision Release Notes",GEN)
ARMSEL=1
[C51]
PATH="c:KeilC51"
BOOK0=HLPRelease_Notes.htm("Release Notes",GEN)
BOOK1=HLPC51TOOLS.chm("Complete User's Guide Selection",C)
TDRV0=BINMON51.DLL ("Keil Monitor-51 Driver")
TDRV1=BINISD51.DLL ("Keil ISD51 In-System Debugger")
TDRV2=BINMON390.DLL ("MON390: Dallas Contiguous Mode")
TDRV3=BINLPC2EMP.DLL ("LPC900 EPM Emulator/Programmer")
TDRV4=BINUL2UPSD.DLL ("ST-uPSD ULINK Driver")
TDRV5=BINUL2XC800.DLL ("Infineon XC800 ULINK Driver")
TDRV6=BINMONADI.DLL ("ADI Monitor Driver")
TDRV7=BINDAS2XC800.DLL ("Infineon DAS Client for XC800")
TDRV8=BINVDM51.DLL ("PROTEUS VSM MONITOR-51 DRIVER")
RTOS0=Dummy.DLL("Dummy")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
LIC0=03LPC-7PN5I-ZHT8H-W8ZKK-2HWER-8B8XL
TDRV8=BINSiC8051F.dll ("Silicon Laboratories C8051Fxxx uVision Driver")
BOOK2=HLPRTX51.PDF("RTX51 Full User's Guide")
[ARM]
PATH="c:KeilARM"
PATH1="C:Cygnus"
BOOK0=HLPRELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLPARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLPRV_Intro.chm("RV Compiler Introduction",GEN)
BOOK3=C:CygnusManuals2_compile.pdf("GNU C Compiler",GEN)
BOOK4=C:CygnusManuals4_libs.pdf("GNU C Run-Time Libraries",GEN)
BOOK5=C:CygnusManuals5_tools.pdf("GNU C Utilities",GEN)
BOOK6=C:CygnusManuals6_auxtools.pdf("GNU C Assembler",GEN)
TDRV0=BINUL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BINUL2CM3.DLL("ULINK Cortex Debugger")
TDRV2=BINAGDIRDI.DLL("RDI Interface Driver")
TDRV3=BINlmidk-agdi.dll("Luminary Eval Board")
TDRV4=SignumSigUV3Arm.dll("Signum Systems JTAGjet")
LIC0=9WS4I-THA4T-HRZXZ-UAXIE-HWZLT-HUF54
TDRV5=BINUL2CM3.DLL("ULINK Cortex-M3 Debugger")
[ARMADS]
PATH="c:KeilARM"
PATH1="BIN30"
BOOK0=HLPRELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLPARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK2=HLPRTL_RELEASE_NOTES.HTM("RTL-ARM Release Notes",GEN)
BOOK3=HLPRVI.chm("RV Compiler Introduction",GEN)
TDRV0=BINUL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BINUL2CM3.DLL("ULINK Cortex Debugger")
TDRV2=BINAGDIRDI.DLL("RDI Interface Driver")
TDRV3=BINlmidk-agdi.dll("Luminary Eval Board")
TDRV4=SignumSigUV3Arm.dll("Signum Systems JTAGjet")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("RTX Kernel")
BOOK4=HLPRV_cc.pdf("RV Compiler and Libraries",GEN)
BOOK5=HLPRV_asm.pdf("RV Assembler",GEN)
BOOK6=HLPRV_link.pdf("RV Linker/Utilities",GEN)
TDRV5=BINUL2CM3.DLL("ULINK Cortex-M3 Debugger")
[KARM]
PATH="c:KeilARM"
BOOK0=HLPRELEASE_NOTES.HTM("Release Notes",GEN)
BOOK1=HLPRTL_RELEASE_NOTES.HTM("RTL-ARM Release Notes",GEN)
BOOK2=HLPARMTOOLS.chm("Complete User's Guide Selection",C)
BOOK3=HLPRV_Intro.chm("RV Compiler Introduction",GEN)
TDRV0=BINUL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BINUL2CM3.DLL("ULINK Cortex Debugger")
TDRV2=BINAGDIRDI.DLL("RDI Interface Driver")
TDRV3=BINlmidk-agdi.dll("Luminary Eval Board")
TDRV4=SignumSigUV3Arm.dll("Signum Systems JTAGjet")
RTOS0=Dummy.DLL("Dummy")
RTOS1=ARTXARM.DLL ("RTX Kernel")
BOOK4=HLPRV_cc.PDF("RV Compiler and Libraries",GEN)
BOOK5=HLPRV_asm.pdf("RV Assembler",GEN)
BOOK6=HLPRV_link.pdf("RV Linker/Utilities",GEN)
TDRV5=BINUL2CM3.DLL("ULINK Cortex-M3 Debugger")
[SIMULATED]
PATH="c:KeilARM"
[ANALOG]
PATH="c:KeilARM"
PRJ0=ARMBoardsAtmelAT91SAM7S-EKBlinkyblinky.uv2
[ATMEL]
PATH="c:KeilARM"
PRJ0=ARMBoardsAtmelAT91SAM7S-EKBlinkyblinky.uv2
PRJ1=ARMBoardsAtmelAT91SAM7X-EKBlinkyblinky.uv2
PRJ2=ARMBoardsAtmelAT91SAM7SE-EKBlinkyblinky.uv2
PRJ3=ARMBoardsAtmelAT91SAM7A3-EKBlinkyblinky.uv2
[ATMEL]
PATH="c:KeilARM"
PRJ0=ARMBoardsAtmelAT91SAM9260-EKBlinkyblinky.uv2
PRJ1=ARMBoardsAtmelAT91SAM9261-EKBlinkyblinky.uv2
PRJ2=ARMBoardsAtmelAT91SAM9263-EKBlinkyblinky.uv2
PRJ3=ARMBoardsAtmelAT91RM9200-EKBlinkyblinky.uv2
[EMBEDDED]
PATH="c:KeilARM"
PRJ0="ARMBoardsEmbedded ArtistsLPC2106 RS232 QSBBlinkyblinky.uv2"
PRJ1="ARMBoardsEmbedded ArtistsLPC2129 CAN QSBBlinkyblinky.uv2"
PRJ2="ARMBoardsEmbedded ArtistsLPC2138 QSBBlinkyblinky.uv2"
PRJ3="ARMBoardsEmbedded ArtistsLPC2148 USB QSBBlinkyblinky.uv2"
[EMBEST]
PATH="c:KeilARM"
PRJ0="ARMBoardsEmbestATEBSAM7SBlinkyblinky.uv2"
PRJ1="ARMBoardsEmbestSTR750Blinkyblinky.uv2"
PRJ2="ARMBoardsEmbestSTR912Blinkyblinky.uv2"
[FUTURE]
PATH="c:KeilARM"
PRJ0="ARMBoardsFutureSTAR9Blinkyblinky.uv2"
[KEIL]
PATH="c:KeilARM"
PRJ0="ARMBoardsKeilMCB2100Blinkyblinky.uv2"
PRJ1="ARMBoardsKeilMCB2103Blinkyblinky.uv2"
PRJ2="ARMBoardsKeilMCB2130Blinkyblinky.uv2"
PRJ3="ARMBoardsKeilMCB2300Blinkyblinky.uv2"
[KEIL]
PATH="c:KeilARM"
PRJ0="ARMBoardsKeilMCBSTM32Blinkyblinky.uv2"
PRJ1="ARMBoardsKeilMCBSTR7Blinkyblinky.uv2"
PRJ2="ARMBoardsKeilMCBSTR730Blinkyblinky.uv2"
PRJ3="ARMBoardsKeilMCBSTR750Blinkyblinky.uv2"
PRJ4="ARMBoardsKeilMCBSTR9Blinkyblinky.uv2"
[LUMINARY]
PATH="c:KeilARM"
PRJ0=ARMBoardsLuminaryek-lm3s811blinkyblinky.uv2
PRJ1=ARMBoardsLuminaryek-lm3s2965blinkyblinky.uv2
PRJ2=ARMBoardsLuminaryek-lm3s6965blinkyblinky.uv2
[PHYTEC]
PATH="c:KeilARM"
PRJ0=ARMBoardsPhytecAT91M55800Ablinkyblinky.uv2
PRJ1=ARMBoardsPhytecLPC229xblinkyblinky.uv2
PRJ2=ARMBoardsPhytecLPC3180blinkyblinky.uv2
[SILICA]
PATH="c:KeilARM"
PRJ0=ARMBoardsSilicaLPC2103blinkyblinky.uv2