Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 3 4 Next > End >>

aribero

Fresh Boarder
Click here to see the profile of this user

2006/11/22 12:30

Re:Download fail with Keil and LM3S811

Hi:

I am currently having the same difficulties pointed out in this topic ("Target DLL has been cancelled").

The very first time that I installed all the software, it allowed me to program the EKK-LM3S811 eval board with the 'Hello World' program one time. But I couldn't program the board any more.

I replaced the file LMIDK-AGDI.DLL with version 1.4.63, and reinstall the FTDI drivers with the ones from the file Luminary_FTDI_Driver-2_01.zip, but neither change worked.

Is there a solution posted anywhere to make the uVision3 + EKK-LM3S811 combination work?

Thanks

Alex.

I am running Windows XP SP2 / Athlon 64 Processor 3000+ 1.79MHz, 1Gb RAM

IDE-Version:
µVision3 V3.33

Post edited by: aribero, at: 2006/11/22 12:43

login or register to reply

aribero

Fresh Boarder
Click here to see the profile of this user

2006/11/22 15:18

Re:Download fail with Keil and LM3S811

Hi:

I just got a message from Luminary Support Group, pointing out possible causes for this problem. Among those, accidentally programming the device to change port PB7, PC0, PC1, PC2, or PC3 to GPIO function instead of JTAG, before the debugger has have time to halt the processor via the JTAG (at the beginning of the code). This effectively lock you out of the debugging mode via JTAG.

This is my case.

Now, the question is: how do I recover the debugging functionality? The LM3S811 data sheet indicates that
" This can be avoided with a software routine that restores JTAG functionality using an
external trigger." However no more details are provided.

Does somebody has such routine to reenable the JTAG functionality or run into the same problem?

Thanks for your help!

Regards,

Alex

login or register to reply

nas733

Fresh Boarder
Click here to see the profile of this user

2006/12/30 09:18

Re:Download fail with Keil and LM3S811

Hello everybody.

After spending a lot of time trying to make my uVision to communicate with the LM3S811 Eval Board I finally think got one of the problems that produces the "Target DLL has been cancelled" error. Make sure that no other program open the virtual serial port, particularly the Palm HotSync Application seem to open the port if the serial communication is enabled (as it seem to automatically search for a serial port). Check also other applications like BlueTooth servers, Hyperterminals, etc.

Also make sure you don't have any drivers installed wrong. I ran the following .BAT program to get the device manager show all the non-connected devices (with the Eval board disconnected) and deleted any entry before doing a reinstall.

@set devmgr_show_nonpresent_devices=1
@start devmgmt.msc

After running it enable in "View->Show Hidden Devices" and look for the Luminary Drivers in "Ports" and in "Universal Serial Bus Controllers". A good installation should have a single COM port and two USB controllers named "LM3S811 Evaluation Board A" and "LM3S811 Evaluation Board B".

Good luck.


Naubert

login or register to reply

kode4fun

Senior Boarder
Click here to see the profile of this user

2006/12/30 15:13

Re:Download fail with Keil and LM3S811

Hi all,

I have seen the same problem. One important thing is to make sure that you don't accidently chang those "jtag pins" into GPIOs. If you do, you won't be able to get its jtag function back. It is almost impossible!
You do need some mechanism to prevent this happens if you intend to do so.

After learning the lesson, I used one pin as input with a jumper to select connecting to +3.3V or GND. At the beginning of my code, it checks the logic level of the pin; if it's logic 0, don't configure those "jtag pins" as GPIOs and hang there waiting for being reprogrammed. If it's logic 1, configure "jtag pins" as GPIOs and continue normal code run. This is slightly different from the example code provided by Luminary Micro, which uses interrupt.

If the error message pops up, you need to close Keil and restart it to make programming flash work.

So far, this method works well for me. I don't have any problem flashing my target board using the LM3S811 Eval board.

cheers,
jc

login or register to reply
<< Start < Prev 1 2 3 4 Next > End >>