Post Go back to editing

Simulating ADSP-21479

I am trying to simulate an app on the ADSP-21479.

I don't need any real-time I/O so simulation is fine.

I have tried both CCES_runner and chipfactory.

Here are the outputs :

CCES_runner.exe --target "ChipFactory Simulator" --processor ADSP-21479 --platform "ADSP-21479 Functional-Sim" -v --core "0,app.dxe"
Logging level: Full log output
No load prerequisites found for core 0.

chipfactory -proc ADSP-21479 app.dxe
ERROR: Unknown target architecture 'ADSP-21479'.

Can anyone advise how to simulate the app ?

Thanks very much,


  • Hello,

    Please note that the Command Line simulator(Chipfactory.exe) will support the below processors only.

    Functional Simulator:


    For more information please refer the below CCES help page about usage of command line simulator.
    CrossCore® Embedded Studio 2.8.3 > Simulator User's Guide > Usage

    Santha kumari.K

  • Thank you very much, Santha,
    That explains chipfactory.

    I guess I need to use CCES_runner.exe ?
    Do you know how I can avoid the error message I am seeing ? I couldn't find anything with a search here or using Google.

    Thanks again,


  • Hello John,

    Could you please confirm is your example project contains any printf statement in it.If yes, the cces runner will exit with the print which you have provided in the example.

    If you are still facing any issues, could you please share us your project along with brief description about it. This will help us to assist you better.

    Santha kumari.K

  • Thanks Santha

    Here is a printf example that doesn't print

    Commands to build and run :

    cc21k hw.c -proc ADSP-21479
    CCES_runner.exe --target "ADSP-214xx Family Simulator" --platform "ADSP-214xx Simulator" --processor ADSP-21479 --core "0,hw.dxe"

    #include <stdio.h>

    void main (void)
        printf ("hw!\n");



  • Hello John,

    We are able to print using your code snippet and we used the command line as you provided.Please refer the attached screenshot of output and "dxe" file that we used.

    Can you please let us know which version of CCES you are using?

    Santha kumari.K

  • Thanks Santha

    cces_runner version

    Your binary doesn't work on my PC.

    I wonder if the difference is that contents of the System folder.
    Here are the files in mine :

    Please would you be able to zip yours and send it ?

    Best regards,

  • Hello John

    Could you please let us know which version of CCES IDE(eg. CCES 2.8.3) that you are using, so that we can assist further.

    Santha kumari.K

  • Hi Santha,

    Yes, I am using CCES 2.8.3.

    as per my earlier message, I can't see the output of your compiled example so I wonder if the difference with the contents of the System folder you are using ?

    Best regards,


  • Hello,

    As per your request, we have attached the 21479 system xml files. Can you try replace it in the below directory and see if the issue still occurs.Before replacing take a backup copy of the old files.
    C:\Analog Devices\CrossCore Embedded Studio 2.8.3\System\ArchDef

    If you are still facing the same issues, Can you please check if you have set the CCES_HOME environment variable and make sure that it's set to the right installation of CCES?  e.g., as you are running CCES 2.8.3, the CCES_HOME environment variable should be set to the CCES 2.7.0 install directory.Please refer attached screenshot for reference.

    Can you please try uninstall and reinstall CCES 2.8.3 and let us know how you gets on.Also try running this example in any other PC and see if it works.

    If this doesn't help, please share us the screenshot of the command prompt after running CCES runner commands. Also please let us know if you are using CCES in virtual machine or native OS.

    Santha kumari.K

  • Thanks Santha,

    I did a full reinstall but there was no difference.

    It is a fully native WIndows 10.

    CCES_HOME="C:\Analog Devices\CrossCore Embedded Studio 2.8.3"

    I had a thought and tried running from C:\Analog Devices\CrossCore Embedded Studio 2.8.3. It works perfectly but not from any other folder.

    If we can't figure this out then no problem, I have a workaround now.

    Best regards,


  • Hi,

    CCES Runner can be run from any directory, but if it is running outside from CCES home directory,

    the command option --cceshome must be used to specify the location of CCES.

    You can use the below command line.
    CCES_runner.exe --cceshome "C:\Analog Devices\CrossCore Embedded Studio 2.8.3" --target "ADSP-214xx Family Simulator" --platform "ADSP-214xx Simulator" --processor ADSP-21479 --core "0,hw.dxe"

    Santha kumari.K

  • Unfortunately, that didn't work for me so I'll stick with my workaround.



Reply Children
No Data