Post Go back to editing

ERROR: Export Utility could not found SMAP or Code or Parameter sizes. Please check exported files

Thread Summary

The user encountered an error when using exportCodeParam.exe to export files for the ToneGen_Equalizer_Compressor_Block_2156x project. The solution was to ensure the file name matches the one used in the command. However, the user also noted that using exportCodeParam.exe from SS4S 4.7 and specifying 'DiffDXESchematic_1' instead of 'IC_1' resulted in empty .c and .h files, indicating a potential issue with the exported files or the utility version.
AI Generated Content
Category: Software
Software Version: CCES 2.11 SS+for Sharc 2.0.0

when using exportCodeParam.exe , error occurs. exportCodeParam.exe "SWC" "ToneGen_Equalizer_Compressor_Block_2156x" "IC_1" "215xx"

Parents
  • Hi,

    Please export the file with same name what you are using in the command  exportCodeParam.exe "SWC" "ToneGen_Equalizer_Compressor_Block_2156x" "IC_1" "215xx".

  • Hi Sakthivel;

    Where could I find exportCodeParam.exe for SigmaStudioPlus?

    And Where does IC_1 argument come from? I found all exported file does not contains "IC_1" in the file name:

    TDMLoopback_ADSP2156x_1.json
    TDMLoopback_ADSP2156x_1.xml
    TDMLoopback_ADSP2156x_1_NetList.xml
    TDMLoopback_ADSP2156x_1_Target.xml
    TDMLoopback_DiffDXESchematic_1.h
    TDMLoopback_DiffDXESchematic_1.param
    TDMLoopback_DiffDXESchematic_1_Defines.h
    TDMLoopback_DiffDXESchematic_1_NumBytes.dat
    TDMLoopback_DiffDXESchematic_1_PARAM.h
    TDMLoopback_DiffDXESchematic_1_TxBuffer.dat
    TDMLoopback_DiffDXESchematic_1_TxMetaBuffer.dat

    And using exportCodeParam.exe from SS4S 4.7 does not work.

    $ ./exportCodeParam.exe SWC TDMLoopback IC_1 215xx
    ERROR: Export Utility could not found SMAP or Code or Parameter sizes. Please check exported files
    Press ESC to stop
    
    
    $ ./exportCodeParam.exe SWC TDMLoopback ADSP2156x_1 215xx
    ERROR: Export Utility could not found SMAP or Code or Parameter sizes. Please check exported files
    Press ESC to stop

    Using DiffDXESchematic_1 instead of IC_1, exportcodeparam.exe generate an empty file.

    $ ./exportCodeParam.exe SWC TDMLoopback DiffDXESchematic_1 215xx
    Creating ./adi_ss_ssn_export_TDMLoopback_DiffDXESchematic_1.c file
    Program terminated successfully

    Yours

    Totoro

  • Hey   ,
    I have the same issue here. When i generate the .c and .h File, I get an empty .h and .c file, containing only the imports. 

    Exported Files:

    Then i call 

    .\ExportCodeParam.exe "SWC" "Exploration_SHARC_ADSP2156x_1_SharcXICore_3" "DiffDXESchematic_3" "215xx"
    Creating ./adi_ss_ssn_export_Exploration_SHARC_ADSP2156x_1_SharcXICore_3_DiffDXESchematic_3.c file
    Program terminated successfully

    But the files are empy except for the includes. What do i need to modify to generate the files correctly?

    .c-File

    /* 09.12.2025 13:05:18 */
    
    #include "adi_ss_common.h"
    #include "adi_ss_ssn_export_Exploration_SHARC_ADSP2156x_1_SharcXICore_3_DiffDXESchematic_3.h"

    .h-File

    /* 09.12.2025 13:05:18 */
    
    #include <adi_types.h>

    Best regards,

    Eric

  • Please share the schematic to simulate this error.
    Which version of SigmaStudio+ you are using?

  • Hi  ,

    thanks for the fast reply. I am using:

    - SigmaStudio+ v2.4

    - CCES v2.12.1

    Here is my DXE and the schematic file. Exploration_SHARC.zip

    Best regards,

    Eric 

  • Hi,
    I didn't see any issue with following SS+ schematic source file export command. Please refer this link for more details.
    Microcontroller Mode Support [Analog Devices Wiki]
    5415.Exploration_SHARC.zip

  • Hi,
    Please use the export utility from SS+ installation folder, this command may work for you,
    "C:\Analog Devices\SigmaStudioPlus-Rel2.4.0\Target\Utilities\ExportCodeParam\ExportCodeParam.exe" "SWC" "TDMLoopback" "DiffDXESchematic_1" "215xx"

  • Hi  ,

    I see that in you header file everything is okay. But I can't generate it on my own. When I call it like you descibed (call below), it works but the files are still empty. 

    'C:\Analog Devices\SigmaStudioPlus-Rel2.4.0\Target\Utilities\ExportCodeParam\ExportCodeParam.exe' "SWC" "Exploration_SHARC_ADSP2156x_1_SharcXICore_3" "DiffDXESchematic_3" "215xx"
    Creating ./adi_ss_ssn_export_Exploration_SHARC_ADSP2156x_1_SharcXICore_3_DiffDXESchematic_3.c file
    Program terminated successfully

    What could be the reason for the empty files? 

    Best regards,

    Eric

  • is there a exported file "Exploration_SHARC_ADSP2156x_1_SharcXICore_3_DiffDXESchematic_3.h" in schematic export files?
    If Yes it should have proper data like this "ADI_REG_TYPE SMAP_SH0_DIFFDXESCHEMATIC_3_Data[SMAP_SH0_SIZE_DIFFDXESCHEMATIC_3] = {".

    Since your export files have Core name, I will try it once from my end.
    May I know you need this big file name?
    Some times windows path issue may lead to this issue.

  • Hi  , 

    yes there is the "Exploration_SHARC_ADSP2156x_1_SharcXICore_3_DiffDXESchematic_3.h" with a lot of content in it. Regarding the Filename, i just exported the file without any changes in SigmaStudio+. The Projectname is simply "Exploration_SHARC" and SigmaStudio+ appends the filename. I remove the settings to append the name in SigmaStudio+ and check if this fixes the issue. 

    Best regards,

    Eric 

  • Hi  ,

    it was the filename or the appendix with core/processor name. When i remove to append the file with core and processor name it works. Thanks a lot for your support. 

    Best regards,

    Eric 

Reply Children
No Data