Hi,
I'm trying to make DSPLIB to work with the C5535 chip on the TMS320C5535.
Using the distributed version of DSPLIB :
fatal error #16020: file
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib/55xdspx.lib<cbrev.obj>"
>> Compilation failure
specifies "C55x CPU Rev 2.x", which is not compatible with "C55x CPU Rev
3.x" specified in a previous file or on the command line
And that's only when I try to compile in "large" memory mode, since DSPLIB is not even distributed with a "huge" memory mode.
If I try to rebuild DSPLIB using this script :
set CGT_BIN=C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin
set PATH=%PATH%;%CGT_BIN%
set OPTIONS= -g -vcpu:3.3 --memory_model=huge --ptrdiff_size=32
set DSPLIB=55xdspx
set SRC=55x_src
set FILES= *.asm
set EXT=asm
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 ..
Then I get the following error :
C:\ti\dsplib_2.40.00\55x_src>cl55 -g --memory_model=large *.asm
[abias.asm]
>> ERROR: cannot run masm55 - invalid argument mode
I get the same error with other variations of the "set OPTIONS" line (such as "set OPTIONS= -g -v5515 --memory_model=huge --ptrdiff_size=32" or "set OPTIONS= -g -vcpu:3.3 --memory_model=large")
Is there a simple way to use DSPLIB or DSPLIB-like functionality (fft etc.) with CCS 5.1 and the C5535 ?
Many thanks