sreenivasarao Posted November 13, 2017 Share Posted November 13, 2017 Hello, we are having some issue with second adapter. read_memory function returns same value which is already written on previous adapter. Details: 1) Connected Multiple Digilent JTAG HS2 to same Computer 2) Using our application perform the following operations a. perform write_memory/read_memory operation on First Adapter (e.g) written 0x10 at 0xf0011200) and read the value at 0xf0011200 b. Then call read_memory against second Adapter. Instead of zero value, getting same value(0x10) Our Application uses arcint.h and apidglnt.dll for geting ARC Interface(do like enumerate all Jtag Adapter, Connect to selected adapter then finally do read_memory/Write_memory Operations). Before connecting to second adapter, it remove existing connected adapter then proceed further. please suggest regarding this. it works fine if we do the same thing in MetaWare Software. Thaniks, Regards, Sreenivas Please See the log for more information. Available adapters for jtag: ID : Ashling Opella-XD ARC Driver, 06-Mar-2014 v1.0.5-B 2017-11-13 18:05:42.452 ,INFO ,CTF ,"Available adapters for jtag:" , 0 -> SN:210241743507 2017-11-13 18:05:42.453 ,INFO ,CTF ,"0 -> SN:210241743507" , 1 -> SN:936737571414 2017-11-13 18:05:42.453 ,INFO ,CTF ,"1 -> SN:936737571414" , 2017-11-13 18:05:42.453 ,INFO ,CTF ,"Enter adapter index (0-1): " , Enter adapter index (0-1): 0 Selected Adapter: SN:210241743507 2017-11-13 18:05:44.800 ,INFO ,CTF ,"Selected Adapter: SN:210241743507" , [JTAG] Running in 4wire mode. [DIGILENT] Attempting to set speed to 3000000 Hz. [DIGILENT] Speed was set to 3000000 Hz. [JTAG] JTAG7 config0 register in 4wire mode = 0xffffffff [JTAG] JTAG7 rdback0 register in 4wire mode = 0xffffffff [JTAG] JTAG7 rdback0 register in 2wire mode = 0x1609 [JTAG] JTAG chain analysis: input 0xff, output bit stream was: [JTAG] 1000 1101 0010 0100 0000 0010 0000 0100 [JTAG] 1000 1101 0010 0100 0000 0000 0000 0100 [JTAG] 1111 1111 0000 0000 0000 0000 0000 0000 [JTAG] The bits are left-to-right in order of exit from TDO. [JTAG] Reversed, as they appear in the shift registers, they are: [JTAG] 0000 0000 0000 0000 0000 0000 1111 1111 [JTAG] 0010 0000 0000 0000 0010 0100 1011 0001 [JTAG] 0010 0000 0100 0000 0010 0100 1011 0001Readmemory return Value 22 Available adapters for jtag: ID : Ashling Opella-XD ARC Driver, 06-Mar-2014 v1.0.5-B 2017-11-13 18:05:58.415 ,INFO ,CTF ,"Available adapters for jtag:" , 0 -> SN:210241743507 2017-11-13 18:05:58.415 ,INFO ,CTF ,"0 -> SN:210241743507" , 1 -> SN:936737571414 2017-11-13 18:05:58.415 ,INFO ,CTF ,"1 -> SN:936737571414" , 2017-11-13 18:05:58.415 ,INFO ,CTF ,"Enter adapter index (0-1): " , Enter adapter index (0-1): 1 Selected Adapter: SN:936737571414 2017-11-13 18:06:01.230 ,INFO ,CTF ,"Selected Adapter: SN:936737571414" , [JTAG] Notational conventions: [JTAG] ARC.cN means the N-th ARC in the chain (N=1,2,...). [JTAG] ARC.N means the ARC whose IDCODE arcnum is N. [JTAG] It is possible for these numbers to differ. [JTAG] ARC.c1 is ARC.0 [JTAG] ARC.c1 has status register length of 7 [JTAG] ARC.c2 is ARC.16 [JTAG] ARC.c2 has status register length of 7 [JTAG] There are 2 jtag unit(s). Left-to-right, they are: [JTAG] 1: id=0x200024b1 (ARC.0), irlen=4, arc_type=2 [JTAG] 2: id=0x204024b1 (ARC.16), irlen=4, arc_type=2 [JTAG] ARC.c1: to my right: 4 IR bits, 1 data bits. [JTAG] Running in 4wire mode. [DIGILENT] Attempting to set speed to 3000000 Hz. [DIGILENT] Speed was set to 3000000 Hz. [JTAG] JTAG7 config0 register in 4wire mode = 0xffffffff [JTAG] JTAG7 rdback0 register in 4wire mode = 0xffffffff [JTAG] JTAG7 rdback0 register in 2wire mode = 0x1609 [JTAG] JTAG chain analysis: input 0xff, output bit stream was: [JTAG] 1000 1101 0010 0100 0000 0010 0000 0100 [JTAG] 1000 1101 0010 0100 0000 0000 0000 0100 [JTAG] 1111 1111 0000 0000 0000 0000 0000 0000 [JTAG] The bits are left-to-right in order of exit from TDO. [JTAG] Reversed, as they appear in the shift registers, they are: [JTAG] 0000 0000 0000 0000 0000 0000 1111 1111 [JTAG] 0010 0000 0000 0000 0010 0100 1011 0001 [JTAG] 0010 0000 0100 0000 0010 0100 1011 0001Readmemory return Value 22 [JTAG] Notational conventions: [JTAG] ARC.cN means the N-th ARC in the chain (N=1,2,...). [JTAG] ARC.N means the ARC whose IDCODE arcnum is N. [JTAG] It is possible for these numbers to differ. [JTAG] ARC.c1 is ARC.0 [JTAG] ARC.c1 has status register length of 7 [JTAG] ARC.c2 is ARC.16 [JTAG] ARC.c2 has status register length of 7 [JTAG] There are 2 jtag unit(s). Left-to-right, they are: [JTAG] 1: id=0x200024b1 (ARC.0), irlen=4, arc_type=2 [JTAG] 2: id=0x204024b1 (ARC.16), irlen=4, arc_type=2 [JTAG] ARC.c1: to my right: 4 IR bits, 1 data bits. Link to comment Share on other sites More sharing options...
jpeyron Posted November 13, 2017 Share Posted November 13, 2017 Hi @sreenivasarao, Here is a forum thread that discusses using multiple JTAG devices. This is used with the Adept 2 here. I have reached out to a more experience engineer about your second question. cheers, Jon Link to comment Share on other sites More sharing options...
jpeyron Posted November 13, 2017 Share Posted November 13, 2017 HI @sreenivasarao, We do not support third party software. We have never used arcint.h and apidglnt.dll. We suggest that you reach out to Synopsys about their software. thank you, Jon Link to comment Share on other sites More sharing options...
Deepak Srirama Bairy Posted November 14, 2017 Share Posted November 14, 2017 Hi Jon, same issue has been reproduced when I opened FTDI- FT Prog application. When I connect 2 or more JTAG's, it duplicates the information to all JTAG's. Attached Screen shot for reference. Thanks, Deepak Link to comment Share on other sites More sharing options...
jpeyron Posted November 14, 2017 Share Posted November 14, 2017 Hi @Deepak Srirama Bairy, Based on the device output you are using JTAG-HS2's. Is that correct? Please download Adept 2 here and make sure the Serial Numbers are different. Once you have Adept 2 downloaded I would suggest to look at this forum thread. I have not used FTDI -FT prog. I would also reach out to FTDI about their software. thank you, Jon Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.