AnsweredAssumed Answered

-MDUSE_SDRAM doesnot

Question asked by MikeSmithCanada on Jul 23, 2013
Latest reply on Jul 25, 2013 by CraigG

Hi Craig

 

Went back to first principles and build a clean CCES project without doing a VDSP project version

 

1) Same problems about TYPE INFO with the files but now have the project down to about 25M instead of 250M

2) Have a bigger problembut have a bigger problem -- code will not fit into internal memory -- but needs access to SDRAM on Blackfin

 

The -MDUSE_SDRAM does not seem to work on the pure CCES project as can be seen from the next error messages from linker

 

What can't be stored in memory does nopt change -- meaning nothing is going to external memory -- does this mean that the ldf is niot getting modifed

 

With the project smaller -- I can send you a zip file privately

 

Thanks

Mike

 

NO -MDUSE_SDRAM link request

 

 

**** Build of configuration Release for project Blackfin533_EUNIT_Library ****

 

make all

'Building target: Blackfin533_EUNIT_Library.dxe'

'Invoking: CrossCore Blackfin Linker'

ccblkfn.exe -proc ADSP-BF533 -si-revision 0.6 -TC:/Users/smithmr/Desktop/CCES_for_511_515_653/EUNIT/Blackfin_EUnit_CCES_Projects/Blackfin533_EUNIT_Library/system/startup_ldf/app.ldf

-no-mem -flags-link -ip -LC:/Users/smithmr/Desktop/CCES_for_511_515_653/EUNIT/Blackfin_EUnit_CCES_Projects/Blackfin533_EUNIT_Library/Release/system/startup_ldf -flags-link -MDRELEASE

-flags-link -e -flags-link -MD__ADI_LIBEH__ -o Blackfin533_EUNIT_Library.dxe  ./system/startup_ldf/app_cplbtab.doj ./system/startup_ldf/app_handler_table.doj ./system/startup_ldf/app_heaptab.doj

./system/startup_ldf/app_startup.doj  ./system/adi_initialize.doj  ./Test_Links/WB_and_C_Helpers/C_Tests_for_Test_C_CheckMacros.doj ./Test_Links/WB_and_C_Helpers/Link_To_CTestsFunctions.doj

.....

./EUNIT_Links/TestReporterStdout.doj ./EUNIT_Links/TestResults.doj ./EUNIT_Links/TestRunner.doj ./EUNIT_Links/TimeConstraint.doj ./EUNIT_Links/XmlTestReporter.doj 

../system/startup_ldf/app.ldf   -flags-link -od,.\.

 

[Error li1040] "..\system\startup_ldf\app.ldf":274 Out of memory in output section 'L1_code' in processor 'p0'

        Total of 0x13842 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

[Error li1040] "..\system\startup_ldf\app.ldf":356 Out of memory in output section 'L1_data_a_prio3' in processor 'p0'

        Total of 0xa14 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

[Error li1040] "..\system\startup_ldf\app.ldf":373 Out of memory in output section 'L1_data_a_bsz_prio3' in processor 'p0'

        Total of 0x1694 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

**** Build of configuration Release for project Blackfin533_EUNIT_Library ****

 

make all

'Building target: Blackfin533_EUNIT_Library.dxe'

'Invoking: CrossCore Blackfin Linker'

ccblkfn.exe -proc ADSP-BF533 -si-revision 0.6 -TC:/Users/smithmr/Desktop/CCES_for_511_515_653/EUNIT/Blackfin_EUnit_CCES_Projects/Blackfin533_EUNIT_Library/system/startup_ldf/app.ldf

-no-mem -flags-link -ip -LC:/Users/smithmr/Desktop/CCES_for_511_515_653/EUNIT/Blackfin_EUnit_CCES_Projects/Blackfin533_EUNIT_Library/Release/system/startup_ldf -flags-link

-MDRELEASE -flags-link -e -flags-link -MD__ADI_LIBEH__ -flags-link -MDUSE_SDRAM -o Blackfin533_EUNIT_Library.dxe  ./system/startup_ldf/app_cplbtab.doj

./system/startup_ldf/app_handler_table.doj ./system/startup_ldf/app_heaptab.doj ./system/startup_ldf/app_startup.doj  ./system/adi_initialize.doj 

 

./EUNIT_Links/TestReporterStdout.doj ./EUNIT_Links/TestResults.doj ./EUNIT_Links/TestRunner.doj ./EUNIT_Links/TimeConstraint.doj ./EUNIT_Links/XmlTestReporter.doj  

../system/startup_ldf/app.ldf   -flags-link -od,.\.

 

[Error li1040] "..\system\startup_ldf\app.ldf":274 Out of memory in output section 'L1_code' in processor 'p0'

        Total of 0x13842 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

[Error li1040] "..\system\startup_ldf\app.ldf":356 Out of memory in output section 'L1_data_a_prio3' in processor 'p0'

        Total of 0xa14 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

[Error li1040] "..\system\startup_ldf\app.ldf":373 Out of memory in output section 'L1_data_a_bsz_prio3' in processor 'p0'

        Total of 0x1694 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

[Error li1040] "..\system\startup_ldf\app.ldf":489 Out of memory in output section 'L1_data_b_prio3' in processor 'p0'

        Total of 0xa14 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

 

[Error li1040] "..\system\startup_ldf\app.ldf":506 Out of memory in output section 'L1_data_b_bsz_prio3' in processor 'p0'

        Total of 0x1694 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

Outcomes