Skip to main content
KGrim.2
Associate
April 23, 2020
Question

Debugger connection fails when using UART2 in DMA mode in Nucleo-401RE

  • April 23, 2020
  • 12 replies
  • 3030 views

 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!

This topic has been closed for replies.

12 replies

waclawek.jan
Super User
April 25, 2020

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

OMaka.1
Associate II
October 7, 2021

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.