This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Keil "Connection Failed!" Problem?

Other Parts Discussed in Thread: LMFLASHPROGRAMMER

hello
I'm trying to install the sample programs in keil stellaris launchpad. However, I get the error constant.

Load "C:\\StellarisWare\\boards\\ek-lm4f120xl\\blinky\\rvmdk\\blinky.AXF" 

Connecting: Mode=JTAG, Speed=1000000Hz
Connection failed!, error code=&d

All Drivers are installed on Stellaris Launchpad.

What could be the problem?

  • Does LMFlash work?

    Do you have the speed too high?

    try 600,000 (600000) instead of the one mil or 10 mil you have there (I don't count zeroes -- they mean nothing to me.)

  • I am unable to replicate your results, can you pleas copy the entire error message that you are getting? (ie everything out of the console)

    Also please verify that you have

    flipped switch to Debug

    plugged the launchpad into your computer via USB

    open the blinky.uvproj in uVision

    build the project

    load the project

    at this point you should see the build output window fill up with text, please copy and paste all that text in your reply so I can get a better idea of your problem.

    Regards,

    -Austin

  • Hi..

    LMFlashProgrammer works. I install the program.

    All drivers must be installed in Board.

    You can see in the picture.

    http://s7.postimage.org/7lghryagr/Ekran_Al_nt_s.png

    Sample programs within the "Blinky" named open the program and I'm compiling with Keil.

    I receive the following error when I attempt to install compiled program board

    http://s7.postimage.org/j1w3hh3ej/Ekran_Al_nt_s_2.png

    What do you think could be the problem?

  • This is a driver issue, try reinstalling / updating your Stellaris drivers to the latest version. Here is the official TI Document that outlines how / where to get the drivers.

    http://www.ti.com/lit/ml/spmu287a/spmu287a.pdf

    If after reinstalling the drivers you still have issues please give me the specific driver Version for each of the three drivers (Device Manager -> Right Click -> Properties -> Driver Tab -> Driver Version) and what OS you are using so I can try to reproduce the issue.

    Please let me know if this solves your problem.

    Regards,

    Austin

  • Hello
    Problem solved
    Cause of the problem is the old Keil MDK

    Keil MDK 4.60 installed

    Thank you to friends who helped