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
1
vote
2 answers

Controlling a Windows Console App w/ stdin pipe

I am trying to control a console application (JTAG app from Segger) from Python using the subprocess module. The application behaves correctly for stdout, but stdin doesn't seem to be read. If enable the shell, I can type into the input and…
Eric
  • 320
  • 2
  • 7
1
vote
0 answers

MCU step by step debugging, how is pipeline treated?

guys. How cortex pipeline is working during step by step debugging? I can see registers and memory are changing every single step when using debugger. Does debugger commands to flush pipeline every single step to synch its mem,reg,peri status? or…
GONGDOL
  • 11
  • 1
1
vote
1 answer

Can I use databreak on MIPS(4kem) without JTAG?

'MIPS32® 4KE® Processor Core Family Software User’s Manual' says that 4KE has the functionality of the hardware databreak for JTAG. But I don't have JTAG. I tried to read/write Databreak point registers on drseg from the software without JTAG. But I…
1
vote
1 answer

MicroBlaze without Vitis

Has anyone managed to connect a MicroBlaze instantiated in a Xilinx FPGA to anything other than the Xilinx tools (SDK or Vitis) for download and debugging? I'm targeting a VCU29 and have licenses from Xilinx for Vivado etc; I have already extracted…
Joes
  • 13
  • 3
1
vote
0 answers

OpenOCD: Debug Module did not become active. dmcontrol=0x0

I implemented SweRV_EH1 on a Zedboard fpga. I am trying to use openOCD and Jtag Arm-USB-Tiny_H to download code to the board as instructed in the README. I have checked the physical connection and make sure it be correctly connected to the Pmod on…
1
vote
1 answer

Remote kernel debug on ARMv7 using Olimex ARM-USB-OCD adapter

I'm currently trying to debug my kernel. My goal is to put a breakpoint in a new syscall that I am implementing. The kernel runs on a remote Imx6q board. I've setup the JTAG debugger and I can connect GDB to it and pause the execution. My issue is…
Thomas
  • 21
  • 3
1
vote
1 answer

Segger RTT control block is not identified by RTT viewer

I'm trying to use Segger's RTT (Real Time Transfer), but I'm not able to see any output on the RTT viewer. I'm doubting that the root cause is an RTT control block not being identified by RTT viewer. Setup The host PC is connected using…
1
vote
1 answer

I am trying to understand how a JTAG connection is used to test the circuitry in a chip using just 5 pins?

describe how a JTAG connection is used to test the circuitry in a chip using just 5 pins
MignolaFan
  • 31
  • 4
1
vote
0 answers

How to flash a firmware with J-Tag through Python?

I am currently using J-Flash-lite to flash a firmware (.hex file) on a microcontroller with a J-Tag connector. Is there a way to use the J-Tag connector to erase or flash a firmware using a Python script? After researches, I did not find this topic…
Rémi Baudoux
  • 542
  • 3
  • 16
1
vote
0 answers

Do i need a segger j link base to flash a arm cortex m soc?

I have a arm cortex m based micro controller. I need to update firmware in it. I was suggested to buy a segger j link base(which is a bit costly) to upgrade firmware. I read a bit about segger j link base and learnt that it's purpose is for run time…
husgor
  • 51
  • 5
1
vote
1 answer

Can't read SDRAM of TI OMAP5912 ARM core using JTAG

I'm trying to connect to OMAP5912 device using XDS560v2 TRAVELER JTAG emulator using Code Composer Studio 7. When connecting to C55x device using Connect Target it successfully stops at an arbitrary RAM point. When using Connect Target on the ARM9…
sobakaliza
  • 21
  • 4
1
vote
1 answer

How to print text in CPUlator Armv7 DE1-Soc JTAG UART?

How can I print some text to the JTAG UART in the ARM simulator "CPUlator Armv7 DE1-Soc"? Can someone provide a source code sample? Link to the simulator here: https://cpulator.01xz.net/?sys=arm-de1soc
huse
  • 324
  • 2
  • 11
1
vote
1 answer

Issues in Debugging program in Atollic TrueStudio

I have designed a circuit in which I am using STM32L452RETx micro-Controller on PCB. This is basically a current sensor. I am using JTAG-20 connector for debugging. I am using Atollic TrueStudio IDE. The issue is when I debugg program in TrueStudio…
1
vote
0 answers

Atmel at91saml21j18b board configuration error with Jtag connectivity Through Openocd Server

Hello actually i'm trying to interface a samdl21 board with Jtag through openocd server.I'm facing some problem in configuration where it is throwing Invalid ACK (0) in DAP response Error...someone please help me to find a solution for this…
Ravikiran
  • 45
  • 11
1
vote
1 answer

SPI slave within boundary scan on STM32F4

I'd like to test a SPI slave on my STM32F4 via JTAG boundary scanning methods (best would be using OpenOCD, instead of other special tool). Does somebody know details and typical pitfalls of such thing? What I found was this site, whereas this…
goeck
  • 53
  • 5