I have received (amongst other things) an ARM-USB-TINY device.
The CD that came with it was corrupt (the installers fail the CRC check, I can’t open text files, etc… on 2 different computers and 3 different drives).
Anyway, I downloaded OpenOCD from their website and installed it, but when I plug TINY in, windows can’t find the drivers.
Anyway, I downloaded OpenOCD from their website and installed it, but when I plug TINY in, windows can’t find the drivers.
What to do?
Thanks in advance,
shwouchk
The YAGARTO OpenOCD installer places the drivers in the driver subdirectory under wherever you put the main OpenOCD directory. I imagine that whatever installer you used did the same. If you took the defaults, each of the hardware devices that OpenOCD supports will be in it’s own subdirectory in the driver directory. Just point the Windows installer there when it asks for a driver disk. BTW, the YAGARTO OpenOCD is a pure Windows version of OpenOCD, while the orginal will also require Cygwin to be installed on your Windows PC. At least that is the way things were before I switched to the YAGARTO version.
I did tell windows to look there, and it ‘didn’t find’ anything. I even used the ‘have disk’ option, and chose all the available drivers one by one - and time after time I was told that they hold no information regarding the hardware…
As I wasted half of my day figuring out, the Windows driver .inf and .ini files that come with the ARM-USB-TINY, and that come with OpenOCD have a PID (ProductID) of 3 but they should be 4 for the Tiny board.
There are several places that this must be changed. However, once I got all those fixed the driver installed.
Still trying to get code download and debugging going.
Put this in a file and call openocd with that file as the config file… Ill try to find the page where I found that info later on… Also please let me know if you succeed in downloading and running executables on the device, since I’m nearly at that stage…
I finally finished my code today and I discovered that I too have a problem connecting… I also have no idea what this script it, which is weird since Im pretty sure it worked…
Turns out my main problem with connecting was a bad power supply. When I switched from the supply to USB power I was able to connect.
However I do have an issue with the .cfg that comes in the ‘For Dummies’ installer: I find that I cannot connect using the Eclipse environment at all. So I run from command line. The openocd config in the For Dummies installer cause me grief. But when I use one closer to what comes by default with OpenOCD I have more luck: openocd stays running while debugging instead of exiting with error…
I wonder, do you know if exactly 6v are needed in the supply? because the supply I’m using gives out 5v which seems to be fine, but after your problem I’m a bit afraid that it might cause problems for me…