Skip to main content
Associate II
Jan 24, 2025 7:54 AM UTC
Solved

Adding breakpoint and debugging using UDE STK 2021

Hello everyone,

I have been flashing the code written in AutDevKit Studio 2.4.0 using UDE STK 2021 for the AEK-AUD-C1D9031, which uses the SPC582B60E1 MCU. I want to start debugging the code line by line using breakpoints.

Currently, I have the option to add breakpoints in AutDevKit Studio, but it is of no use since I am flashing the code with UDE STK 2021.

Could someone guide me on how to add breakpoints in UDE STK 2021? Also, how can I add variables to the watch window?

I referred to the manual I attached but couldn’t figure out the exact steps to add breakpoints or watch variables in the program shown in UDE STK 2021.

This topic has been closed for replies.
Max VIZZINI
Max VIZZINIBest answer
ST Technical Moderator
Jan 24, 2025 8:01 AM UTC

4 replies

Max VIZZINI
Max VIZZINIBest answer
ST Technical Moderator
Jan 24, 2025 8:01 AM UTC
Associate II
Jan 25, 2025 3:51 AM UTC

Thank you so much for your Input @Max VIZZINI.
I have other doubts in the same board AEK-AUD-C1D9031.

The system works fine with the sample audio from the application library.

However, when I integrate the WAV file, the sound plays for only one second before turning off. The sound should persist, similar to the sample audio.

I have attached the WAV file for your reference.

Max VIZZINI
ST Technical Moderator
Jan 25, 2025 6:14 PM UTC

Hi,

The around 1, 1.5 second is the dimension of WAV sound in the MCU flash memory.

The playback is much more complicated than just looping the wave sound, because there is also the

sound acceleration capability. Obviously, you can change that but it goes along with what you are trying to do.

The reference document is the following:

https://www.st.com/resource/en/user_manual/um2719-avas-architecture-based-on-autodevkit-stmicroelectronics.pdf

 

Best Regards,

AutoDevKit Team