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
0 answers

Flashing Esp32 using Raspberrypi GPIO via openocd (JTAG connection)

enter image description hereI am trying to program esp32 with Rpi GPIO's with JTAG connections using the command: sudo /opt/openocd/src/openocd -f interface/rpi2.cfg -c "adapter speed 1000" -f target/esp32.cfg -c "program file-path/file.bin 0x10000…
0
votes
0 answers

Breakpoint implementation in RTOS + jtag

I thought breakpoint implementation like this (roughly) : The NOP Placeholder Model Create a program with "empty spaces" (nop instructions) where you might want to set breakpoints. When you want to set a breakpoint, replace a nop instruction with…
noBODYcare
  • 101
  • 1
  • 6
0
votes
1 answer

Target multicore configuration wrong in JTAG T32

I am observing below error while attaching a core in JTAG T32, Target multicore configuration wrong Selected core position is already in use Target multicore configuration wrong Target multicore configuration wrong Target multicore configuration…
0
votes
0 answers

Debugging problem with the RSL10 microcontroller

I am using the onSemiconductor 3.5.285 version which is compatible with the NCH-RSL10-101WC51-ABG (I can debug and drive my pins correctly). However, I can't drive my pins on the NCV-RSL10-101Q48-AVG. Moreover, when I want to debug the…
0
votes
0 answers

Ulink2 does support Realview Debugger JTAG?

i'm using at91rm9200 mpu with metrowerks code warrior i'm curious that realview ulink2 jtag does support realview debugger but i have not found related documents for realview debugger v3.1 which jtag can be compatible.. i'm having trouble with buy…
0
votes
0 answers

Convert windows project with .dll files to linux

I am trying to get a Python project to work on Linux. It already works under windows. Problematic are two .dll files that are used in the project. It is this project: https://github.com/colinoflynn/pyjtagbs In the folder /examples is a JLinkARM.dll.…
alra0351
  • 1
  • 2
0
votes
2 answers

Microchip Studio not showing ATATMEL-ICE

I have Microchip studio 7.02594 and unable to use ATATMEL-ICE since is not showing under device programming. I got below error when start microchip studio. Below is my device manager I have tries to reinstall drive using zadig. Change driver to…
Shahreza
  • 113
  • 5
0
votes
0 answers

Booting the CPU through JTAG debugger. How to exit from debug state and start from newly added PC address

I would like to use the DAP interface in the cortexm4 processor to download application code into a memory that can be accessed by a JTAG debugger. For now, I wanted to follow the following steps given on the ARM forum: For use cases such as a…
cher
  • 11
  • 1
0
votes
2 answers

How to load binary to DRAM with JLink JTAG to debug?

I am doing a ARM+RTOS project, and I want to download the binary to target board with JLink JTAG. But every time 'loadbin a.bin 0x40000000' will report error -1, and says 'failed to read memory', 0x40000000 is the starting address of DRAM. I have to…
wangt13
  • 959
  • 7
  • 17
0
votes
1 answer

Why can Soft Console debug a release build using JTAG with Load Symbols option?

This is a matter of curiosity. I first built my project in Soft Console with debug set active. Then I built the same project on the command line in cmd using eclipse (eclipsec.exe). I did not include the -debug flag for debugging (so I assume no…
WakkaTrout
  • 17
  • 4
0
votes
0 answers

JTAG debugging adding pointer variable to Expressions

I am learning about debugging. I use JTAG to debug my ESP32-S3 microcontroller and created a very simple program: uint8_t counter = 0; void remote_task(void* param){ uint8_t * ptr; ptr = &counter; for (;;) { counter ++; …
TheBestPlayer
  • 324
  • 2
  • 13
0
votes
1 answer

How does JTAG flash memory programming work?

I am currently using Xilinx ZCU106 board, and I am curious about How does JTAG support flash memory programming. I can upload the boot images or hardware logic just by connecting JTAG USB cable to USB connector at the ZCU106 Board, and press the…
Jisung Kim
  • 133
  • 1
  • 9
0
votes
0 answers

Java object creation storage space

Given the following code: class cl { int aa = 5; String st = “Top“; } class c2 { public static void main () } c1 jj = new c1(); } How is st stored in jj ? Just as a Reference To the actual String „Top“ or is the Full String Stores within jj ? Thanks…
Bert Huber
  • 11
  • 2
0
votes
0 answers

How to disable SWD and JTAG on LPC55S69JBD64

Is there a way to disable the SWD and JTAG interfaces (or pins) through code without having to use an authentication mecanism on LPC55S69JBD64?
0
votes
0 answers

Python access FTDI device by pyFTDI but get the INVALID_HANDLE error

I want to establish a Python platform so that I can read and write my FTDI device (USB-Blaster, Altera DE0-nano). And fortunately, I got a great example on Github called ftdi2.py, it can detect my USB-Blaster precisely, but when I try to do…
Frank TW
  • 11
  • 3