Hi,
I tried to build an app with SS_NR. It did not work.
Can I have same help, please?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I tried to build an app with SS_NR. It did not work.
Can I have same help, please?
Hello Bela,
Apologies for the delay here. We will take a look at this and get back to you shortly. I appreciate your patience.
Regards,
Aaron Estrada
Hi Aaron and Diljith,
Thank you for the answer.
The problem is, that I cannot generate a code. It says:
Generating code for base_main_Rate8 .. assembling ...MemoryType usage: miniDSP_A_coeff: 479, miniDSP_A_data: 265, miniDSP_A_instr: 923, miniDSP_A_instr_alloc: 930, miniDSP_A_cycles: 2385, miniDSP_A_cycles_alloc: 2398,miniDSP_D_coeff: 26, miniDSP_D_data: 28, miniDSP_D_instr: 85, miniDSP_D_instr_alloc: 93, miniDSP_D_cycles: 76, miniDSP_D_cycles_alloc: 904
Assembly failed
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word154.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word153.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word152.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word155.
and so on.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word77.
230 errors detected
Assembler was terminated.
Summary: 0 Error(s)
Code generation terminated on base main Rate8
Build failed.
I set up the sample rate to 8kHz ( as the help says SS_NR does not support only 8 and 16kHz).
If I remove the SS_NR and connect one DEC1xIn to the DSP_A (in the place of SS_NR), I can build the code. Last time I checked, it works on the board.
Please let me know, if you have any further questions.
Kind regards,
Bela
Hi Bela,
Please modify the flow as shown below.
There aren't enough resource in minDSP_A to run a stereo decimator and SS_NR. Moving it to miniDSP_D is the remedy. Please also update the Framework settings as shown.
Best Regards.
Hi Diljith,
I tried out the setup you suggested, but it still does not work. I got error message:
Generating code for base_main_Rate8 .. assembling ...MemoryType usage: miniDSP_A_coeff: 73, miniDSP_A_data: 158, miniDSP_A_instr: 194, miniDSP_A_instr_alloc: 206, miniDSP_A_cycles: 194, miniDSP_A_cycles_alloc: 3072,miniDSP_D_coeff: 503, miniDSP_D_data: 285, miniDSP_D_instr: 977, miniDSP_D_instr_alloc: 1010, miniDSP_D_cycles: 2439, miniDSP_D_cycles_alloc: 3072
Assembly failed
Error: (0): Memory size exceeded : miniDSP_D_Coef Coef Memory exceeded by Coef word173.
Error: (0): Memory size exceeded : miniDSP_D_Coef Coef Memory exceeded by Coef word174.
Error: (0): Memory size exceeded : miniDSP_D_Coef Coef Memory exceeded by Coef word171.
...
Error: (0): Memory size exceeded : miniDSP_D_Coef Coef Memory exceeded by Coef word86.
Error: (0): Memory size exceeded : miniDSP_D_Coef Coef Memory exceeded by Coef word87.
259 errors detected
Assembler was terminated.
Summary: 0 Error(s)
Code generation terminated on base main Rate8
Build failed.
If I remove the SS_NR block, I can built the code.
DSP_A_DSP_D_1 does not have an output connection.
DSP_A_DSP_D_1 does not have an output connection.
MonoInt8xOut_1 does not have an input connection.
Generating code for base_main_Rate8 .. assembling .....Done.
Build succeeded.
If I remove everything but the SS_NR I got error:
SS_NR_1 does not have an input connection.
SS_NR_1 does not have an input connection.
SS_NR_1 does not have an output connection.
Generating code for base_main_Rate8 .. assembling ...MemoryType usage: miniDSP_A_coeff: 666, miniDSP_A_data: 215, miniDSP_A_instr: 848, miniDSP_A_instr_alloc: 848, miniDSP_A_cycles: 2310, miniDSP_A_cycles_alloc: 2310,miniDSP_D_coeff: 5, miniDSP_D_data: 1, miniDSP_D_instr: 1, miniDSP_D_instr_alloc: 1, miniDSP_D_cycles: 1, miniDSP_D_cycles_alloc: 1
Assembly failed
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word144.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word143.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word142.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word147.
...
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word71.
Error: (0): Memory size exceeded : miniDSP_A_Coef Coef Memory exceeded by Coef word70.
213 errors detected
Assembler was terminated.
Summary: 0 Error(s)
Code generation terminated on base main Rate8
Build failed.
Any idea?
Kind regards,
Bela
Are you sure that the miniDSP_D_Adaptive property is set to disabled?
Please share the pfw for us to analyze.
Best Regards.