Skip to main content
TDesh.1
Visitor II
March 25, 2022
Question

STM32Cube IDE debugger, What is difference in Details & Default value of expression

As per screenshot, while debugging I am getting different values in Details & Default value of NDTR expression. What is the difference in these 2 fields? Thanks

This topic has been closed for replies.

1 reply

KnarfB
Super User
March 26, 2022

DMA is not paused when the debugger is paused. So, readings at different points in time may yield different values.

Some peripherals can be configured to pause when the debugger pauses. See __HAL_DBGMCU_FREEZE_ macros.

hth

KnarfB