AnsweredAssumed Answered

STM32CubeMX 4.7.1 Bug Report: Keil info for STLINK/Trace

Question asked by butenko.vladimir on Apr 30, 2015
Latest reply on Jun 4, 2015 by STM32Cube-T
After upgrading to Subj, the Keil uVision STLink Debugger Trace options are reset each time STM32CubeMX generates code.

To reproduce;

using Keil uVision (the current version), open "Options for Target XXX" -> Debug -> STLink Debugger/Settings -> Trace.
Select "Trace Enable" and modify some other settings (such as the Core Clock and ITM Stimulus Port, for example).
Save, restart Keil uVision to make sure the new options stay in place.
Use   STM32CubeMX  to generate code again, open the project uVision, bring up Debug Trace options, see the specified options gone (reset to default).

It looks like the newly release 4.7.1 version of Cube removes the following section from the  <TargetDriverDllRegistry/> element from the project.uvoptx  XML file.

The problem did not exist in STM32CubeMX 4.7.0.