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.

AWR2944EVM: How to manipulate a large array in MSS?

Part Number: AWR2944EVM

Tool/software:

Hello Designer,

I want to save config used in flash so as to initiate sensor every time boot up.

But I find there at most 512 chirps with size of 12KB, I make a attempt to initiate a array uint8[] in the code with size of 12KB:

global int8_t array[13*1024];

void func(){

memset((void*)&array, 0, sizeof(array))

CLI_write("some information");

}

But there is no information transferred to PC connected to the board.

So do you have some advice? Maybe give a bigger stack depth will make sense?

And there is another question, when I create a task, is there any request on stack depth?

I created a task with stack depth of 64 which uses CLI_write() to prove program running, but it can't work.

The information before the line creating task is transferred to PC, but the information after the line.

Need your help.

Regards,

Zishing Wang

  • Hi Wang,

    Can you provide more details about your application like what you are trying to achieve here and what is your use case? also, instead of memset, you can check once if normal cpu writes are working or not.

    Regards,

    Shruti

  • Hi Shruti,

    I am trying to save profile transferred to the board so as to ensure board be able to run without sending config file.

    So I decide to save profile into flash, All config need memory of about 12KB.

    My plan is to use a large uint8_t array to save it.

    But when I write code under that, it can't work.

    Regards,

    Zisheng Wang

  • Hi Wang,

    Apologies for the delay. You can check out the studio_cli tool in the rdar toolbox for your usecase.

    you can check the following dcument - radar_toolbox_2_00_00_06/tools/studio_cli/docs/mmWaveStudio_CLI_GettingStartedGuide.html#quickstart

    Regards,

    Shruti