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?
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.
SigmaStudio version 3.15 has been released and includes a fix for this bug. You can download the software here.
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...