EmbDev.net

Forum: ARM programming with GCC/GNU tools setting Eclipse - FTD2XX.dll not found


von Raed A. (raedbenz)


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??

von Jonathan D. (dumarjo)


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

von Raed A. (raedbenz)


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

von Martin T. (mthomas) (Moderator)


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.

von Raed A. (raedbenz)


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

von Intelitez I. (Company: intelitez) (intelitez)


Rate this post
useful
not useful
my openocd test viacmd line shows - FTD2XX.dll not found

please provide steps to rectify

von Jim M. (turboj)


Rate this post
useful
not useful
Current OpenOCD versions should not need FTD2XX.dll any longer.

OpenOCD with ftdi driver requires WinUSB AFAIK.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.