FlyingDutch
Advanced Member level 1
- Joined
- Dec 16, 2017
- Messages
- 458
- Helped
- 45
- Reputation
- 92
- Reaction score
- 55
- Trophy points
- 28
- Location
- Bydgoszcz - Poland
- Activity points
- 5,022
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
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: