Hi,
I'm using the TMS320F28335 and the Simulink.
Right now I'm exploring the IQMath library.
My problem is when I try doing a division using
the IQNdiv block.
When I press the CTRL+B in the Simulink, the
Matlab generate the code. I open the CCSv4 and compile the code, the
CCSv4 give me the following error:
'Invoking: Linker'
"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --diag_warning=225 --float_support=fpu32 -z -m"hello_world_v5Khz.map" --stack_size=0x300 --warn_sections -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/lib" -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/include" --reread_libs --rom_model -o "hello_world_v5Khz.out" "./hello_world_main.obj" "./hello_world_data.obj" "./hello_world.obj" "./MW_c28xx_csl.obj" "./MW_c28xx_board.obj" "./MW_c28xx_adc.obj" "./DSP28xx_SciUtil.obj" "./DSP2833x_usDelay.obj" "./DSP2833x_SysCtrl.obj" "./DSP2833x_PieVect.obj" "./DSP2833x_PieCtrl.obj" "./DSP2833x_MemCopy.obj" "./DSP2833x_GlobalVariableDefs.obj" "./DSP2833x_DefaultIsr.obj" "./DSP2833x_DMA.obj" "./DSP2833x_CpuTimers.obj" "./DSP2833x_CodeStartBranch.obj" "./DSP2833x_Adc.obj" "./DSP2833x_ADC_cal.obj" -l"libc.a" "../hello_world.cmd"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
__IQ17div ./hello_world.obj
error: unresolved symbols remain
error: errors encountered during linking; "hello_world_v5Khz.out"
not built
>>
Compilation failure
gmake:
*** [hello_world_v5Khz.out] Error 1
gmake:
Target 'all' not remade because of errors.
Build
complete for project hello_world_v5Khz
And
I don't know how I resolve this problem. More strangers are when I replace the
IQNdiv block for the IQNmpy, because I don't receive any error and I can
compile with successful the project file.
So I
thought that there is any mistakes with the path of the different include
files. Or are? Right?
Any
suggestions for I resolve this error? I'm waiting for suggestions.