Standalone AWE core on STM32F746

4 posts / 0 new
Last post
EFDES
Offline
Last seen: 1 day 5 hours ago
Joined: 09/27/2017 - 9:56am
Standalone AWE core on STM32F746

Using Audio_Weaver_Designer_7.A.0.8 STMicro Edition, I am able to run an Audio Weaver AWD file with microphone input and audio output on an STM32F746 Discovery Board. However, latency is an issue and I would like to run as standalone on STM32F746 Discovery Board.

When doing so, I am not able to get any sound, except when I 'Execute' the target file inside of Audio Weaver Server.

Steps taken were as follow:

1Audio Weaver Designer, Tools: Generate AWB target file

2 STLink Util, External Loader: Add external Loader for STM32F746 and perform external sectors erase

3 Audio Weaver Server: Connect to STM32F746 target using USB

4 Audio Weaver Server, Flash Memory Manager: Add AWB Target file

5 Audio Weaver Server, Flash Memory Manager: 'Execute File' produces correct microphone in and audio out on STM32F746 Discovery Board

6 Unplugging USB and Audio Weaver Server still retains the audio in and out on STM32F746 Discovery Board

7 Resetting STM32F746 Discovery Board causes the audio to disappear.

What am I missing?

Eric F

 

 

 

Andrew
Offline
Last seen: 5 days 12 hours ago
Joined: 04/12/2018 - 9:25am

Hello, you are on the right track! To load the .awb after resetting the board, the file must be set as the "Boot file". There is a checkbox for this in the Flash Manager. Simply check this box when adding the file to the flash file system, and now the .awb should execute after rebooting the board. 

Hope this helps,

-Andrew P

EFDES
Offline
Last seen: 1 day 5 hours ago
Joined: 09/27/2017 - 9:56am

Ok, this worked.

Note: It appears that external sectors erase is needed for this to work.

If target file is added, then deleted and replaced by adding a new one, then the target does not run. Is that correct?

Thank You,

Eric F.

Andrew
Offline
Last seen: 5 days 12 hours ago
Joined: 04/12/2018 - 9:25am

Glad that it worked for you! 

Yes that is correct. You need to add the specific file as boot.