Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Adding JTAG interface to custom board

Status
Not open for further replies.

FlyingDutch

Advanced Member level 1
Joined
Dec 16, 2017
Messages
457
Helped
45
Reputation
92
Reaction score
55
Trophy points
28
Location
Bydgoszcz - Poland
Activity points
4,957
Hello,

I have custom board (made on order) based on STM32F103VGT6 (LQFP100 case) - ARM Cortex-M3. On board are many sockets and interfaces (transistor switches, RS422, UART, DC-DC converter etc.). For programming is only UART interface (and jumper to BOOT0 pin in CPU), and it is working fine for this purpose. But there isn't lead out JTAG interface on this board. I have schematic and PCB layout for this custom board. I am wondering if it is possible to lead out a JTAG interface for debugging (program on this board is not working properly). I have sources for program running on this board (project in Ride7 IDE). I would like to add posibility to debug program. Program is very complicated (using CAN, Modbus RTU, ADCs).
Could someone hint me how to start with adding JTAG interface to this custom board (one option to consider is altering PCB and adding socket to JTAG on board).

I will be very grateful for any sugestions (maybe www links).

BTW: so far I ffound this page:

https://electronics.stackexchange.com/questions/229209/debugging-an-mcu-short-circuit

but I am not sure if this is correct.


Regards
 
Last edited:

By the datasheet the JTAG/SWD pins are:
JTMS/SWDIO - pin 72, port PA13;
JTCK/SWCLK - pin 76, port PA14;
JTDI - pin 77, port PA15;
JTDO - pin 89, port PB3;
NJTRST - pin 90, port PB4.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top