JTAG is an interface that allows 1) testing of inter-chip connections 2) programming of Flash, microcontroller and FPGA devices.

learn more… | top users | synonyms

0
votes
1answer
15 views

XDS100v2 OpenOCD Support

I've read a lot of post saying that TIs XDS100v2 JTAG emulator is not supported by OpenOCD. However, looking at this link, I see that the XDS100v2 is a supported FTDI chip. So I'm kind of confused on ...
-2
votes
1answer
59 views

How to program an ARM microcontroller using JTAG? [duplicate]

The JTAG interface is pretty new to me. I know most of nowadays ARM mcu's are programmed via JTAG. However what programming cable is usually used? I found this one, and I've seen some people use it in ...
0
votes
2answers
57 views

NXP arm microprocessor memory erase - no JTAG

I am fiddling around with NXP LPC2368. Recently changed the PLL clock control registers, and as a result JTAG stopped working, so I am unable to program or erase the chip. My question is, is there ...
3
votes
3answers
109 views

How do you programmatically detect pin count on an MSP430G2553?

I am using a Launchpad to program an MSP430G2553 controller. I use it for debugging. This controller has 20 pins. However, the end goal here is to run my program on an MSP430G2553IPW28R controller. ...
-1
votes
2answers
110 views

How to program a microcontroller via USB using JTAG? [closed]

I have some hard time understanding JTAG for programming. I have an mcu that can only be programmed via JTAG. What are some easy chips to start with in order to program an mcu via JTAG? I suppose I ...
29
votes
5answers
3k views

What is a JTAG?

I'm pretty new to embedded systems, and I keep seeing this term used all the time, but I can't quite understand what is it. A quick search online yields this Wikipedia page: ...
0
votes
0answers
23 views

Unknown error on JTAG debugger

The error is SC_ERR_FTDI_WRITE The value is -154(0xfffff66) I'm trying to use a JTAG debugger, the TI XDS100v3, to program a CC2650. I can see that the proper power is being drawn from my supply, 4 ...
0
votes
0answers
43 views

How to Erase and Flash MachXo2 with FTDI and JTAG communication

I am new to Jtag, in my project i am using FTDI2232H and MachXO2-1200ZE CPLD while i am trasferring Opcode of read device ID [0xE0] i am getting Perfect device id. here is my Device Id code ...
0
votes
1answer
71 views

My first MCU PCB and a new JTAG Cortex + ETM connector

I am trying to build my own PCB with a Cortex-M4 microcontroller LPC4088. I decided that JTAG still is the easiest option for programming it. But ARM has implemented a new 0.05'' pitch SAMTEC micro ...
1
vote
1answer
41 views

JTAG Clock line Termination

The performance of my self-made JTAG cable isn't great, I can clock it up to 1.5Mhz max. I've read that terminating the clock line is a thing so I investigated: One solution suggested to add a ...
0
votes
0answers
62 views

Dump Flash and SRAM from STM32F103 RBT6 via J-Link Edu

I'm doing some analysis (trying to recover data) from a STM32F103 RBT6 chip I pulled off a personal device. I want to see what kind of residual data is on the chip. In doing this I am trying to dump ...
3
votes
4answers
92 views

Is there a risk for the HW to debug an embedded software if the JTAG integrity is bad?

I had to debug a C embedded software in a noisy environment. As a result the integrity test of the JTAG connection had a failing rate between 30% and 60%. What are the risks to make JTAG accesses in ...
2
votes
1answer
114 views

Example code to read device ID of MachXo2 with FTDI -JTAG

In my project I am working on MachX02 programming with FTDI master using JTAG functionality. I am trying to read device ID of MachX02, but not working, here is my sample code to read device ID of ...
0
votes
1answer
33 views

LPC17xx internal pull-ups on JTAG etc

The the NXP LPC17xx Cortex-M3 family has internal pull-up resistors on some important pins such as the JTAG, NMI, Bootloader-select pin etc. While reading the data-sheet I learned that the pull-up is ...
1
vote
1answer
46 views

Using ST-link for 1.8V target voltage

I'd like to program a LIS331EB which is an ST product with an integrated cortex-M0 core. ST says it can be programmed with ST-link even though it is neither an STM32 nor STM8. The lis331eb's core and ...
2
votes
2answers
517 views

FPGA non-volatile progamming

I recently bought a Cyclone II FPGA here. I have been able to program it with a USB Blaster cable and the Altera Quartus Software. The problem is that when I disconnect power, I lose the program. ...
0
votes
0answers
39 views

JTAG Voltage of zero error message in Atmel studio Device Programming Window

I have a ATSAM4SD32B dev board, which is connected to my laptop via USB. I also connected the board to a JTAG debugger/programmer. When I try to query the Device signature, I get the following error ...
0
votes
1answer
70 views

RS232, RS422 Splitter— EDIT fot JTAG [closed]

Is it good to use one UART interface on MCU, RX_UART for receiving data from RS422 receiver and TX_UART for transmitting the same data to the RS232 and RS422 transmitter? I am trying to use UART as ...
2
votes
1answer
68 views

Flashing and debugging with Eclipse (without jtag)

I'm a beginner in embedded system development and wonder if I really need JTAG emulator(?) or JTAG cable. Previously I learned stuffs using STM32-discovery and now would move to Sabre Lite. It uses ...
0
votes
0answers
90 views

Issues programming Atmel ATmega256rfr2 using JTAGICE3

I've built a custom board using ATmega256rfr2 and I use Atmel JTAGICE3. I use Atmel Studio 6.2 IDE. Lately I've been having issues programming my board using JTAGICE3. I get the following errors. Each ...
-2
votes
1answer
28 views

Programming SPC56XX PowerPC MCUs

I found that SPC56 is perfect solution for my hobby automotive project. There are several C compilers. I used to work with Cortex-M3/4 cores and it always was easy to find good program/debug solution ...
2
votes
1answer
75 views

Configuring multiple FPGA using JTAG

I have 2 devices, a Spartan 3 and a Spartan 6. I am trying to configure both of them through JTAG. One way to do this is to daisy chain the devices and use boundary scan. However , one thing I still ...
1
vote
0answers
67 views

Flashing MCU using JTAG ICE 3 / Avrdude / Beagle Bone Black

I am in need of flashing ATmega1284P using Beagle Bone Black. I have JTAG ICE 3 connected via USB cable to Beagle Bone Black with Debian GNU/Linux 7 (wheezy). I have compiled version of Avrdude 6.1 ...
0
votes
1answer
117 views

JTAG TAP Design code verilog( Advanced Debug Interface)

I am designing a JTAG unit for a processor. For that, i have initially designed a TAP controller by looking at the FSM of the TAP. Now, i have being given this snippet of code: ...
1
vote
0answers
40 views

Dumping SRAM contents of AVR8 XMEGA with JTAGICE3

How can I dump the current contents of the SRAM of a running AVR8 XMEGA processor over JTAG (or PDI) using the JTAGICE3? (It is okay if the processor resets after the SRAM has been completely dumped.) ...
0
votes
4answers
119 views

JTAG connector - large pitch to smaller one

I have a Segger's Jlink EDU probe which I used for debugging and programming various ARM based MCU's. But now I have to work with this LPC4088 QS board which has a smaller pitch 20-pin JTAG connector ...
0
votes
1answer
66 views

Will I have better debugging performance by using an external debugger?

I am currently using a Tiva C Series LaunchPad evaluation kit (TM4C123G) and have started experimenting with Keil's RTX RTOS. I use the on-board Stellaris ICDI debugger for my debugging purposes but ...
1
vote
0answers
129 views

Why can't I program a ZC706 (Zynq) board a second time over JTAG?

I have a ZC706 board equipped with a Zynq 045 FPGA. I switched the jumpers to add the Zynq into the JTAG chain of th Digilent programmer. The first programming works as expected, but the second ...
0
votes
1answer
80 views

JTAG Debug Design for a processor [closed]

My professor is designing a processor based on OpenRisc. He has told me to set up a JTAG Debug environment in his processor. Now, he gave me some documents which contain TAP controller, Advanced Debug ...
0
votes
2answers
73 views

Merging 2 Hex files

My MSP430 program consists of serial bootloader and application hex files. While programming I load bootloader program using JTAG and then load application program using bootloader. I am looking for ...
8
votes
2answers
492 views

What's the difference between a commercial JTAG debugger and an open source FT2232H OpenOCD debugger?

I have seen a few commercial JTAG debuggers such as: iC6000 On-chip Analyzer (with Aurora protocol support) Lauterbach – Microprocessor Development Tools And OpenOCD FT2232H-based JTAG debuggers: ...
4
votes
2answers
298 views

How do volume production manufacturers use contactless JTAG programming?

Do high volume manufacturing outfits all make a custom made 'bed of nails'? I have not been able to find a ready jtag contact pattern and spring loaded header other than tag-connect pointed in this ...
-1
votes
1answer
93 views

JTAG Electrical Requirements & Pins Required

I'm a beginner designing a USB TO UART/ JTAG CONVERTER using FT2232H. I'm planning to use the TMS, TDI, TDO, TCK signals by directly connecting them to a header. I'm doubtful about this method. So, I ...
2
votes
1answer
64 views

Possible causes of dead cyclone IV on custom board

i designed and soldered my first fpga board using cyclone IV in the 144 eqfp package. First of all, i made following mistakes: I am using 3.3V VCCIO for all IO banks. I misread the handbook and ...
-1
votes
1answer
54 views

Are there universal ICE tool?

I used to work in team that develop product based on ARM v7 MCU but used to be application programmer. Now I deep into electronics with PIC/AVR/ARM boards as hobbyist. We used Segger J-Link ...
1
vote
1answer
43 views

what jtag for arm freescale IMX35 for debug?

We currently run Linux in a Freescale imx35 processor. We have coded several applications, but never done any debug. What hardware should i use? can i run breakpoints and watch variables and ...
0
votes
1answer
81 views

JTAG and additional external power supply

I have built a board for driving some external peripherals which need up to 9V. The CPU (Cortex M0) is powered with 3.3V. My main power supply is a 9V battery. A step-down converter provides the 3.3V ...
1
vote
1answer
69 views

How can pin states be altered by using JTAG Instruction Codes?

There are several mandatory JTAG instructions to use for boundary scan. I have learned, we can change pin states of MCU or CPU by using that instructions. However, I could not find any detailed ...
-1
votes
1answer
112 views

JTAG connection

I'm looking the datasheet of Atmel's SAM E70 about jtag connection. In my research i was found that to programming the device i need 5 signals: TMS TCK TDI TDO NRST But i can't find in how ...
0
votes
1answer
165 views

JTAG not erase entire flash memory in code composer studio with MSP-FET

I am using MSP430F2619 for storing device specific parameters in internal Flash memory using flash write routines. while debugging using JTAG MSP-FET I found that my flash is getting written during ...
2
votes
2answers
275 views

Multiple USB - JTAG devices, how to specify target over Xilinx XMD?

I couldn't find an answer to this anywhere, so I'll post my hack-tastic solution here with the hopes that anyone else who comes across this same problem can share a better answer. I need to ...
0
votes
1answer
179 views

Resolve SWD Communication Failure

I have developed a board with stm32f373VB and I'm trying to test the PCB with ULINK/2 and uVision V4.70.0. I got a SWD Communication Failure, and I can't program the uC. And here is the layout: ...
2
votes
1answer
2k views

How to Use an External ST-Link/V2 with the STM32F4 Discovery Board

I have a STM32F4 Discovery board and a ST-Link/V2 programmer. I want to use my own ST-Link (not the embedded one) for programming and debugging the board. How should I connect the external ST-Link ...
10
votes
0answers
517 views

Problems while trying to flash a memory using openocd and jtag [closed]

I'm using openocd and jtag for the very first time in my life (after 30 years of playing with electronics), when I dump the flash using dump_image, I got a 4 byte sequence (0x80 0x01 0x59 0x18) in ...
2
votes
0answers
256 views

Extracting firmware using JTAG

I've searched around and found quite a few examples of articles claiming to have extracted firmware from some device using the JTAG interface. I have read further that there is no general procedure ...
0
votes
3answers
211 views

JTAG boundary scan registers

On the internet, it always shows that each pin of the IC has its own Boundary Scan register (the yellow boxes) But looking at BSDL files there are actually more BS registers than pins. So for the ...
1
vote
1answer
229 views

Trace Dimensions limitation for JTAG signals

I have a JTAG bus that I need to go over PCB (or could make cable) for about 12 inches. I am trying to figure out the signal integrity specs for the JTAG bus ... what trace width vs. trace length I ...
1
vote
1answer
223 views

How to test Ethernet PHY's MDI interface through JTAG Boundary scan

We now use SCANWORKS Boundary Scan Tool from ASSET to make Ethernet SWITCH's manufacturing test. But in almost all PHY chips from broadcom corp, the MDI interfaces are "Linkage" bits. It means that ...
1
vote
1answer
126 views

Programming MSP430 based chips (sans Launchpad)

I'm wanting to move into working with the full range of MSP430 chips, especially their Ultra Low Power versions. As I understand it, I'll need the chip I want to program, a JTAG programmer, and the ...
0
votes
3answers
224 views

Why are words in reverse order when reading from a flash?

I dumped the contents of a NAND flash chip, and do not understand why would each of the words in the image be in the reverse order. This CFI-compatible flash is connected to a TI AR7 SoC that ...