ΣSigmaStudio Ask AI Русский Log in

ADAU1466 compiler error?

SigmaDSP & SigmaStudio ChristianH Aug 30, 2017 00:00 3 replies Original on forum ↗
Subscribe
ChristianH Question
Aug 30, 2017 00:00

Hi,

I'm just playing around using the Sigma Studio V3.15 Beta 2 and a ADAU1466 chip.

I'm using some delays in my design but the compiler issues an error message if I try to use more than 32K per data memory.

The compiler_output.log says

##### Summary #####
DM0 RAM used: 32016 (of 40960)
DM1 RAM used: 29741 (of 40960)
PM RAM used(Data): 00000 (of 24576)
PM RAM used(Inst): 00324 (of 24576) 246 instructions (32bit: 168 64bit: 78)
Total PM used: 00324 (of 24576)

If I try to add another delay block that exceeds 32K in one of the data memories I get an error message:

"Assembler Error. Object reference not set to an instance of an object."

What could be the problem here?

Regards

Christian

Ken.M Reply
Aug 31, 2017 00:00

Christian,

Thank you for your inquiry, We have been able reproduce this bug and are investigating further. The extra memory is accessible under certain circumstances, but not others. I will keep you updated.

Ken

Ken.M Reply
Oct 14, 2017 00:00

SigmaStudio version 3.15 has been released and includes a fix for this bug. You can download the software here.

Ken

edarring Reply
Jul 31, 2018 00:00

I am experiencing this exact bug using SigmaStudio 4.1. I have several variations on my ASAU1466 test project, but the fundamental problem is that as I approach 32k of memory total in data memory (DM0), I get the same error described above.

Below is one of my test designs. This one compiles fine, however, when increasing the Max samples on any delay block by 1 generates the error.

I can generate the error with 2 delay blocks of 16383, or 4 delay blocks of 8191, one of 16383 and two 8191, etc. Add one and it fails.

This is repeatable, and with the latest version of SigmaStudio that I have (4.1).

I hope this is easy to fix, since apparently it was fixed once before...

Thanks,

ff3841bc7970452b0f18328b18790d95.png
ff3841bc7970452b0f18328b18790d95.png
ff3841bc7970452b0f18328b18790d95.png-369x152.png
ff3841bc7970452b0f18328b18790d95.png-369x152.png
bba3dd5a0c13f0e8a50cccbe9ea238b8.png
bba3dd5a0c13f0e8a50cccbe9ea238b8.png
bba3dd5a0c13f0e8a50cccbe9ea238b8.png-568x396.png
bba3dd5a0c13f0e8a50cccbe9ea238b8.png-568x396.png
0070b4d310c3573dccf924c95cd487c6.png
0070b4d310c3573dccf924c95cd487c6.png
0070b4d310c3573dccf924c95cd487c6.png-502x220.png
0070b4d310c3573dccf924c95cd487c6.png-502x220.png