Debugger connection fails when using UART2 in DMA mode in Nucleo-401RE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-23 7:24 AM
Hello everybody,
I am trying to build a simple communication between my PC and a Nucleo-F401RE using UART over the USB connection.
I am able to do this successfully using a “polling�? or an “interrupt�? configuration.
However, when I configure the UART2 of my F401RE as using DMA (I use the CubeMX tool in CubeIDE to do the configuration) and then try to run the program in run or debug mode, I get the error messages:
“Debugger connection lost.
Shutting down...�?
Is it not possible to use DMA of UART2??
Many thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-24 4:59 AM
Thanks Jan for your fast reply, I'll try using another IDE. What do you recommend?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-04-24 6:55 PM
Sorry I can't make any IDE recommendation, I use traditional command-line tools and a programmer editor of my choice, rather than IDE.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-10-07 3:19 AM
I use CubeIDE Version: 1.7.0
Build: 10852_20210715_0634 (UTC)
AND I have same problem. When I turn on ADC DMA, I can't even download program to Nucleo-F303RE.

- « Previous
-
- 1
- 2
- Next »