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

Retrieve binary from STM32W108 using JTAG

I want to retrieve the binary file that has been loaded on a STM32W108 using JTAG. Has anyone done this before? If yes, can you post the instruction or and link to the instructions Much appreciate.
Kevin Le
  • 11
  • 3
1
vote
1 answer

Jtag Trace 32 - setting breakpoint in range of addresses

This is question on JTAG. I am trying to set a read/write breakpoint in a range of addresses. Command I give in b.set window is as follows(and selecting read/write) A:0x8500000..0xd300000 But when i list it(b.list) it shows as follows…
Sandeep
  • 18,356
  • 16
  • 68
  • 108
1
vote
1 answer

Issue with GDB, JTAG and CPU32

I am using GDB along with a JTAG device, an Abatron BDI2000, to debug a programs running on a Motorola M68332. The 68332 does not have any hardware breakpoint registers. It has very primitive debugging features. The build tools do not generate 'elf'…
KeithSmith
  • 774
  • 2
  • 8
  • 26
1
vote
0 answers

connecting OpenOCD to BeagleBone, ftdi device not recognized

I am trying to connect openOCD to BeagleBone via onboard FTDI JTAG Emulator on Windows 7 x64. I have installed the ftdi driver 64bit that came with BeagleBone. when i connect the BBone to windows, USB Serial Converter A and B shows up along with COM…
Nishanth
  • 43
  • 6
1
vote
1 answer

Jtag invalid acknowledgment

I'm using OpenOCD on a ARM9 with the sysfsgpio bitbang interface, and try to debug a Cortex M3 stm32f103 microcontroller. The OS used is an embedded debian. Unfortunately after getting the device id I keep getting a wrong ACK from the target…
Étienne
  • 4,773
  • 2
  • 33
  • 58
1
vote
1 answer

loading linux kernel on the target through jtag

I am trying to load and boot a linux kernel through JTAG on the AM3517 evaluation board. My debugger is BDI3000. I am not using openocd, since according to the documentation of the debugger it is not required. So far I think I am able to load the…
harsha
  • 11
  • 2
1
vote
1 answer

Debugging a micro-processor

One of our co-processors is an 8-bit microprocessor. It's main role is to control the hardware that handles flash memory. We suspect that the code it's running is highly inefficient since we measured low speeds when reading/writing to flash memory.…
Shmoopy
  • 5,334
  • 4
  • 36
  • 72
1
vote
0 answers

Linux debugging with Jtag - [ARM9][AT91SAM9G25] - Amontec, openocd, gdb, eclipse

I'm trying to start kernel debugging with this sytem: Amontec JTAGkey2, openocd, gdb, eclipse. At the end I would like to debug kernel and application that is running within. I have few problems, and it seems that I need to solve them sequently.…
Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35
1
vote
2 answers

Reading NAND flash and writting it to another system

I have an embedded system that I want to read its nand flash and write it back to another system's nand flash. I have access to root of Linux system which is running on device. The system is based on AM3874 and I have access to its JTAG too. My…
mans
  • 17,104
  • 45
  • 172
  • 321
1
vote
1 answer

Is it possible to use AVR programmer to program a MSP430 MCU?

Is it possible to use an AVR programmer device (which supports JTAG & connects to PC via USB) to program a MSP430 MCU using its JTAG interface? If no, why no?!? & if yes, how can integrate it with Code Composer Studio 5 ?
Ehsan Khodarahmi
  • 4,772
  • 10
  • 60
  • 87
0
votes
1 answer

Getting started with this ARM7 board

This bad boy arrived in the post recently. But, didn't have any instructions, CD-ROM or Dev Kit stuff. Despite lack of instructions, I'm pretty sure we should be able to get it going with DS-5, a JTAG cable and embedded linux. The goal is to get a…
tobinharris
  • 2,559
  • 1
  • 21
  • 19
0
votes
0 answers

STM32F407 Debugging via JTAG: STICKYERR issue with DHCSR register access

I am playing with debugging STM32F407 via JTAG protocol and DAP interface etc. I want to use the DHCSR register to stop the processor (set the C_HALT bit in this register). And to do this through the interface DAP need to configure the register CSW,…
0
votes
0 answers

Trouble debugging ESP-32 with ESP-PROG and OpenOCD

I am new to JTAG debugging with the ESP32 and when I start OpenOCD, the controller seems to be resetting indefinetely. macOS Big Sur v11.1, although also tried on Windows 10 and got the same output. OpenOCD v0.10.0-esp32-20210401 ESP-IDF…
0
votes
0 answers

Using Openocd on raspberrypi for ARM CC3200 debug

I am trying to use raspberry pi with openocd as a debug probe for TI ARM CC3200 via jtag port on the TI ARM CC3200 board. I got it up and running but I can't get jtag or swd to work. I am new to openocd and hardware hacking in general and feel a…
Aco
  • 13
  • 2
0
votes
0 answers

how to simulate JTAG by SPI in zynq

There is some problem in my zynq 7020, and I have to use SPI to simulate JTAG, can someone offer the code to carry out it? please, it's important for me! there's picture that imitate the way that how to make it,but I still don't know how to make…
LuYaHu
  • 1