Problem with Crossworks and Olimex ARM-USB-TINY

Hi everyone,

I’ve got an LPC-H2148 header board from Olimex and I’m trying to program it from Crossworks v2 via an Olimex ARM-USB-TINY. Everytime I select Olimex ARM-USB-TINY from the Targets panel, I get the following error:

cannot find USB device (vid=0x15BA, pid=0x0004, serial=, channel=0)

I’ve followed the instructions on Olimex’s website for connecting this particular JTAG programmer to Crossworks by creating a Generic FT2232 Device as a new target, but it still doesn’t work.

I’m not sure if finding out the serial number of the programmer and putting that into Crossworks will help, and I’m also not sure if the driver I’m using is correct: I’ve been trying with the driver that came on the Olimex disc but there is the new driver that comes with OpenOCD 0.2.0. I’m not sure which one (if any) is the correct one to use with Crossworks.

Does anyone have a clue how to fix this?

Thanks in advance for any help you can give,

Aldwyn

Try a slower JTAG clock.

Leon

Thanks Leon,

I just tried a jtag clock divider of 10 instead of 1 (I’m guessing that is how you affect the speed) but… still didn’t work!

I think the problem is more in initially connecting to the programmer than the actual JTAG connection to the board.

Yes, that is slower.

I’d say that it is likely to be a driver problem. I normally use the Rowley CrossConnect, but I have tried an Amontec JTAGkey, which I think is similar to the Olimex device (they probably use the same FTDI chip). I think I used the driver on the FTDI web site, but it was a long time ago.

Leon

I downloaded the driver from FTDI but to make the VID and PID match that of the JTAG programmer, I opened the .inf file and changed it so that they matched. I don’t know if it was the right thing to do because:

a) It told me to rebbot after I intalled

b) When windows tried to start up afterwards it crashed so I had to restart again.

c) It still doesn’t work.

Should I try it again without changing the PIDs and VIDs?

What did you do?

Thanks

I didn’t have to change anything.

Leon

Why would you create a connection when there’s already a connection setup for the Olimex USB JTAG? Just select it. Whatever you changed in the driver, change it back.