Skip to main content

Questions tagged [jtag]

JTAG is an interface that allows 1) testing of inter-chip connections 2) programming of Flash, microcontroller and FPGA devices.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

JTAG DR before IR?

I am using a jtag adapter (esp-prog) with an ESP32-D0WD dev board. I am trying to understand why one tool chain works and another does not. I am using a logic analyzer connected to the JTAG pins to ...
Peter Pruyne's user avatar
0 votes
0 answers
31 views

SWD interface DEMUX

I need to flash 8 ARM Cortex M7 MCUs one at a time using a single J-link through SWD. From what I understand, the key pins to focus on are SWDIO, SWDCLK, and nReset, since ground and VCC are shared. ...
alasa995's user avatar
0 votes
1 answer
66 views

Identify unlabelled microcontroller in RJ Tianye battery charger

I am trying to identify, and hopefully reprogram, the microcontroller used in an RJ Tianye battery charger (see images of control board PCB). The MCU appears to be TSSOP-20 with pin 7 V_ss pin 9 ...
ZJL's user avatar
  • 81
0 votes
2 answers
111 views

How to flash an Arduino Due (ARM Cortex-M) using openocd?

I'm wondering if I can flash an Arduino Due, that has an AT91SAM3X8E chip using openocd without something like an FTDI adapter. I tried reading the openocd docs and Arduino Due docs, but I'm still ...
kovac's user avatar
  • 605
2 votes
1 answer
68 views

Reference for pinout out of Segger EDU target board?

I'm in the middle of a board design where the processor uses the segger ten pin pinout. For example this debugger from adafruit. I can't find a good pinout of the connector that shows the orientation ...
confused's user avatar
  • 1,838
0 votes
0 answers
66 views

ARM SWD Programming Problems

I am trying to erase a NRF52840 and the erasing fails. This is the relevant schematics: Notice that SWDIO is tied to the unused P1.01 for ease of placement and routing. Similarly SWDCLK is tied to P1....
major4x's user avatar
  • 173
1 vote
1 answer
134 views

Why was IEEE 1532 withdrawn?

Official status of IEEE 1532 2002 is "Inactive-Withdrawn Standard" as it is stated here. Analyzing the standards IEEE 1149.1 2001 and 2013 (and some version of 1149.7 and 1149.4) I have come ...
Sterling7135's user avatar
1 vote
1 answer
137 views

Lattice FPGA - JTAG Programming 6Pin VS 10Pin

I'm using a Lattice MachXO3LF FPGA, specifically the LCMXO3LF-4300E-5MG121I, and I want program it using JTAG and the HW-USBN-2B programming cable from Lattice. In the Programming Cable Users Guide, ...
user373900's user avatar
0 votes
0 answers
60 views

How to turn the FT2232H to the FlashPro5?

There is a TEM0001 devboard with integrated programmer which based on the FT2232 chip and recognize by Libero as FlashPro5 and works with PORT A. There is a topic where tells how to config a 93C56 ...
Arseniy's user avatar
  • 2,257
0 votes
0 answers
87 views

[iMX93evk]:OpenOCD throws "JTAG scan chain interrogation failed: all ones" error

I am trying to enable jtag debugging via openocd on imx93evk, executing the below command openocd.exe -s share\openocd\scripts -f interface/ftdi/imx93-evk.cfg -f board/imx93-evk.cfg however I am ...
Gaurav Sharma's user avatar
0 votes
0 answers
38 views

AC-JTAG Capacitor Value for differential signal testing

How to compute the value of AC-coupling capacitor to be used in AC-JTAG for testing high-speed differential signal? Can anyone give a more detailed insights on the proper consideration when ...
cayloreese's user avatar
0 votes
0 answers
35 views

MSP430 programming JTAG

For programming MSP430 MCUs through JTAG, is this Schematic correct? I look for a reference design to make sure it will work:
Andromeda's user avatar
  • 1,144
0 votes
0 answers
52 views

How to fix erased On-Board Usb-Blaster FPGA (MAX II EPM240T100C3 on board Terasic DE10-Lite)

I have Terasic DE10-Lite board (with Altera MAX10 fpga), which use Altera Max II EPM240T100C3N (and usb-b + ftdi chip) for on-board usb-blaster logic. After explore 8 pins jtag holes on the board, i ...
Lion's user avatar
  • 11
0 votes
1 answer
72 views

What is the standard behavior when a JTAG instruction is violated?

How does the IEEE-1149 standard regulates the TAP-controller behavior if the instruction register in the SELECT-DR or CAPTURE-DR states contains a value that does not correspond to any instructions?
Arseniy's user avatar
  • 2,257
0 votes
0 answers
101 views

Getting "Target not found" after programming an STM32H755 using an external debugger

I used to program and debug using the USB port on my STM32H755 Nucleo-144. After flashing the code with JTAG, I can't connect the board to my PC anymore; it says "No target found". Is there ...
Varshini's user avatar
1 vote
2 answers
522 views

How does STM32 know if I'm using SWD or JTAG

My curiosity got the best of me so I'm hoping someone here can help educate me. I'm using a STM32 (STM32F101C8Tx to be precise), which supports both JTAG and SWD. Within STM32CubeIDE I can switch ...
ITMan's user avatar
  • 13
1 vote
2 answers
721 views

How to config Channel A/B of FTDI FT4232H to JTAG

I'm new with FT4232H. I just make for myself a FT4232H device with 4 channels UART. (Custom board for learning and researching) And I want change channel A and B to JTAG for debugging STM32 using JTAG ...
Nhat Micls's user avatar
0 votes
1 answer
55 views

Why do I need to push into TDI in reverse order on the JTAG?

There is 2 JTAG TAP's R5's TAP and CS400's TAP. the TDI is connected with R5 then CS400 is TDO Such as TDI->R5->CS400->TDO. For example, IDCODE code is 1110 and the BYPASS command code is ...
Carter's user avatar
  • 619
1 vote
1 answer
97 views

Is there a limit to pushing to Shift-IR in JTAG?

I'm trying to understand the behaviour of JTAG with ARM. In particular, there is a Shift-IR stage in the JTAG as shown below, As far as I know, at this Shift-IR stage, we can push instructions like ...
Carter's user avatar
  • 619
0 votes
1 answer
209 views

Custom ESP32 board with FT2232H chip for JTAG debugging

I am currently involved in designing a custom ESP32 board (ESP32-WROOM-32E) and adding the FT2232H chip for JTAG debugging to avoid having to get a FT2232H breakout board or ESP-PROG. I have a ...
cr1tical1's user avatar
1 vote
1 answer
307 views

CJTAG Bit Banging - Just Erase the Flash

As in another question, I have a CC2652 which is locked in cJTAG mode. I would like to completely erase the flash memory so that the bootloader is re-enabled, but I don't have a JTAG or cJTAG ...
bobuhito's user avatar
  • 728
0 votes
0 answers
106 views

Understanding the JTAG pinout

I need to program an old board on which I have very little information. On this board there is an old Xilinx FPGA and some memory chip, on one side there is a JTAG connector from which you think it is ...
Federico Massimi's user avatar
3 votes
0 answers
373 views

Why is Xilinx ILA's clock frequency required to be at least twice of that of JTAG?

In various places, it's mentioned that the frequency of the clock input to ILA module has to be at least 2.5x of JTAG frequency, otherwise ILA may not work properly. Out of curiosity, I am wondering ...
bruin's user avatar
  • 475
1 vote
1 answer
1k views

What should be done with the JTAG TRST pin when target chip has only one RESET?

I get the difference between the JTAG TRST (Tap Reset) and SRST (System Reset) signals. If the target chip has these two pins, ...
K.Mulier's user avatar
  • 2,389
1 vote
2 answers
958 views

MTCK and MTDO pins initialization on ESP32S3

I'm currently working on a project using the ESP32-S3 chip, and I've decided to use MicroPython for my coding. In my project, I have connected GPIO 39 and GPIO 40 to relays for various operations. The ...
cyber122010's user avatar
0 votes
1 answer
64 views

Differences/advantages between manufacturer specific vs core specific programmers/emulators/debuggers?

I bought an Atmel ICE a while ago as a way to step away from the Arduino environment and begin using more custom hardware. Now that I am quite comfortable with this I've begun contemplating using or ...
Alex Jegers's user avatar
0 votes
0 answers
267 views

How do I identify suitable ICs (for JTAG multiplexing)?

I'm quite a rookie in the hardware-electronic field so please bear with me. I want to create a multiplexer for JTAG with 1:16, so one input and up to sixteen outputs. Actually I only want to flash the ...
Ben's user avatar
  • 625
2 votes
0 answers
233 views

JTAG daisy chain or multiplexer?

I'm about to dive into a new topic which interests me and as such I'm at the fork to decide between daisy chaining several devices or to use a multiplexer. Finally, I want to flash µCs via JTAG. I've ...
Ben's user avatar
  • 625
1 vote
0 answers
333 views

Cannot detect FT2232H

I am using FT2232H for USB to JTAG communication. Cannot detect FT2232H in device manager and FTPROG. I am attaching my schematics for reference. I have used the similar schematics before in another ...
sriharsha sunkara's user avatar
0 votes
2 answers
103 views

Lack of I2C peripheral in a module

I want to use 3 I2C peripherals connected to this WFI32E01PC. This part has 2 options. Either MCU or the 54-pin package WFI32 module. I plan to use the 54-pin module. But on page 3 of the datasheet, ...
Freshman's user avatar
  • 945
2 votes
1 answer
93 views

Added value of debugging probes (ST-LINK, JLink, ...)

I've been working in embedded programming for a few years now, and there is something I still don't quite understand about debugging protocols and probes. So as I understand it, to program and debug ...
sydpy's user avatar
  • 21
1 vote
0 answers
158 views

Can't flash microcontroller through JTAG

I designed a board and added a JTAG interface to program the built-in ATmega32 16U via an Atmel-ICE. I have already measured the individual pins of the JTAG with a multimeter and there is also 4.5 V ...
Not ASMR's user avatar
1 vote
1 answer
99 views

Does JTAG use DDRAM?

I have a microcontroller with external DDRAM. When I debug with JTAG I can see that there is code placed in the DDRAM region. However I never see the initialization of DDRAM code is run. I wonder does ...
user2900385's user avatar
1 vote
1 answer
391 views

How to set up MCP430 Pins for SBW?

Hello I'm a senior in college and I'm trying to develop a development board for the MSP430G2533IN20 Microcontroller, this is my first time working with TI MCU's, but I've worked with STM32 before. I'm ...
Mark Volosov's user avatar
3 votes
1 answer
521 views

Programming with OpenOCD config file - how do I know my layout_init signal?

we designed a custom board that contains wifi module: EWB-STERLING,(453-00014R ) with STM32F412 chip. I succeed in programming the module, but I noticed that it does not send a reset after each ...
Knowledge's user avatar
  • 471
3 votes
4 answers
1k views

Segger J-tag vs J-link

Are Segger J-tag and J-link the same thing or are these two different things? I could not find helpful answers yet.
naveed's user avatar
  • 31
0 votes
1 answer
268 views

Using BSL to program MSP430 MCU with JTAG fused already blown and all memory wiped out by BSL

If the Texas Instrument MSP430 MCU (specifically Fxxx series) has the JTAG fuse already blown and the BSL was able to erase the whole chip (either by using force erase all or wrongly inputted password)...
Samzun's user avatar
  • 223
1 vote
1 answer
176 views

Is there a standard interface connector or layout for MSP430's "Spy-Bi-Wire" (SBW) interface?

Is there some standard order and/or footprint that people use for these 4 pins? Something akin to the standard 2x3 6-pin ISP layout for AVR chips?
bigjosh's user avatar
  • 10.2k
2 votes
0 answers
203 views

JTagging an Atmel ATF1500 CPLD

Intentions I'm learning how to use CPLDs and I thought a good one to start with is the Atmel ATF1500AL-TQFP44. Whats the deal The datasheet provides no information about programming the CPLD; also, ...
Jacob P's user avatar
  • 165
0 votes
2 answers
134 views

How good are current PCB debugging tools? [closed]

I'm a newbie in the field of manufacturing, and I'm hoping to get a broad understanding of the field. After you get PCBs manufactured, I understand that you need to check for mechanical damage, ...
Achintya Agarwal's user avatar
0 votes
0 answers
191 views

Custom ESP32 Board with JTAG only Programming Concerns

Due to the limitation of UART pins available I built a board using the esp3-mini-1 module that can only be programmed using JTAG (through Segger J-Link programmer), but I were unable to flash it (...
A.I.A.W's user avatar
2 votes
2 answers
1k views

STM32 20 pin cable pinout

I have an STM32 20 pin cable used by the ST-Link to programme the microcontrollers like the one in the image I know the pinout of the connector is the one below unfortunately I can't find the ...
NicoCaldo's user avatar
  • 315
0 votes
1 answer
530 views

ESP32-C3 JTAG/USB debugging issue with ESP-IDF

I am using ESP32-C3 module and I want to debug my code through USB/JTAG. For USB interface I have used TYPE C connector with ESP32-C3. Connections are as follow but the device does not get recognized: ...
meet10's user avatar
  • 1
0 votes
1 answer
571 views

Programming through JTAG chain

I have this Zybo Zynq-7000 board. The board has a USB interface to configure FPGA as well as JTAG pin headers: This is the second board, an Ultra96-V2 which doesn't have a USB to configure FPGA. It ...
Berker Işık's user avatar
0 votes
1 answer
609 views

Altera JTAG: No device found

I got a task to create a custom board from DE0-Nano dev board. So I used EP4CE22E22C6N as similar chip for hand soldering. But when we ordered USB Blaster, Quartus says No device found. I try the JTAG ...
Jirka Picek's user avatar
1 vote
1 answer
2k views

Why does ESP-prog need JTAG connection to program an ESP32?

I recently bought an ESP-prog module, and use it to debug/program esp32 chips, using vscode and platformio. I am connecting the JTAG cable and the program cable. Debugging works well, and programming ...
nipil's user avatar
  • 35
1 vote
1 answer
2k views

"Could Not Verify ST Device" when flashing STM32H747XIH6 over SEGGER J-link within STM32CubeIDE

Im trying to flash/debug a STM32H747XIH6 over J-link within STM32CubeIDE. One of the two cores, the CM7, flashes fine and i can enter the debugger. However when i try to flash the other core, the CM4, ...
Caspar Westerberg's user avatar
0 votes
2 answers
1k views

Why do the JTAG parallel registers update on the falling edge?

The TMS state is change on the falling edge of the TCK clock. It is logical that the state of the chip TAP FSM is changes on the rising edge of the TCK clock. Data loading to the shift register on the ...
Arseniy's user avatar
  • 2,257
0 votes
1 answer
453 views

ESP32-S2 JTAG programing problems

A bit of introduction: I am using ESP32-S2 module with custom PCB and I want to use J-TAG for programming and debugging with ESP-PROG. I am using Eclipse with ESP-IDF plugin (version 4.4) installed, ...
ves_el's user avatar
  • 159
0 votes
1 answer
189 views

What is the value that captured into BYPASS register?

The IEEE1149.1 describes many cases of capturing some value in the CAPTURE_IR/CAPTURE_DR stages to the internal registers. For example, the instruction register shall be filled with "...XXXX01&...
Arseniy's user avatar
  • 2,257

1
2 3 4 5
8