cancel
Showing results for 
Search instead for 
Did you mean: 

Adding breakpoint and debugging using UDE STK 2021

nanda_kishore
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Max VIZZINI
ST Employee
3 REPLIES 3
Max VIZZINI
ST Employee

Hi,

Basic info can be found here:

Part 7 - AutoDevKit™ detailed tutorial: Debug and release of firmware created with AutoDevKit™

Best Regards,

AutoDevKit Team

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.

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