Post Go back to editing

192k/96k SS_App and SS_uC_App mods for ADSP-SC58x EZ board in CCES 2.11.1 and SigmaStudioForSHARC

Category: Software
Product Number: CCES
Software Version: 2.11.1

Dear Shaktivel,

Some time ago you helped me with the following:

  • Modify the Demo SS_App and SS_uC_App to support 96k/192k sampling rate.
  • Setting up the SRU and source code for I2S input from an external USB interface, including one additional ASRC.
  • Setting up the SRU and source code two stereo I2S outputs to two external stereo DACS.

Thank you for this, all is working fine in CCES 2.9.4 and 2.10.0.

However, I feel I need to go with the time and update to CCES 2.11.1, and my upgrade from SigmaStudioForSHARC-SH-Rel4.5.0 to Rel4.7.0 is under way.

I intend to rework my project code from scratch to hopefully eliminate old mistakes and unsuccessful ideas and code excursions.

  • Can I import and re-use the system.svc file from the older working SS_App and SS_uC_App to save time and effort? Hopefully there are no mistakes there.
  • Will your suggested (and successfully tested) modifications still be applicable to the new environment?
  • Or will there be any additional modifications?
  • Any other changes that I need to be aware of?
Parents Reply Children
  • Ok, my question was essentially if the discussion you refer to is still valid for projects built in CCES 2.11.1 and SigmaStudioForSHARC 4.7.0. Please confirm.

    Also, I suspect that projects built in CCES 2.10.0 and SigmaStudioForSHARC 4.5.0 cannot be successfully imported to the CCES 2.11.1 workspace without changes.  Is this correct?

    In this case, both SS_App and SS_uC_App must be created from "Browse Examples" and the modifications described in the above discussion must be performed again. Please confirm.

    Best wishes,

    BN

  • 1. Yes, the project files are similar to previous version of SigmaStudio for SAHRC and CCES.

    2. Yes, you can open the SigmaStudioForSHARC 4.5.0 project built with CCES 2.10.0 in CCES 2.11.1 using new workspace.

    3. You can only consider the file modifications required for 192k or 96k sample rate support.

    Thanks.

  • Thank you for your answer.

    I have a problem with item 1.

    I have copied my project from CCES 2.10.0 workspace to the CCES 2.11.1 workspace, opened the project in CCES 2.11.1 by "Open project from file system". I have upgraded the SigmaStudioForSHARC-4.5.0 Add-ins to 4.7.0 for all cores. I clean the project and rebuild. Then I get the following errors for Core1 and Core2:

    [Error li1021] The following symbols referenced in processor 'SC589_CORE_1' could not be resolved:
    'adi_ss_create_4_5 [adi_ss_create_4_5.]' referenced from 'Source\Framework\adi_ss_fw_internal.doj'

    Linker finished with 1 error and 2 warnings
    cc3089: fatal error: Link failed (code:1)
    make: *** [makefile:96: mySX_AppUSB_8i4o_ES9038_Core1.dxe] Error 1

    [Error li1021] The following symbols referenced in processor 'SC589_CORE_2' could not be resolved:
    'adi_ss_create_4_5 [adi_ss_create_4_5.]' referenced from 'Source\Framework\adi_ss_fw_internal.doj'

    Linker finished with 1 error and 2 warnings
    cc3089: fatal error: Link failed (code:1)
    make: *** [makefile:96: mySX_AppUSB_8i4o_ES9038_Core2.dxe] Error 1

    Obviously, there is still some dependency to 4.5.0. What should I change?

    I am also worrying about item 2. As you may remember, the interrupt was not working in CCES 2.11.1 and I had to modify some things in adi_ss_sys.c to make it work.

    See https://ez.analog.com/dsp/software-and-development-tools/sigmastudio-for-sharc/f/q-a/565732/building-the-example-uc-project-for-adsp-sc589-ez-in-cces-interrupts-working-in-debug-mode-not-in-release/481616

    adi_ss_sys.c was originally coming from SigmaStudioForSHARC 4.5.0, and it was not compatible with the CCES 2.11.1 environment. My fear was that there might be more things like this, that would cause problems.

    Would you recommend to make a fresh uC project in CCES 2.11.1 / SigmaStudioForSHARC 4.7.0 and do the modification required for 96k/192k, I2S out and USB in, rather than importing the existing CCES 2.10.0 project?

  • I did not understand your requirement clearly. If you do addins update in 4.5.0, the project will add new library from 4.7.0 but "SigmaStudioForSHARC-SH-Rel4.5.0\Target\Include" folder should be updated manually to resolve the above error.

    So I recommend, If you want to migrate from SigmaStudio for SAHRC 4.5.0 to 4.7.0. please manually add your project file modifications into 4.7.0 CCES project instead of updating 4.5.0 CCES project.