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.

How to set the size of .args section when using c6runapp build system?

Other Parts Discussed in Thread: DM3730

Hi, all

I succeed to build our algorithm with c6runapp, but the problem is the built ARM-Linux application can't accept command line longer than 306 bytes. If longer, following error occurs

PROC_load () failed. Status = [0x80008014]
C6RUN_IPC_create() failed!

I checked the generated map file, and found the section size for .args is 0x200, which is 512Bytes, so why the application can't accept command line arguments longer than 306 bytes. And as the application is running with Linux OS, I think it's the ARM's job to parse the command line, is that correct? As I think parsing command line is something do with the C I/O functions, it should be allocated to ARM side to finish this work, is that correct?

If the .args section size really affect the length for the command line arguments in ARM side, so is there anywhere to set this section size, I checked the platfrom.tci file for DM3730 and found no part to set this size.  Any clue is appreciated.

By the way, the dvsdk version is dvsdk_dm3730-evm_4_01_00_09, and the c6run version is c6run_0_94_05_06.

Thanks a lot

  • Set the size for the .args section in platfrom.tci.

    prog.module("MEM").ARGSSIZE   = 5120;

    But still I can't understand why this command line parsing is passed to the DSP side, as my understanding, it should be the ARM's work to parse the command line arguments.

    BR

    Touse