2017-02-16 12:38 PM
I
remodeled
DemonstrationProgram
of
ST32Cube
into
STM32F746G-Discovery
and
was able to
play
theMP3
in
audioplayer
.
My
MP3Program
may
sometimes
do
Stall
in
Error
.
Will
there be
thegood
method
to perform of
Debug
in
FreeRTOS
?
Best Regards.
#freertos-stm32cube2017-02-16 01:47 PM
Output diagnostic and telemetry information about flow and status via the VCP attached USART, or via the SWV debugger channel, and viewable with the ST-LINK Utilities.
Running the code in a debugger might also provide some fine grain understanding, but first you probably want to get a feel for the mechanics of what the code is doing, and how tasks are interacting.
2017-02-16 03:33 PM
Thank you for
areply
I
intend
to use
SWV
,
but
do not
understand
how to use
.
Should
I
output
it
simply
in
printf
?
Best Regards
2017-02-16 07:41 PM
In something like Keil you'd have to provide fputc() type functionality using ITM_SendChar() to get information via SWV. The SWO (PB3) pin needs to be connected to the debugger, and the viewer needs to be configured to the frequency of the core.
2017-02-16 07:57 PM
I
use
System
Workbench
for
STM32
.
Debugger
is
GDB
and
OpenOCD
.
I
appoint
SWD
in
Interface
in
ST-LinkV2
in
Device
of
Script
.
__STATIC_INLINE
uint32_t
ITM_SendChar
(
uint32_t
ch
)
I
check
Function
mentioned above
.
Yours sincerely,