2010-12-08 04:37:23     Using ICE-100B with Windows & gcc.

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2010-12-08 04:37:23     Using ICE-100B with Windows & gcc.

Prasanth Rajagopal (INDIA)

Message: 96557   

 

Hi,

 

I am trying to use the ICE-100B with Windows, so as to use it for debugging with Eclipse bare metal. I installed the toolchain on my WIndows Vista with win32-svn. I see a folder like this:

 

C:\Program Files\Analog Devices\GNU Toolchain\SVN-20101128\gnICE-drivers

 

But I don't find anything on ICE-100B. I read some threads and tried changing the gnICE.inf, but somehow the driver was not located - as from a windows error message. I haven't played with the *.inf files (maybe it was wrong), so can somebody give me a sample file for the working case, if not how do I find info about device.xxx for ICE-100B? I suppose that, once the *.inf is correct, I can just re-install the driver from this new path. The ICE-100B was installed for VDSP, but it is OK if it doesnt work for VDSP anymore.

 

Any hints? Is there anything else I need to follow, or am I doing some mistake in installation?

 

- Prasanth.

QuoteReplyEditDelete

 

 

2010-12-08 05:03:43     Re: Using ICE-100B with Windows & gcc.

Mike Frysinger (UNITED STATES)

Message: 96558   

 

search the forums.  someone already posted details for how to make it work by tweaking the gnICE inf file.

QuoteReplyEditDelete

 

 

2010-12-08 05:14:28     Re: Using ICE-100B with Windows & gcc.

Prasanth Rajagopal (INDIA)

Message: 96559   

 

MIke,

 

Yes, I saw that already, but I could not make it work. To be specific, in the inf file, I saw:

 

;[Devices]

;%gnICE_JTAG%  = USB_Install, USB\VID_0456&PID_f000&MI_00

;%gnICE+_JTAG% = USB_Install, USB\VID_0456&PID_f001&MI_00

[Devices.NTX86]

%gnICE_JTAG%  = USB_Install, USB\VID_0456&PID_f000&MI_00

%gnICE+_JTAG% = USB_Install, USB\VID_0456&PID_f001&MI_00

[Devices.NTAMD64]

%gnICE_JTAG%  = USB_Install, USB\VID_0456&PID_f000&MI_00

%gnICE+_JTAG% = USB_Install, USB\VID_0456&PID_f001&MI_00

 

When I connect the ICE & see the hardware ids from property list, it shows:

 

USB\VID_064B&PID_0225&REV_0100                                                                                                                                                                         USB\VID_064B&PID_0225

 

I am not sure where exactly to change. Tried playing around but in vain, it fails somewhere in driver installation.

 

Thanks

 

Prasanth.

QuoteReplyEditDelete

 

 

2010-12-08 05:30:24     Re: Using ICE-100B with Windows & gcc.

Mike Frysinger (UNITED STATES)

Message: 96562   

 

just copy & paste an existing line but change the VID/PID numbers like people said.  i dont have Windows atm so i cant post, but i imagine it'd simply look like:

 

"GNU ICE100B" = USB_Install, USB\VID_064b&PID_0225

QuoteReplyEditDelete

 

 

2010-12-08 07:37:33     Re: Using ICE-100B with Windows & gcc.

Prasanth Rajagopal (INDIA)

Message: 96564   

 

It was just Windows and specifically Vista messing up. I had the USB Device listed, but could never install the driver manually. I removed the device and replugged it and the driver got installed automatically from the new location. Just did a re-boot to avoid more issues.

 

I just added the below in inf file, as you said:

 

;[Devices]

;%gnICE_JTAG%  = USB_Install, USB\VID_0456&PID_f000&MI_00

;%gnICE+_JTAG% = USB_Install, USB\VID_0456&PID_f001&MI_00

"GNU ICE100B" = USB_Install, USB\VID_064b&PID_0225&REV_0100

[Devices.NTX86]

%gnICE_JTAG%  = USB_Install, USB\VID_0456&PID_f000&MI_00

%gnICE+_JTAG% = USB_Install, USB\VID_0456&PID_f001&MI_00

"GNU ICE100B" = USB_Install, USB\VID_064b&PID_0225&REV_0100

[Devices.NTAMD64]

%gnICE_JTAG%  = USB_Install, USB\VID_0456&PID_f000&MI_00

%gnICE+_JTAG% = USB_Install, USB\VID_0456&PID_f001&MI_00

"GNU ICE100B" = USB_Install, USB\VID_064b&PID_0225&REV_0100

 

I could load and debug a BF548 led blink from command line.

 

Thanks

 

Prasanth.

Attachments

    Outcomes