2021-09-29 06:17 AM
Is it possible for debugging for external application? My intension is to use STM Nucleo board CN4 to debug instead of one extra STLINK V2 or V3. Is it possible ?
Pin connections will be as follows.
2021-09-29 06:34 AM
Sure. Add board can be cut out and use as STLINK V2. Single MCU can be debugged thru SWDIO and SWCLK pins. If you cut out add board, it is need use internal MCU oscilator or complete external XT oscilator on the board (there are PCB solder points, but not components).
2021-09-29 06:35 AM
Yes, of course you can do so. The ST-LINK as part of the NUCLEO-64 can also be broken off / cut off and used as a stand-alone ST-LINK. The only thing missing is the housing.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter
2021-09-29 06:46 AM
Thank you !
Hi, Peter! I have done the schematic of the MCU which is supposed to be mounted on an external PCB. I've mentioned the required connection pins of MCU with an external ST-LINK V2. Can you verify it once and let me know whether it is a go for fabrication or not?
First, let me know whether it is correct or not then we can proceed to the conclusion.
2021-09-29 06:51 AM
Thank you very much. Can you please have an eye on this? Now it is connected with ST-LINK V2, will it work? If yes. I can try it on connecting with the ADD NUCLEO Board (where MCU is cut).
2021-09-29 06:55 AM
I notice, the VDDA/VREF+ is not is not connected. Only blocked by capacitors.
2021-09-29 06:59 AM
Thank you !
Modified, rest all ok?
2021-09-29 07:02 AM
NRST is connected to MCURST of ST-LINK V2 and altogether it is grounded. Is it ok?
2021-09-29 07:11 AM
NRST should be connected to VDD via cca 10k rezistor. No capacitor needed. STLINK reset pin is connected direct to NRST MCU pin. If you use ADC convertors, VDDA pin should be connected to VDD via some choke and capacitors.
2021-09-29 07:13 AM
Refer the datasheet, there are more about exernal circuits and connections.