The keil 4.60ST-linkII of stm32f407discovery cannot be used.

Source: Internet
Author: User

1. Replace C: \ Keil \ ARM \ STLink with the STLink file in the resource. Remember to back up the original file,

2. Change C: \ Keil \ TOOLS. INI to the following

[UV2]ORGANIZATION="cs2c"NAME="jianzhong", "cui"EMAIL="cjzswust@gmail.com"ARMSEL=1BOOK0=UV4\RELEASE_NOTES.HTM("uVision Release Notes")[ARM]PATH="C:\Keil\ARM"VERSION=4.60PATH1="C:\Program Files\arm-none-eabi-gcc-4_6\"TOOLPREFIX=arm-none-eabi-CPUDLL0=SARM.DLL(TDRV0,TDRV5,TDRV6,TDRV10)                                                        # Drivers for ARM7/9 devicesCPUDLL1=SARMCM3.DLL(TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV7,TDRV8,TDRV9,TDRV11,TDRV12,TDRV13,TDRV14)  # Drivers for Cortex-M devicesCPUDLL2=SARMCR4.DLL(TDRV7)                                                                        # Drivers for Cortex-R4 devicesBOOK0=HLP\RELEASE_NOTES.HTM("Release Notes")BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection", C)BOOK2=CMSIS\index.html("CMSIS Documentation")BOOK3="C:\Program Files\arm-none-eabi-gcc-4_6\share\doc\pdf\gcc\gcc.pdf" ("GNU C Compiler",GEN)BOOK4="C:\Program Files\arm-none-eabi-gcc-4_6\share\doc\pdf\as.pdf" ("GNU Assembler",GEN)BOOK5="C:\Program Files\arm-none-eabi-gcc-4_6\share\doc\pdf\ld.pdf" ("GNU Linker",GEN)BOOK6="C:\Program Files\arm-none-eabi-gcc-4_6\share\doc\pdf\binutils.pdf" ("GNU Binary Utilities",GEN)BOOK7=Signum\Docs\SigUV3Arm.htm("Signum Systems JTAGjet Driver Documentation")TDRV0=BIN\UL2ARM.DLL("ULINK2/ME ARM Debugger")TDRV1=BIN\UL2CM3.DLL("ULINK2/ME Cortex Debugger")TDRV2=BIN\AGDIRDI.DLL("RDI Interface Driver")TDRV3=BIN\ABLSTCM.dll("Altera Blaster Cortex Debugger")TDRV4=BIN\lmidk-agdi.dll("Stellaris ICDI")TDRV5=Signum\SigUV3Arm.dll("Signum Systems JTAGjet")TDRV6=Segger\JLTAgdi.dll("J-LINK / J-TRACE ARM")TDRV7=Segger\JL2CM3.dll("J-LINK / J-TRACE Cortex")TDRV8=STLink\ST-LINKIII-KEIL.dll ("ST-Link (Deprecated Version)")TDRV9=BIN\ULP2CM3.DLL("ULINK Pro Cortex Debugger")TDRV10=BIN\ULP2ARM.DLL("ULINK Pro ARM Debugger")TDRV11=NULink\Nu_Link.dll("NULink Debugger")TDRV12=SiLabs\SLAB_CM_Keil.dll("SiLabs UDA Debugger")TDRV13=STLink\ST-LINKIII-KEIL_SWO.dll ("ST-Link Debugger")TDRV14=BIN\CMSIS_AGDI.dll("CMSIS-DAP Debugger")TDRV15=BIN\ST-LINKII-KEIL.DLL("ST LinkII Debugger")DELDRVPKG0=ULINK\UninstallULINK.exe("ULINK Pro Driver V1.0")[ARMADS]PATH="C:\Keil\ARM"PATH1=".\ARMCC\bin\"CPUDLL0=SARM.DLL(TDRV0,TDRV5,TDRV6,TDRV10)                                                        # Drivers for ARM7/9 devicesCPUDLL1=SARMCM3.DLL(TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV7,TDRV8,TDRV9,TDRV11,TDRV12,TDRV13,TDRV14)  # Drivers for Cortex-M devicesCPUDLL2=SARMCR4.DLL(TDRV7)                                                                        # Drivers for Cortex-R4 devicesBOOK0=HLP\RELEASE_NOTES.HTM("Release Notes")BOOK1=HLP\ARMTOOLS.chm("Complete User's Guide Selection", C)BOOK2=http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0592b/index.html ("ARM Compiler v5.02 for uVision")BOOK3=CMSIS\index.html("CMSIS Documentation")BOOK4=Signum\Docs\SigUV3Arm.htm("Signum Systems JTAGjet Driver Documentation")TDRV0=BIN\UL2ARM.DLL("ULINK2/ME ARM Debugger")TDRV1=BIN\UL2CM3.DLL("ULINK2/ME Cortex Debugger")TDRV2=BIN\AGDIRDI.DLL("RDI Interface Driver")TDRV3=BIN\ABLSTCM.dll("Altera Blaster Cortex Debugger")TDRV4=BIN\lmidk-agdi.dll("Stellaris ICDI")TDRV5=Signum\SigUV3Arm.dll("Signum Systems JTAGjet")TDRV6=Segger\JLTAgdi.dll("J-LINK / J-TRACE ARM")TDRV7=Segger\JL2CM3.dll("J-LINK / J-Trace Cortex")TDRV8=STLink\ST-LINKIII-KEIL.dll ("ST-Link (Deprecated Version)")TDRV9=BIN\ULP2CM3.DLL("ULINK Pro Cortex Debugger")TDRV10=BIN\ULP2ARM.DLL("ULINK Pro ARM Debugger")TDRV11=NULink\Nu_Link.dll("NULink Debugger")TDRV12=SiLabs\SLAB_CM_Keil.dll("SiLabs UDA Debugger")TDRV13=STLink\ST-LINKIII-KEIL_SWO.dll ("ST-Link Debugger")TDRV14=BIN\CMSIS_AGDI.dll("CMSIS-DAP Debugger")TDRV11=BIN\ST-LINKII-KEIL.DLL("ST LinkII Debugger")RTOS0=Dummy.DLL("Dummy")RTOS1=VARTXARM.DLL ("RTX Kernel")DELDRVPKG0=ULINK\UninstallULINK.exe("ULINK Pro Driver V1.0")

3. Set the option Debug label as follows:

Click Settings to set the Settings as follows:

4. Set the options Utilities as follows:

Click Settings

There is no content in the new project Programming Algorithm. here you should select the flash burning Algorithm. Different flash has different algorithms. Click Add

Because the flash size of stm32f407discovery I use is 1 MB, So we choose the following, if not selected will appear download failed-"Cortex-M4"

Note:

1. This icon is also an option to open the project.

2. This icon is used to download the program to flash.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.