EmbDev.net

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


Author: Raed Abusanad (raedbenz)
Posted on:

Rate this post
0 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??

Author: Jonathan Dumaresq (dumarjo)
Posted on:

Rate this post
0 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

Author: Raed Abusanad (raedbenz)
Posted on:

Rate this post
0 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

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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.

Author: Raed Abusanad (raedbenz)
Posted on:

Rate this post
0 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

Author: Intelitez Intelitez (Company: intelitez) (intelitez)
Posted on:

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

please provide steps to rectify

Author: Jim Meba (turboj)
Posted on:

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

OpenOCD with ftdi driver requires WinUSB AFAIK.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.