Need support to use serial monitor in arduino ide or in putty through SWD pins PA13 and PA15 in STM32 Nucleo L152RE Board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 5:31 AM - edited ‎2023-11-20 6:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 6:07 AM
SWD pins are PA13/PA14, the SWO/SWV would be PB3
This isn't how Arduino does serial monitor in any case.
You'd typically use the on-board ST-LINK/V2-1 and it's VCP/CDC implementation.
The stand-alone board doesn't support USART connectivity.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 6:09 AM
Okay thanks ! then what should i do for the Serial monitor or debugging ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 10:34 AM
Use the connection on the NUCLEO board itself, or if you've broken that find a USB to CMOS Serial Dongle, like those from SiLabs.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 12:03 PM
The blue fake ST-LINK/V2 shown in the picture of the setup, which almost certainly does not contain an STM32, regularly leads to problems because something does not work. Because of the problems, people here in the community keep asking for help, but at least STMicroelectronics cannot provide it - simply because the tool is an illegal replica that ST neither knows about nor has manufactured, nor can take responsibility for.
As @Community member​ has mentioned, the NUCLEO-L152RE shown in the photo has an ST-LINK/V2-1 debugger, i.e. even original and fully functional and not restricted ST-LINK, with which you can debug and program without further aids (ok, only the mini-USB cable and a host computer are necessary).
Did you know that you can also break off this ST-LINK/V2-1 from the NUCLEO and use it stand-alone, just like the blue fake - only without the housing and of course fully functional and legal?
Details on this can be found, for example, in UM1724, section 6.2.3.
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 11:27 PM - edited ‎2023-11-20 6:46 AM
But Still not working with also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 11:37 PM
You've pictured a jumble.of wires, what are we supposed to do with that??
Identify what is connected to what with a diagram or schematic.
The On-Board ST-LINK/V2-1 used with the NUCLEO has a UART VCP connection, WHY aren't you using that?
Explain what you're doing BETTER..​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 11:41 PM
Well, we were talking about the already existing ST-LINK/V2-1, NOT another external ST-LINK/V2.
Regardless of the fact that you are not 100% sure that you don't have a clone again, all we see is a mighty tangle of wires - what are we supposed to contribute to a solution if we
- don't know how you wired and
- can't check for ourselves?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 11:42 PM
Because I want to make own pcb for my project and i only want to use STM32 MCU , I am trying that if it is possible to make pcb only with STM32 MCU without using ST-LINK that's why i want to use GPIO pins for programming and debugging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-01 11:44 PM - edited ‎2023-11-20 6:46 AM
I followed the connections described in ST LINK data sheet
