Post Go back to editing

SigmaStudio+ LibraryIntegration examples is not running properly

Category: Software
Product Number: 21593
Software Version: SigmaStudio+ 2.1.0, CCES 2.12.0

Hi Sir,

Based on "C:\Analog Devices\SigmaStudioPlus-Rel2.1.0\Target\Examples\LibraryIntegration\ADSP-21593, I created two SigmaStudio+ for ADSP21593 project.  I found that one of the files exported by SigmaStudio+ was not working when added it to the examples project. Attached are two exported header files, SigmaStudioPluse_Export_NOK_16CH.zip does not work properly.  I compared these two files in detail. The biggest difference between them is the size of "Program Data and Parameter Data".  The Program/Parameter Data of SigmaStudioPluse_Export_NOK_16CH exceeds 5000 bytes. 

I guess this data size is too large, causing memcpy to go out of range.  How do I copy it?  Do I need to copy memcpy many times?  How to set the destination address of memcpy?

    /* copy code from schematic source file */

    memcpy(oSSnMemMap.pMemBlocks[1]->pMem, PROGRAM_DATA_SH0_DIFFDXESCHEMATIC_1_Data, PROGRAM_DATA_SH0_DIFFDXESCHEMATIC_1_SIZE);


    /* copy parameter from schematic source file */
    memcpy(oSSnMemMap.pMemBlocks[5]->pMem, PARAMETER_DATA_SH0_DIFFDXESCHEMATIC_1_Data, PROGRAM_DATA_SH0_DIFFDXESCHEMATIC_1_SIZE);


 SigmaStudioPluse_Export_OK_2CH.zip  SigmaStudioPluse_Export_NOK_16CH.zip