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
0
votes
1 answer

OpenOCD with XDS200 JTAG Emulator

So I have a Blackhawk XDS200 Debug Probe (TMDSEMU200-U) and I would like to use OpenOCD to debug on my target platform (IWR6483). When I create a config file, I get the error: Error: Can't find interface/xds200.cfg The config file is: source [find…
The Dude
  • 661
  • 2
  • 11
  • 20
0
votes
3 answers

When doing an embedded software update, should you wipe the entire application code, or only update the application partially?

When a company updates a product's embedded C code application firmware (via a bootloader on the microcontroller, or JTAG, etc.), do they normally flash a whole new .hex/.bin file that contains the new features + old software? Therefore, wiping out…
Nathan
  • 3
  • 1
0
votes
1 answer

Nanoframework on ESP32 debug using JTAG

I'm testing out nanoframework for ESP32 and I've hit a snag. The ESP32 is mounted on a custom board for an existing product so I need to debug it with an Olimex or a Segger JTAG debugger. I've been looking for some guide on how to setup this. The…
threviel
  • 1
  • 1
0
votes
1 answer

How to mass flash STM32 Microcontrollers through JTAG Chain with OpenOCD?

I am a beginner to OpenOCD and I am trying to flash 3 STM32 targets in a daisy chain with an ST-Link v2 debugger or OLIMEX as shown below using OpenOCD. The code that I use works if only one Target is connected. But if I connect it to more than one…
0
votes
0 answers

ESP32 JTAG Programming fails at Verification

The code is working. I can build it and to mention. it was working, i could upload it to my custom made ESP32 board. From all of a sudden it stopped working. Tried with different PCB boards also different cables. I somehow resolved my problem so i…
0
votes
0 answers

CodeViser JTag Debugger: how it knows u-boot's relocated offset in RAM?

I am currently using CodeViser Jtag debugger connecting to a FPGA for debugging firmware for an Armv8 processor. From within the CodeViser GUI client (called CVD64 on windows) I can set break points at absolute addresses. One thing I noticed that,…
bruin
  • 979
  • 1
  • 10
  • 30
0
votes
1 answer

MCU reset when not connected to debugger

I'm currently developing an embedded application on Microsemi Smartfusion 2 using FreeRTOS. It works with no issue when in Debug Mode and also in Run Mode. However, when I don't start the code using the debug/run buttons Eclipse (i.e. when I turn…
EserRose
  • 142
  • 8
0
votes
0 answers

Unable to JTAG MEGA2560 R3

I am getting the same error I see others have had using a brand new install of "Microchip" Studio 7, with the MKII programmer. I am trying to program a Arduinoish Mega2560 r3 board. If I go into programming using the mkii ISP cable to the r3, I can…
joecoder
  • 31
  • 4
0
votes
1 answer

Atmel studio does not work tool window for release or debug mode selection

I have recently been using Atmel studio 7. I'll briefly explain my problem: i can't get debugging to work because i can't select DEBUG mode. this is because when I enter propreties -> tool the set window does not appear but this message appears: An…
0
votes
0 answers

Ft232h doesn't run as a normal user , it requires root user

I'm using the ftdixx driver and ftdi.so file to communicate with ft232h module. FT_Open(iport, &fthandle) function doesn't work with normal user. If it is root user,it is working and opening the port .In normal user mode, it is failing with…
Vinooooo
  • 15
  • 4
0
votes
2 answers

How to connect to stm32f205 via jtag or swd for read/write?

Good day everyone. There is a need to connect via jtag / swd to stm32f205. There is a chip soldered by all pins. There is a Chinese st-link v2 I guess I need rst, swclk, swdio 3.3vdd in datasheet it is 7, 49, 46, 48 pins I'm not sure if I…
Dmitriy Skogorev
  • 139
  • 2
  • 3
  • 11
0
votes
2 answers

How to debug two or more microcontrollers with JTAG chaining?

I managed to program and debug an STM32F4 Microcontroller, did some simple operations and wrote small scripts. The setup Microcontroller : STM32F405RG Debug probe: I am using an old JTAGKEY2 by Amontec Toolchain : openOCD & GDB on port 3333 I am…
0
votes
1 answer

How does JTAG influence overall system performance and its downsides

I come from the non-embedded software world and I think I understand the concept and use-cases of JTAG, but there are still some open questions for me. My final goal is building CI pipeline for chip firmware. The pipeline contains basically two main…
Geka P
  • 587
  • 1
  • 6
  • 22
0
votes
1 answer

How do I programmatically know if Trace32 booting has completed?

We are using Trace32 in our automation environment. I am trying to programmatically control Trace32 and I am able to do it successfully with T32api dlls. After launching the trace32.exe programmatically (C#/Python 3.7), I wait for 30seconds before…
Kannan D
  • 467
  • 1
  • 4
  • 15
0
votes
1 answer

How to enable the JTAG pins on Altera MAX7000S devices

I bought a lot of Altera MAX7064S 48 pin QFP CPLDs (EPM7064STC44-10N) from eBay. Trying to access through the ISP JTAG pins and none of them show up on the JTAG chain, I'm getting no data back from TDO. For reference, I'm using a Terasic USB Blaster…
hyiger
  • 37
  • 6