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

calloc issue in ADSP-21569

Processors & DSP Rakshith Mar 23, 2022 00:00 0 replies Original on forum ↗
Subscribe
Rakshith Question
Mar 23, 2022 00:00

Hello,

When I use load data from flash and then use "calloc" it works okay. But when I use "calloc" and then load data from flash the next calloc after this doesn't work

eg; A) load --> calloc(1) --> calloc(2) --->calloc (3)---> load --->calloc(4) ------ 1,2,3 works okay but 4 does not work (stuck at 4)

B) load ----> calloc(1) ---> load ---> calloc(2) --->calloc (3) ----> calloc(4) ------ 1 works okay, but 2 does not work (stuck at 2)

C) calloc(1) --> calloc(2) --->calloc (3)---> load --->calloc(4) ------- 1,2,3 works okay but 4 does not work (stuck at 4)

I know it is a weird issue, but I facing a lot of problem from it, Can you help me regarding this?

calloc is used to allocate memory in L2.

I have also tried to increase heap memory space in the LDF file. But still there is no allocation and the program hangs while next calloc is called.

And please let me know if more information is required.

Thank You.

ADSP-21569

Audio Signal Processors

software

flash

ldf

spi-flash

SHARC Audio Processors/SoCs

Show More