Post Go back to editing

Make error occurs when data for core2 is large.

Thread Summary

The user encountered a build failure with error code -1073740791 when generating an LDR file for the ADSP-SC594 using CCES 2.10, specifically when the total data size exceeded 35MB. The issue was reproduced and found to be resolved in CCES 3.x versions, which support larger LDR file sizes up to 82MB. The problem appears to be specific to the CCES 2.x version and not the total binary size.
AI Generated Content
Category: Software
Product Number: ADSP-SC594
Software Version: cces 2.10

DSP: ADSP-SC594

IDE: CCES 2.10

My application has a little large amount of data.

For some amount of data for core2, cces builds successfully and produces ldr file, but

in case of larger amount of data, it stops in the middle of build process with error code as bellow:

elfloader -proc ADSP-SC594W -si-revision 0.0 -b spimaster -f binary -width 8 -bcode 1 -init "C:\Projects\cces\2.10.1\WS_ASD_DDSP\ASD_DDSP\ASD_DDSP_Core0\sc594w_init_Core0_for_over16MB_flash" -core0="C:/Projects/cces/2.10.1/WS_ASD_DDSP/ASD_DDSP/ASD_DDSP_Core0/Debug/ASD_DDSP_Core0" -NoFinalTag="ASD_DDSP_Core0" -core1="C:/Projects/cces/2.10.1/WS_ASD_DDSP/ASD_DDSP/ASD_DDSP_Core1/Debug/ASD_DDSP_Core1.dxe" -NoFinalTag="ASD_DDSP_Core1.dxe" -core2="C:/Projects/cces/2.10.1/WS_ASD_DDSP/ASD_DDSP/ASD_DDSP_Core2/Debug/ASD_DDSP_Core2.dxe" -o "ASD_DDSP_Core0.ldr"
make: *** [ASD_DDSP_Core0.ldr] Error -1073740791

My application includes some large data file using an assembly file(*.s) as follows:

.section seg_ext_data;
.align 4;
rawData1.:
.inc/binary "C:\Projects\cces\2.10.1\WS_ASD_DDSP\ASD_DDSP\ASD_DDSP_Core2\src\data\model_param_ddsp_9MB.dat";
.rawData1..end:
.var rawLength1. = .rawData1..end - rawData1.;
.global rawData1., rawLength1.;


.section seg_ext_data;
.align 4;
rawData2.:
.inc/binary "C:\Projects\cces\2.10.1\WS_ASD_DDSP\ASD_DDSP\ASD_DDSP_Core2\src\data\model_param_ddsp_9MB.dat";
.rawData2..end:
.var rawLength2. = .rawData2..end - rawData2.;
.global rawData2., rawLength2.;


.section seg_ext_data;
.align 4;
rawData3.:
.inc/binary "C:\Projects\cces\2.10.1\WS_ASD_DDSP\ASD_DDSP\ASD_DDSP_Core2\src\data\model_param_ddsp_17MB.dat";
.rawData3..end:
.var rawLength3. = .rawData3..end - rawData3.;
.global rawData3., rawLength3.;

According to experiments for tesing dependency on data size, the results are as follows:

exp1) 17+17 = 34MB : build ok (in case of every test for data size less than this, it is ok)

exp2) 9+9+17 = 35MB : build fails as error code above

I suspect that memory consumption during make.exe process may cause this error.

Please let me know the real cause and how to deal with the problem.

Thank you in advance.

Thread Notes

Parents
  • Hi,

    Considering a possibility that there might have been an update on elfloader.exe or make.exe related with the problem,

    I have tried replacing those with lateset cces version's (cces 2.12.1).

    The result is the same, fail, but error information has been added like this:

    make: *** [makefile:60: ASD_DDSP_Core0.ldr] Error -1073740791

  • Seeing line number 60 of makefile, it is just the same content on console screen. so it is of no use.

  • Hi,

    This error (Error -1073740791) could be related to issues with the Windows installation or the disk.

    To help isolate the problem, could you please share the project that replicates this behavior? This will allow us to determine whether the issue is specific to your machine or environment.

    Regards,
    Santhakumari.V

  • Thank you for reply.

    I have made new simple project with only data in order to isolate the problem as much as possible and upload here.

    In the middle of that preparation, I've found my symptom happens related with core1 data as well as core 2 data.

    Please see the following cases:

    case 1) core1: 0 MB, core2: 9+9+17 MB -> ldr built ok (35MB)

    case 2) core1: 9+9 MB, core2: 9+9+17 MB -> ldr built fails (build process stops at 19 MB.)

    case 3) core1: 17+17 MB, core2: 17+17 MB -> ldr built ok (67 MB)

    From case 3, this problem may have nothing to do with total binary size.

    Find attached cces project which has data configuration of case 2.

    And I've tried this project at another laptop (old one, windows 10) and got the same error result.

    WS_ldr_make_error.zip

    Regards,

    lunalover (Jong-hyeok Jeong)

  • Hi,

    Thank you for sharing the project.

    We were able to reproduce the issue using CCES 2.x series, while with CCES 3.x versions, we were able to successfully generate the LDR.

    We are continuing to investigate this and will provide you with an update early next week.


    Regards,
    Santhakumari.V

  • Hi,

    I'm glad to hear the problem is reproduced at your side. Thank you for kindly informing of the progress.

    I am looking forward to the update. Thank you in advance.

    Regards,

    Jong-Hyeok Jeong 

  • Hi,

    Upon discussion with our internal team, the maximum loader file size that can be generated using CCES 2.x versions is, up to 37MB / 35MiB and in the latest Versions of CCES(3.x), it can support up to 82MB / 78MiB.

    Regards,
    Santhakumari.V

  • Hi,

    According to case 3 which I wrote on Jun 18, an ldr file of 67 MB was built ok. so your answer is not understood 100%.

    But I see.

    Thank you for help.

    Regards,

    Jong-Hyeok Jeong

  • Hi,

    We tested the elfloader size limits on a single-core ADSP-21593 system and note the upper threshold of approximately 37 MB (35 MiB) for CCES 2.11.1 for the previous reply. As you have observed, the maximum supported size can vary depending on the application and target configuration, particularly when using different examples or multicore devices.

    We recommend upgrading to CCES 3.0.3 or later (the current release is CCES 3.1.0), which includes elfloader memory usage improvements that significantly increase the size of loader files that can be processed successfully.

    Using the same test methodology on an ADSP-21593 target, we measured an increased threshold of approximately 82 MB (78 MiB) with the newer elfloader.

    Regards,
    Stuart

Reply
  • Hi,

    We tested the elfloader size limits on a single-core ADSP-21593 system and note the upper threshold of approximately 37 MB (35 MiB) for CCES 2.11.1 for the previous reply. As you have observed, the maximum supported size can vary depending on the application and target configuration, particularly when using different examples or multicore devices.

    We recommend upgrading to CCES 3.0.3 or later (the current release is CCES 3.1.0), which includes elfloader memory usage improvements that significantly increase the size of loader files that can be processed successfully.

    Using the same test methodology on an ADSP-21593 target, we measured an increased threshold of approximately 82 MB (78 MiB) with the newer elfloader.

    Regards,
    Stuart

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.