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.
 

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
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).
 

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.
 

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.
 

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
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
**broken link removed**

Good document about ARM JTAG
**broken link removed**
 

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.
 

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
 

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 https://www.amontec.com/jtagkey.shtml

Laurent
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…