Home arrow Support arrow Forums

Luminary Micro Forums

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

cb1

Platinum Boarder

2008/10/30 04:52

Re:programming LM3s6918

Believe that LMI Joe is directing you to select ULink2 - "not" JTAG-FTDI. (assume here that ULink2 does not employ FTDI)

Renew your search for the ULink2.

As Ulink2 is there newer device - perhaps your version of Keil is too old - and does not include this option. In that case install the newest version...

login or register to reply

LMI Joe

Expert Boarder

2008/10/30 11:05

Re:programming LM3s6918

I want to be sure I understand your setup. You are using the ULINK2 to connect to the IDM board, with Keil uVision as the debugger? Are you using the little cable and directly connected to the IDM board? Make sure that the side of the cable with the red wire is connected to pin 1 on the connector on the IDM board. It is not keyed so it is possible to get this plugged in backwards. Pin 1 on the IDM board is marked with a small circle. Also we have found that if you have both the little cable and the wide cable attached on your ULINK2, that the loading in the unconnected wide cable can cause problems. So if yours is like this, try removing the wide cable from your ULINK2 so that the only cable coming out of the ULINK2 is the small cable.

Now, in uVision, click on Project-->Options menu to open the target options dialog. On the utilities tab, there is another setting you need to check. You have already selected "ULINK Cortex Debugger" in the drop down box. Then click on the "Settings" button. There should be a line describing the flash type and size. With Keil uVision, sometimes when you change from the Luminary Eval Board driver to the ULINK driver, it puts a bad value here. If the address range shows a max value of 0xFFFFFFFF then this will not work. In this case, highlight that line and click "Remove". Then click "Add" and from the popup box select "LM3Sxxx 256kB Flash", and then click "Add". From here, click OK on all the boxes to get your way back to uVision.

There is something else you can check. In the target options dialog, go to the Debug tab, make sure "ULINK Cortex Debugger" is in the drop down box, then click settings. Under JTAG Device Chain, you should see a device appear in the list. This tells you that uVision/ULINK2 sees the JTAG port in the microcontroller. Cancel back out of this dialog.

Please let us know how it goes from here.

login or register to reply

supriborg

Junior Boarder

2008/11/02 01:37

Re:programming LM3s6918

We tried what you suggested many times but we are getting the same error "TARGET DLL HAS BEEN CANCELLED".I just want to know does it have any problem with bootloader?????should we have to load it again??

It is having inbuilt sample program of qs-keypad.further if we want to load another application then how to load it???

login or register to reply

LMI Dan

Moderator

2008/11/05 10:00

Re:programming LM3s6918

The error you are seeing has nothing to do with the boot loader. You say you have tried the suggestions many times, however you are not providing specific feedback that LMI Joe has asked for. We are simply trying to help you find out what you have set-up incorrectly. If everything is set-up correctly, then it will work... so you will need to go back and review each step.

For instance, the error "TARGET DLL HAS BEEN CANCELLED" is in a dialog box. The console in the Keil tools often provides more information about why the "target dll has been cancelled". Please provide this information.

Did you follow LMI Joe's exact instructions about removing and then adding the flash programming algorithm?

Which version of the Keil tools are you using?

Are you using a Full license or the evaluation license?

Since you are a student, I would suggest you also get some help from your professor. If you are still having trouble you can contact support@luminarymicro.com, however they will be asking you for the exact same information LMI Joe and I have asked for.

login or register to reply

supriborg

Junior Boarder

2008/12/22 01:10

Re:programming LM3s6918

As per your instructions, we tried to download the "hello" prog on the kit. We used JTAG port and KEILuV3. Going one step further, we erased the demo prog on the kit. But while downloading the prog using LM flash player, we are getting an error-" unable to connect to target". Are we going right? If yes, what further..? Is there any further setting required in LM flash prgrammer options?
please give some solution.

login or register to reply

LMI Dan

Moderator

2008/12/22 11:45

Re:programming LM3s6918

So, you are not going right... since it does not work for you.

Again, please provide exact information on your set-up. We cannot tell you what if there are further settings required if you did not provide your current settings.

Several people have posted exact steps for programming this device. If you are still having touble, please provide your exact set-up information or review the intructions in the user's manual, software tools, and previous posts to this thread. I do not know what else to do to help you out.

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