2017-09-26 09:04 AM
Hello,
as part of a larger project, I want to connect a custom JTAG-based debugger to the Cortex M3 present on the Nucleo STM32 L152RE.My debugger has already been fully tested on other development boards and works correctly.
I have connected each of the JTAG cables to the proper pins of the nucleo following the available documentation and I have disconnected the ST-link jumpers.
However, this configuration does not work (no meaningful signal on TDO).I have not found any useful information online and all my experiments failed.Is there any other step I should do to be able to use the JTAG?Thank you in advance!#stm32-jtag2017-09-26 09:45 AM
Hello!
Circled labels are from MCU. As you can see JTDO PB3 is still connected to STLINK via SB15
Regards
vf
2017-09-26 10:36 AM
CN2 only disconnects the SWDIO(TMS)/SWCLK(TCLK) internally. The NRST and SWO(JTDO) need to be broken via solder bridges to prevent potential conflicts.
When using DISCO and NUCLEO boards it is important to thoroughly review the schematic, especially with the signals of interest, to understand internal connectivity, and if solder bridges are used to get to pin headers, etc.
Review also other pin utilization that might conflict with your chosen use case.
2017-09-26 12:56 PM
Thank you for the prompt reply!
T_SWO and T_NRST are connected not only to CN4 but also to the STLINK, and my mistake was not noticing the second part.Thank you very much.GC
2017-09-26 12:57 PM
Thank you for the prompt reply!
T_SWO and T_NRST are connected not only to CN4 but also to the STLINK, and my mistake was not noticing the second part.Thank you very much.GC
2019-01-24 11:12 AM
Hii everyone,
I am a beginner in ST microcontrollers. Presently i am using STM32F446RE .Whenever i am trying to program the STM i am getting error as "TARGET NOT CONNECTED" ," FLASH DOWNLOAD FAILED TARGET DLL HAS BEEN CANCELLED."When i opened the NODE446RE DRIVE,I opened the FAil Notepad file which displays "The interface firmware FAILED to reset/halt the target MCU".Can anyone help me out?
2019-01-24 12:26 PM
Please open a new topic for questions unrelated to the thread.
Check you have jumpers on CN2
Did it ever work? What happened immediately before it failed?
Check the voltages on the board.
Open in some other application? Another instance of Keil or ST-LINK Utilities?
You could just have damaged the device