AN4989 Rev 3
93/118
AN4989
From debug to release
117
10
From debug to release
It is important to have in mind that most of technics presented in this AN and suitable for
debugging have to be properly cleaned to prevent problem while releasing the application.
The following action list can be used as a checklist helping to avoid the most common
problems:
•
Remove software BKPT instructions or take care to let them inside #ifdef DEBUG
statements.
•
Ensure
printf()
uses available data path on final product.
Semihosting and SWO cause hardfault otherwise.
•
Reestablish Code Optimization level.
•
Implement proper Fault Handlers.
•
Reset DBGMCU registers to default.
Содержание STM32 Series
Страница 46: ...Connecting to the board AN4989 46 118 AN4989 Rev 3 Figure 30 Keil hotplug step2 ...
Страница 91: ...AN4989 Rev 3 91 118 AN4989 Debug through hardware exploration 117 Figure 69 STM32F4 F7 dual MCO capabilities ...
Страница 103: ...AN4989 Rev 3 103 118 AN4989 Managing DBGMCU registers 117 Figure 78 Generator Options debug MCU in STM32CubeIDE ...