Home arrow Support arrow Forums

Luminary Micro Forums

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

beaver

Fresh Boarder

2006/11/08 02:25

Re:Download fail with Keil and LM3S811

Is anyboady else having a struggle on WinXP?

login or register to reply

geraldo

Junior Boarder

2006/11/08 05:52

Re:Download fail with Keil and LM3S811

Hello alex_b,

I 'm sorry, but here it's not possible to get a working system with both drivers working together. Both were installed, thats right, but only one works at a time.
As the LMIDK-AGDI.dll needs the 2dxx drivers, the vcp drivers will not work.

After installation of the drivers you can test the installation with the ftdi-utiliy mprog. If mprog finds a device (rescan for device as I remember) the 2dxx drivers are correctly installed and programming/debug should work also.
For testing different lmidk*.dlls its possible to edit the tools.ini-file. You can rename the different dlls and add them there. Sorry I'm not at my development system right now. If you need further information ... I can paste the lines of my tools.ini in the evening.

It would be nice, if someone posts a note here when he gets both drivers running together.

Thanks
Geraldo

login or register to reply

alex_b

Junior Boarder

2006/11/08 08:22

Re:Download fail with Keil and LM3S811

Hello geraldo,

You have misunderstood me. The LMI EVB board is seen by the system as two indpendent devices (OK as one composite device) so it is possible to install 2dxx drivers for LMI board A and vcp drivers for LMI board B. Of course none board can use both drivers. Here are my modifications of *.inf files:

2dxx drivers
ftd2xx.inf

[FtdiHw]
%USBVID_0403&PID_6001.DeviceDesc%=FTD2XX, USBVID_0403&PID_6001
%USBVID_0403&PID_BCD9&MI_00.DeviceDesc%=FTD2XX, USBVID_0403&PID_BCD9&MI_00


[Strings]
Ftdi="FTDI"
USBVID_0403&PID_6001.DeviceDesc="FTDI FT8U2XX Device"
USBVID_0403&PID_BCD9&MI_00.DeviceDesc="LM3S811 Evaluation Board A"
FTD2XX.SvcDesc="FTD2XX.SYS FT8U2XX device driver"


vcp drivers
ftcusb.inf

[FtdiHw]
%USBVID_0403&PID_BCD9&MI_01.DeviceDesc%=FTCUSB, USBVID_0403&PID_BCD9&MI_01

[Strings]
Ftdi="FTDI"
DriversDisk="FTDI USB Drivers Disk"
USBVID_0403&PID_BCD9&MI_01.DeviceDesc="LM3S811 Evaluation Board B"
FTCUSB.SvcDesc="FTCUSB.SYS FT2232C IO test driver"



ftcser.inf

[FtdiHw]
%VID_0403&PID_BCD9.DeviceDesc%=FTCSER,FTDIBUSCOMPORT&VID_0403&PID_BCD9

[Strings]
FTDI="FTDI"
DriversDisk="FTDI USB Drivers Disk"
PortsClassName = "Ports (COM & LPT)"
VID_0403&PID_BCD9.DeviceDesc="LM3S811 Virtual COM Port"
FTCSER.SvcDesc="FTDI USB Dual Serial Port Driver"

As you can see, 2dxx driver serves only the device with PID BCD9&MI_00 while vcp driver serves the device with PID BCD9&MI_01.

I have tested virtual port and it works - it displays the preloaded in EVB board game score. The same is with mprog tool. It finds LMI board A. But lmidk-agdi.dll drivel still doesn't program nor debug EVB board.

login or register to reply

geraldo

Junior Boarder

2006/11/08 09:46

Re:Download fail with Keil and LM3S811

Hello alex_b

maybe I've missunderstood something...
If the vcp-driver is working then the 2dxx-driver ist not working properly.
If you do the rescan-command, does mprog finds the chip? Can you see the configuration that ch1 is programmed for 2dxx and ch2 for vcp?

In my installation the settings button showed no result too, but program/debug works.

Don't worry .. the lmidk-agi.dll is found but one of the called *.dlls (->ftjtag.dll, ft2dxx.dll .. is not working or not found)

What version of Win98 you are using? First/Second Edition?

I'll try the installation procedure again this evening on a different system.

geraldo

login or register to reply

LMI Eric

Moderator

2006/11/08 15:38

Re:Download fail with Keil and LM3S811

beaver,

I would like to help you diagnose your "target DLL cancelled" problem. To do this I'll need to send you a version of the lmidk-agdi.dll file that enables logging so that we can see where the debugger or DLL is failing. Should I send the information to the email address that you registered with?

Eric

Post edited by: LMI Eric, at: 2006/11/08 15:39

login or register to reply

alex_b

Junior Boarder

2006/11/09 01:04

Re:Download fail with Keil and LM3S811

Hello geraldo,

1. I tried installing only 2dxx driver, but result was the same - no programming and debugging feature available.

2. Yes, mprog finds the chip. Unfortunately, I can not see how ch1 and ch2 are programmed because mprog reads only eeprom content (I haven't analyzed it). Maby it is because, as I read on FTDI webpage, mprog doesn't work properly with the latest 2dxx drivers.

3. I use first edition of Win98.

Thank you for your help.

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