Questions tagged [jtag]

JTAG is a common interface used for programming and debugging microprocessors and other types of embedded devices.

Joint Test Action Group (JTAG) is the common name for what was later standardized as the IEEE 1149.1 Standard Test Access Port and Boundary-Scan Architecture.

It was initially devised for testing printed circuit boards using boundary scan and is still widely used for this application. Today JTAG is also widely used for microprocessor debug ports.

With appropriate development tools and software, a developer can use JTAG to perform debugging operations like single-stepping, setting breakpoints, etc.

200 questions
4
votes
1 answer

System Console over JTAG fails to execute master_write_32 — can't do this while target is running?

I had a simple controller written in Verilog that was configuring Altera's TSE MAC. Up to this point, it was fairly simple. However, what I wanted to do next is to set a lot of Marvel PHY's settings as well as keep monitoring both PHY and MAC for…
user405725
3
votes
1 answer

ESP32 JTAG debugging with VSCode

recently I have bougth a ESP32 devkit and a low budget FT4232H jtag adapter which I managed to setup in VSCode using the Espressif-idf plugin. Basically it seems to work so far. I can build, flash and monitor the ESP32 from VSCode. Also also managed…
S.G
  • 131
  • 1
  • 4
3
votes
1 answer

Do OpenOCD + STLINK-V3SET support debugging multiple controllers in daisy chain config?

I'd like to get a multi-core debugging running with my STLINK adapter. I've got experiences in debugging with other tools (e.g., uTrace/Trace32 from Lauterbach). Now, I'd like to setup a multi-core arrangement as a hobby project at home - where I…
HelpingHand
  • 1,294
  • 11
  • 27
3
votes
1 answer

How to control JTAG device to write binary file to the flash memory?

There may be rude expression because I'm not a native English speaker. I hope you to understand. I have a JTAG debugger like below and I would like to create an application to control JTAG. I know that many tools to do this are. actually I also…
jjw
  • 282
  • 3
  • 20
3
votes
0 answers

how to send data to PC over JTAG/debugger

I am using a PEmicro USB Multilink Universal JTAG. I have a Cortex M4 processor running a custom C++ RTOS with no filesystem. I need to trace execution of some functions to debug a problem but since I don't have a filesystem, I'd have to use a RAM…
Bob
  • 4,576
  • 7
  • 39
  • 107
3
votes
1 answer

Lattice iCE40 JTAG

I am new to FPGA and I am trying to get a working JTAG setup on Lattice iCE40 FPGA. The board I'm using is from Olimex and has iCE40-HX8K FPGA. I'm using urjtag as PC application and tried with DirtJTAG and USB Blaster clones as programmer (flashed…
3
votes
2 answers

Openocd how to write option bytes to STM32F4

I have two boards with a STM32F437 (IGH6 7BA4S VQ PHL 7B 542) processor. We program these with openocd and a jtag, however lately one card stopped working. It is no longer possible to program the card and one of the differences we have found is that…
Heneer
  • 313
  • 6
  • 17
3
votes
1 answer

PRACTICE cmm script how to v.v a new variable in an old window

This opens a window of variable a: v.v a View variable b in the same window. How to do tihs? v.v b I know this can put them in the same window, but I want to view b at a later time v.v a b
Sean
  • 51
  • 2
3
votes
1 answer

Is there a way to send data directly to the JTAG port from application? (Cortex-M3)

I'm using an NXP LPC1769, which contains a Cortex-M3. So far, I've only been accessing it from the JTAG interface, but now I have to do it the other way around. An IT routine is supposed to read certain parts of the memory, and immediately send them…
Muller
  • 49
  • 4
3
votes
2 answers

General JTAG working flow in an embedded development system?

In my embedded project am using JTAG interface to download the code and to debug the downloaded application. But I don't know what is happening inside the JTAG set up. Can anyone please give me basic idea/flow(high level view) of the JTAG set up…
Renjith G
  • 4,718
  • 14
  • 42
  • 56
3
votes
5 answers

stm32 JTAG pins using

I use SWD for load firmware in stm32 chip and debugging. It uses 3 pins: SWCLK(TCK), SWDIO(TMS) and GND. Can I use other JTAG pins, that not used in SWD interface: (TDI, TDO, TRST) for own purposes while preserving the possibility of flashing…
user3583807
  • 766
  • 1
  • 8
  • 26
3
votes
2 answers

JTAG: How do I know the width of the Instruction Register?

Assumed I have a JTAG-chain with several devices from different manufactures: How does my software, which shall communicate with a specific system within that chain, known the length of the IR for all the others devices within the chain? I do have…
user4240580
  • 35
  • 2
  • 3
3
votes
2 answers

Using JTAG interface for programming

I am developing a system for which I need to program MCUs like PSoC or Atmel SAM4E or Freescale K70 Series. Currently, I am using vendor specific IDEs and Peripherals like 'Miniprog from cypress' to program them, but I want to have a generic…
Roshan Br
  • 362
  • 2
  • 17
3
votes
1 answer

What does TDO on 4th bit in ICSP SendCommand header mean? (PIC32MX, ICSP 2-wire 4-phase)

Right now I'm trying to implement the flash programming specification for PIC32MX. I'm working with a PIC32MX512L and a PIC32MX512H. The PIC32MX512L must eventually transfer a program to the two wires PGEC2 and PGED2 of the PIC32MX512H. Right now…
indmg
  • 92
  • 6
3
votes
1 answer

ARM9 SVC_STACK out of range?

I'm debugging some odd ARM exceptions in an embedded system using the IAR workbench toolchain. Sometimes, when an exception is trapped the SVC_STACK is reported as out of range (very out of range!) Is this relevant, or just an artifact of the J-Link…
Jeff
  • 1,969
  • 3
  • 21
  • 35
1
2
3
13 14