setting Eclipse - FTD2XX.dll not found

OP #1174595
Rate this post
useful
not useful
hi,,

i have managed to compile a test code and get the executable with the
steps in Yagarto/Eclipse Website.
But when i try to set up the debugger in in step 2(from web) "Native GNU
ARM toolchain for windows", and i type in cmd window
"D:\Projekte\ARM\STR7Test>openocd-ftd2xx -f .\prj\jtagkey.cfg" i get
that an error says that FTD2xx.dll not found. i gues that i am getting
that bcoz i have not installed JTAGkey drivers???? but i dont have the
hardware , i think i ashould be able to debug the code without a JTAG???
just by looking how variables change values, etc..

thanks??
#1174596
Rate this post
useful
not useful
Hi,

Raed Abu-sanad wrote:
> hi,,
>
> i have managed to compile a test code and get the executable with the
> steps in Yagarto/Eclipse Website.
> But when i try to set up the debugger in in step 2(from web) "Native GNU
> ARM toolchain for windows", and i type in cmd window
> "D:\Projekte\ARM\STR7Test>openocd-ftd2xx -f .\prj\jtagkey.cfg" i get
> that an error says that FTD2xx.dll not found. i gues that i am getting
> that bcoz i have not installed JTAGkey drivers???? but i dont have the
> hardware , i think i ashould be able to debug the code without a JTAG???
> just by looking how variables change values, etc..
>
> thanks??

FTD2xx-dll should be on your openocd installation directory.

it's probably an environement variable that it's not set correctly. If
you want  to test, put that dll in your windows\system32 directory.

Jonthan
OP #1174597
Rate this post
useful
not useful
Jonathan Dumaresq wrote:

>
> FTD2xx-dll should be on your openocd installation directory.
>
> it's probably an environement variable that it's not set correctly. If
> you want  to test, put that dll in your windows\system32 directory.
>
> Jonthan

hi, here is wat i am getting:
E:\Downloads\STR7Test>openocd-ftd2xx -f .\prj\jtagkey.cfg

Open On-Chip Debugger (2008-06-19 19:00) svn: 717
URL: http://svn.berlios.de/svnroot/repos/openocd/trunk
Info:    options.c:50 configuration_output_handler(): jtag_khz: 10,
16000
Info:    options.c:50 configuration_output_handler(): Open On-Chip
Debugger (2008-06-19 19:0717
Error:   ft2232.c:1419 ft2232_init_ftd2xx(): unable to open ftdi device:
2

hints plz?
thanx
Moderator #1174598
Rate this post
useful
not useful
>...
> but i dont have the
> hardware , i think i ashould be able to debug the code without a JTAG???
> just by looking how variables change values, etc..
>...

I guess you are looking for a simulator. A rather simple core-simulator
is included in gdb, try target sim. Should at least help during the
first steps.
Neither OpenOCD nor FTDI-driver will help you if you do not have a
JTAG-interface and a controller to connect to.
OP #1174599
Rate this post
useful
not useful
Martin Thomas wrote:
>>...
>> but i dont have the
>> hardware , i think i ashould be able to debug the code without a JTAG???
>> just by looking how variables change values, etc..
>>...
>
> I guess you are looking for a simulator. A rather simple core-simulator
> is included in gdb, try target sim. Should at least help during the
> first steps.
> Neither OpenOCD nor FTDI-driver will help you if you do not have a
> JTAG-interface and a controller to connect to.

hi,,thanks.
do u have any idea how do i configure and run the simulator?

thanks

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now