Hi,
I'm using the example application for STM32f407-Discovery platform. Compiling, uploading and configuration with Audio Weaver works. It's not possible for me to create a application, which doesn't need to be configured every time by Audio Weaver software. I tried to load the InitCommands created by Audio Weaver with awe_fwPacketExecuteArray(InitCommands, InitCommands_Len) as described in "EAD User Guide (page 9), but the linker couldn't find this function in the framework library that is provided by the example project.
This is the error that I got from Keil uVision:
STM32F407_Discovery\STM32F407_Discovery.axf: Error: L6218E: Undefined symbol awe_fwPacketExecuteArray (referred from main.o).
Do I need a different framework library or is there a different solution to create a stand alone application?
Thanks in advance.
Vincent
11:30am
Hi Vincent,
To better help you with this question, can you provide more information on which 'example application' you are using for STM32F407? Is this a BSP that you received from DSP Concepts?
Thanks
-Axel
11:58am
Hi Axel,
I'm using the awe-bsp-stm32f407-discovery project.
Thanks.
BR
Vincent
12:17pm
Hi,
I have the similar rookie questions about setup for standalone operation of Stm32f407.
I have no problem using the target user guide to make USB audio to be heard on earphone through the board. However, I soon realize a lot more details is needed for it to run standalone operation.
(1) I opened up the eww file and tried to compile. It turns out that many functions, for instance, awe_fwInit() and awe_fwTick() in main.c, can only be referenced from platformAPI.h. This means they are function prototype only. So where are the function definition for them? Did I miss adding some files for it to compile successfully?
(2) For compiled-in AWB, I assume that awe_fwPacketExecuteArray() should be placed inside main.c. Correct?
4:38pm
Hey Paul,
1. The functions you mentioned are part of the CFramework.a library. This is specified to be linked in the .ewp file, so compiling should complete. The STM32F407_Discovery.bin in the bin/ folder was built with IAR Embedded Workbench 7.80.4. Which version of Embedded Workbench are you using?
2. Yes, you can put the call to awe_fwPacketExecuteArray() in your main.c. Some of our documentation may be inconsistent for this function, so be aware that it is defined as follows:
INT32 awe_fwPacketExecuteArray(AWEInstance *pAWE, UINT32 *pCommands, UINT32 arraySize)
Hope this helps!
-Axel
2:24pm
hello sirs
i use stm32f4 discovery board, how can i disable the runtime timeout from my project.
thank you
3:30pm
Hey,
For the evaluation version of the STM32F407 BSP, we only deliver libraries with a timeout built in. If you are interested in a non-timeout version of our BSP, please contact info@dspconcepts.com to get more information.
Thanks
-Axel