2024-02-26 03:53 AM
Hello,
I want to try the examples in the package X CUBE USB AUDIO with X CUBE IDE and generate binary file for flashing it via DFU (I don't have ST LINK) .
With others projects, I go to : project menu / properties / C/C++ build/ settings / MCU Post build outputs/ and select : Convert to binary file - and click Apply and Close, I do build project and it work.
With all the 4 examples of the package, I can't generate the binary file. I have this error in the console :
12:45:37 **** Incremental Build of configuration Debug for project STM32F446E-EVAL_UAC10-ADV ****
make all
make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x00007FFA461D24E8)
"make all" terminated with exit code 255. Build might be incomplete.
12:45:37 Build Finished. 0 errors, 0 warnings. (took 191ms)
I'am new to STM32. Did I miss somethink ?
My board is STM32F446.
STM32 CUBE IDE - Version: 1.14.1 - Build: 20064_20240111_1413 (UTC)
Solved! Go to Solution.
2024-02-26 07:34 AM
Hello @Loulou ,
First, check that you've set the correct path (too long path or contains spaces may cause this problem).
2024-02-26 07:34 AM
Hello @Loulou ,
First, check that you've set the correct path (too long path or contains spaces may cause this problem).
2024-02-26 11:51 PM
Hello @Imen.D ,
Thank you for your reply. I placed the folder at the root and deleted unnecessary subfolders. I was able to build and generate the binary file of the 4 examples.
I think I have another problem, once the binary is flashed, the card is not recognized as an audio device, I tried on all 4 projects. I unplugged USB, do reset, nothink change.
On the other hand, if I generate for example the binary of another audio project: FP-AUD-SMARTMIC1, and flash it via DFU, the card is recognized as an audio device.