Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Problem with reading IDCODE in FT2232 with JTAG interface

Status
Not open for further replies.

Elektrolot

Newbie level 3
Joined
Dec 23, 2005
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
Are anybody using FT2232 in JTAG interface with FTCJTAG.dll?
I'm trying to read IDCODE and I always get bad value.
I will be very grateful if someone send me example code in Delphi or C.
 

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,271
ft2232 jtag

Elektrolot said:
Are anybody using FT2232 in JTAG interface with FTCJTAG.dll?
I'm trying to read IDCODE and I always get bad value.
I will be very grateful if someone send me example code in Delphi or C.
There is code which reading ARM7TDMI Samsund S3C4530 IDCODE.
 

    Elektrolot

    points: 2
    Helpful Answer Positive Rating

Elektrolot

Newbie level 3
Joined
Dec 23, 2005
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
jtag ft2232

Thanks Dainis,

I just have connected JTAG to ARM7TDMI microcontroller.
Can You attach exe file (I don't have C++NET to compile this files).
 

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,271
arm jtag ft2232

Elektrolot said:
Thanks Dainis,

I just have connected JTAG to ARM7TDMI microcontroller.
Can You attach exe file (I don't have C++NET to compile this files).
There is exe file, but it is compilled with old Microsoft® Visual Studio™ 6.0.
 

Elektrolot

Newbie level 3
Joined
Dec 23, 2005
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
jtag read idcode

Dainis are You test your code with hardware?
I always get 00 00 00 00 value.
This code is strage for me. You didn't use instruction IDCODE 0x0E.
 

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,271
ft2232

Elektrolot said:
Dainis are You test your code with hardware?
I always get 00 00 00 00 value.
This code is strage for me. You didn't use instruction IDCODE 0x0E.
There is exe file output:
D:\ARM\FT2232CJTAGC++NETTestApp\Debug>"FT2232CJTAGC++NETTestApp.exe"
Found 1. device name=Dual RS232 A
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
JTAG read data ID: 1F 0F 0F 0F
 

    Elektrolot

    points: 2
    Helpful Answer Positive Rating

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,271
ft2232 arm

Open On-Chip Debugger
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing
http://openocd.berlios.de/web/

What this new version supports:
- ARM7TDMI (including -S)
- ARM9TDMI
- Wiggler, FTDI2232C and Amontec JTAG Accelerator (not yet released)
- Telnet interface
- GDB interface
- multiple targets (in theory)
- multiple devices in a JTAG scan chain (tested)

FTDI2232C based JTAG
http://www.fh-augsburg.de/~hhoegl/proj/volksmikro/

Good document about ARM JTAG
http://www.fh-augsburg.de/~hhoegl/da/da-25/thesis.pdf
 

vmaster

Newbie level 2
Joined
Dec 24, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
jtag read id

Make sure you're using the latest SVN revision. OpenOCD is constantly improving, and many bugs have been fixed since the preview release.
 

ntfreak

Full Member level 3
Joined
Feb 22, 2002
Messages
152
Helped
6
Reputation
12
Reaction score
0
Trophy points
1,296
Location
UK
Activity points
1,249
ft 2232

I have been working on this for about a month, we need to get more people involved as this is a very good alternative to ocdremote.

Flash programming is now supported, currently only lpc devices but others are being added - i am working on ST STR7 support.

Plans are to support semihosting, rdi and whatever we can think of.
works under cygwin now, not just linux.

Regards
NTFreak
 

Amontec

Newbie level 2
Joined
Apr 21, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
jtag ft2232 jtag_open

Try Amontec JTAGkey. JTAGkey is a USB to JTAG interface in a cool design. It comes with specific USB drivers and it is fully integrated in OpenOCD.

Look at http://www.amontec.com/jtagkey.shtml

Laurent
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top