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
2
votes
2 answers

Program pic32 without a pickit

Is there a way to program (flash) bare (not already flashed with a bootloader) pic32 chips without using a pickit-type programmer? Are there any ongoing projects for JTAG, for example?
XTL
  • 851
  • 1
  • 8
  • 23
2
votes
1 answer

Unable to see static variables when debugging CC430F6137 using IAR Embedded Workbench 430 5.3

I've been searching for why for two hours. Now I'm using IAR Embedded Workbench Evaluation 5.30 to debug on a CC430F6137 dev kit board. As I have declared some global static variable, I realize that I am not able to watch that correctly. They are…
Zhongjie Wu
  • 307
  • 3
  • 12
2
votes
2 answers

How to print Trace32 terminal view to a file?

I have a script that initializes terminal and prints information in it in Trace32 terminal and I cannot edit that file. I am using term.write command to log the contents in terminal window to a file. But it does log the information that were written…
Kannan D
  • 467
  • 1
  • 4
  • 15
2
votes
1 answer

Why traps Rocket Chip on FPGA after code execution in DRAM

I try to get a version of Rocket Chip on a Nexys4 DDR board up and running. So far I managed to generate the verilog, synthesize the design and attach a jtag probe (segger jlink). It is possible to access registers and memory via openocd and gdb.…
mdxg
  • 45
  • 4
2
votes
1 answer

how to run gcov on bare metal (without file system)

I'm running C++ on Cortex M4 and I want to start doing automated unit tests and coverage. gcov writes its output files - .gcno, .gcda - on the target which is a no-go because I don't have a filesystem. QUESTION Is it possible to "intercept and…
Bob
  • 4,576
  • 7
  • 39
  • 107
2
votes
1 answer

How JTAG debugger able to stop watchdog timer

I am working on a project where I connect JTAG to SOC and debug the image on the SOC using the JTAG. The image also runs with watchdog timer that runs during core initialization, and which needs to be reset periodically to prevent the board being…
srib
  • 148
  • 2
  • 13
2
votes
2 answers

Cannot Blink JTDI pin

I am using STM32F103RCT6 to blink a LED which is connected to PA15 - JTDI in PU. My GPIO Configuration is like this GPIOA->CRH |= GPIO_CRH_MODE15; //Output mode, max speed 50 MHz. GPIOA->CRH &= ~GPIO_CRH_CNF15; //General purpose output…
Devjeet Mandal
  • 345
  • 1
  • 4
  • 23
2
votes
1 answer

AHB AP transaction error with zynq board

I'm new at zynq board. I am trying to work with XADC of zynq-xc7z020 and want to see its quality for my application through vivado and xilinx SDK. I tested two ways of designing through lab3 and lab4 tutorials. Synthesis, implementation and…
Mojtaba Ahmadi
  • 1,044
  • 19
  • 38
2
votes
3 answers

Restore grinded off markings of STM32 MCU via JTAG

I have a board with presumably an STM32 mcu. I want to make custom firmware for that board as the stock one is very buggy. Unfortunately the board manufacturers were kind enough to grind off all the markings. Is there any way to get the…
mevgheni
  • 23
  • 4
2
votes
0 answers

JTAG Programming Xilinx Spartan 3an FPGA with CPU in chain

I have problems with programming Xilinx 3an1400 FPGA over JTAG interface. My custom PCB consists of CPU and FPGA connected in the JTAG chain with CPU on 1-st position and FPGA on second. I can access and program the CPU over JTAG without any…
rhr
  • 21
  • 2
2
votes
1 answer

Where can I find the device specific JTAG instructions for Cortex-M3?

I'm trying to communicate with a Cortex-M3 based microcontroller (LPC1769) through JTAG. I already have the hardware required, and have managed to get an example program to work, but to progress further, I need to know the device-specific JTAG…
Muller
  • 49
  • 4
2
votes
0 answers

Linux Kernel out of tree module JTAG debug

I have an out of tree Linux Kernel module that I am building for a BeagleBoneBlack (am335x) that I want to debug with a Blackhawk USB100v2 JTAG debugger. I am using the Code Composer Studio IDE, so I would like to use there debug view as well. Any…
2
votes
3 answers

"CPU is not halted" and "No APB-AP found" error

When I use JTAG to load my C code to evaluation board, it loads successfully. However, when I executed my code from main(), I immediately got "CPU is not halted" error, followed by "No APB-AP found" error. I was able to load and executed the…
Supernova
  • 21
  • 1
  • 2
2
votes
1 answer

Any example useage of a BSCANE2 primitive in Xilinx 7 series? (using the JTAG port to configure user design)

I've looked over the info on BSCANE2 in http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf (pg 169 7 Series FPGA Configuration Guide) and I can't quite figure out how to use it based on that descriptions. I want to be…
aneccodeal
  • 8,531
  • 7
  • 45
  • 74
2
votes
1 answer

JTag Debugging with Eclipse Mars CDT : "Program file does not exist"

I have successfully compiled an ARM embedded project, next files has been created: MyProject.elf MyProject.bin MyProject.hex MyProject.map MyProjectmd5.bin Then I am going to Run -> Debug Configurations -> GDB SEGGER J-Link Debugging -> New ->…
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301
1 2
3
13 14