This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
John,
We will look into it and get back to you next week.
Thanks!
Hi John,
Here is how to rebuild the DSP library package for CPU rev. 3.3 with options to choose memory models
1) Copy and rename Blt55xx.bat in the dsplib_2.40.00 folder. Open with a text editor.
2) Comment out c:\ti\dosrun.bat (CCS3.3 relic). REM is the CMD line comment (remark)
3) Specify the path to the most current Code Gen Tools (CGT)
Download here: https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm#C5500
4) Add OPTIONS for C5505/15 (cpu:3.3, 5505, 5515 are equivalent) and desired memory model (use --ptrdif_size=32 for huge mem model only)
5) Change the name of the output library to represent memory model (DSPLIB=55xdsph)
6) Either double click the batch file or run it from Windows CMD line to see the output...
7) Include the newly created library file in your project and test it with the DSPLIB examples
Here is how the Blt55xh.bat (also attached
REM this file is for building DSPLIB in huge memory module on C5505/15 REM call c:\ti\dosrun.bat set CGT_BIN=C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.8/bin set PATH=%PATH%;%CGT_BIN% REM Equivalent OPTIONS for C5505/15, huge memory model: set OPTIONS= -g -vcpu:3.3 --memory_model=huge --ptrdiff_size=32 REM set OPTIONS= -g -v5515 --memory_model=huge --ptrdiff_size=32 REM set OPTIONS= -g -v5505 --memory_model=huge --ptrdiff_size=32 REM Equivalent OPTIONS for C5505/15, large memory model: REM set OPTIONS= -g -vcpu:3.3 --memory_model=large REM set OPTIONS= -g -v5515 --memory_model=large REM set OPTIONS= -g -v5505 --memory_model=large REM set OPTIONS= -g -v5505 -ml set DSPLIB=55xdsph set SRC=55x_src set FILES= *.asm set EXT=asm REM built library in SRC dir and then copy to root del %DSPLIB%.src del %DSPLIB%.lib cd %SRC% del *.obj cl55 %OPTIONS% %FILES% ar55 -r %DSPLIB%.src *.%EXT% ..\include\*.h ar55 -r %DSPLIB%.lib *.obj copy %DSPLIB%.src .. copy %DSPLIB%.lib .. del *.src del *.lib dir *.obj >> ..\junk.txt del *.obj cd ..
See the C55x Compiler's User's Guide for more info on the compiler options.C
Hope this helps,
Mark