I have a working .awb that performs fine for Native Target. When I click Tools - Generate Target Files. I get the error pictured above. I have tried restarting my PC and also shutting down and restarting my PC, but the error does not go away. Is my only other option to reinstall Audio Weaver?
By the way, in a previous case when I did reinstall Audio Weaver, I was alarmed to discover that all my projects and audio had been deleted. Perhaps future releases could protect user-created content?
Further to my previous comments, I am attempting to re-install but am blocked with the error below. I uninistalled and attempted reinstall, which complained about files being leftover from a previous install that I should manually remove. These appear to be the MATLAB Compiler Runtime files. I deleted those and the reinstall has completed. I once again attempted to Generate Target Files and again received the same error as originally posted. Though my Native apps are all still running correctly I am not able to Generate Target Files for any of them.
After unplugging and replugging and restarting and generally messing around I am now generally able to Generate Target Files again. Not sure what key thing I did. So I'll just leave you with the above screenshots in case they are helpful, but for now I don't need further help with this issue.
Unhappily I am getting the error at the top again this morning, even after restarting everything fresh. I cannot find my way out. I have tried with the board connected, and without.
Update: I used task manager to end remaining stray Audio Weaver tasks, and used STM32 ST-LINK Utility to Erase Chip. After reprogramming the Discovery Board, I reopened Audio Weaver, and Generate Target Files now works again.
What target files are you trying to generate? That is, which of the boxes in the Generate Target Files menu do you have checked? Also, to confirm, is your server always connected to your target when you get this error? Do you get an error when you try to generate the files while connected to the native target?
It looks like it's failing to compile the .awb file. Can you disable this file type and try again?
When I go to Native Target and remove the AWB check, it crashes. When I go to USB Target and check AWB, I am able to get .c and .h files (since the erase chip step I mentioned above).
You get an error identical to those posted above? What boxes are checked when it crashes? Are you able to isolate which file type is causing the problem?
What version and edition of Designer are you using?
I am using Audio Weaver 6.18.01. When AWB is checked I get the top error. Until recently I was able to generate files with AWB checked on USB Target, but now Audio Weaver is completely hung and will not open files at all. I will restart my machine and see if that helps.
I restarted my machine. I chose Native mode. Before trying to generate files again, I ran my project. Now I cannot even run my project in Native mode. Audio Weaver crashes through "AWE_Server MFC Application has stopped working." I disconnected the Discovery board entirely but I am unable to run my project.
I am about to create a fresh talk through program just to try to figure out what's wrong. I notice that in Native (board still disconnected), the new project shows zero channels in. I can edit this of course, but I have come to see this as a sign that something is wrong. When I was using Native exclusively, there were always two channels in. Ever since interacting with the Discovery Board I am experiencing lots of problems.
Anyway, I edited the number of channels for input and deinterleaver. This app runs. When I try to generate target files with nothing checked, the server crashes.
The zero channels as input suggests that Designer is not finding any input audio devices.
Do you have any audio devices on your PC? If you go to File->Preferences in the AWE_Server, are there both input and output devices listed and selected?
Ah. That's very useful, Axel, thank you! When I enable my mic I am back to the regular two channels of input. Also extremely interesting: now I can generate target files again! The fact that it crashes when the mic is not enabled, is that because when one generates target files it will be assumed that the input is Line In?
Just for interest, I disabled the mic again and I can reproduce the crash immediately.
4:22pm
I have a working .awb that performs fine for Native Target. When I click Tools - Generate Target Files. I get the error pictured above. I have tried restarting my PC and also shutting down and restarting my PC, but the error does not go away. Is my only other option to reinstall Audio Weaver?
By the way, in a previous case when I did reinstall Audio Weaver, I was alarmed to discover that all my projects and audio had been deleted. Perhaps future releases could protect user-created content?
4:49pm
Further to my previous comments, I am attempting to re-install but am blocked with the error below. I uninistalled and attempted reinstall, which complained about files being leftover from a previous install that I should manually remove. These appear to be the MATLAB Compiler Runtime files. I deleted those and the reinstall has completed. I once again attempted to Generate Target Files and again received the same error as originally posted. Though my Native apps are all still running correctly I am not able to Generate Target Files for any of them.
6:52pm
After unplugging and replugging and restarting and generally messing around I am now generally able to Generate Target Files again. Not sure what key thing I did. So I'll just leave you with the above screenshots in case they are helpful, but for now I don't need further help with this issue.
11:47am
Unhappily I am getting the error at the top again this morning, even after restarting everything fresh. I cannot find my way out. I have tried with the board connected, and without.
Update: I used task manager to end remaining stray Audio Weaver tasks, and used STM32 ST-LINK Utility to Erase Chip. After reprogramming the Discovery Board, I reopened Audio Weaver, and Generate Target Files now works again.
12:08pm
Hi,
What target files are you trying to generate? That is, which of the boxes in the Generate Target Files menu do you have checked? Also, to confirm, is your server always connected to your target when you get this error? Do you get an error when you try to generate the files while connected to the native target?
It looks like it's failing to compile the .awb file. Can you disable this file type and try again?
Thanks
-Axel
12:11pm
When I go to Native Target and remove the AWB check, it crashes. When I go to USB Target and check AWB, I am able to get .c and .h files (since the erase chip step I mentioned above).
12:13pm
You get an error identical to those posted above? What boxes are checked when it crashes? Are you able to isolate which file type is causing the problem?
What version and edition of Designer are you using?
12:18pm
I am using Audio Weaver 6.18.01. When AWB is checked I get the top error. Until recently I was able to generate files with AWB checked on USB Target, but now Audio Weaver is completely hung and will not open files at all. I will restart my machine and see if that helps.
12:30pm
I restarted my machine. I chose Native mode. Before trying to generate files again, I ran my project. Now I cannot even run my project in Native mode. Audio Weaver crashes through "AWE_Server MFC Application has stopped working." I disconnected the Discovery board entirely but I am unable to run my project.
I am about to create a fresh talk through program just to try to figure out what's wrong. I notice that in Native (board still disconnected), the new project shows zero channels in. I can edit this of course, but I have come to see this as a sign that something is wrong. When I was using Native exclusively, there were always two channels in. Ever since interacting with the Discovery Board I am experiencing lots of problems.
Anyway, I edited the number of channels for input and deinterleaver. This app runs. When I try to generate target files with nothing checked, the server crashes.
12:54pm
The zero channels as input suggests that Designer is not finding any input audio devices.
Do you have any audio devices on your PC? If you go to File->Preferences in the AWE_Server, are there both input and output devices listed and selected?
1:02pm
Ah. That's very useful, Axel, thank you! When I enable my mic I am back to the regular two channels of input. Also extremely interesting: now I can generate target files again! The fact that it crashes when the mic is not enabled, is that because when one generates target files it will be assumed that the input is Line In?
Just for interest, I disabled the mic again and I can reproduce the crash immediately.