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.

Problems with messageq and c28335

Other Parts Discussed in Thread: SYSBIOS

Hello,
I am trying to convert a dspbios Project to sysbios.
After a lot of time spent for the conversion there is a Problem with the Integration of the ipc package.

I translated the IPC messageq example.
The MessageQ_get timeout is in microsecond and should be a 32bit unsigned integer, but my compiler generates a 16bit.
This leads to chrash and the pc point to nowhere.
The same example translated for the tiva processor works fine.

This is the console output:
**** Build of configuration Debug for project MSGQTest ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
making ../src/sysbios/sysbios.a28FP ...
gmake[1]: Entering directory `D:/working/MSGQTest/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `D:/working/MSGQTest/src/sysbios'
'Building file: ../message.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ipc_1_25_02_12/packages;C:/ti/bios_6_45_01_29/packages;D:/working/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p DpiTestBoard -r debug -c "C:/ti/c2000_15.12.3.LTS" --compileOptions "-g --optimize_with_debug" "../message.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring message.x28FP from package/cfg/message_p28FP.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making D:/working/MSGQTest/src/sysbios/sysbios.a28FP ...
gmake[1]: Entering directory `D:/working/MSGQTest/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `D:/working/MSGQTest/src/sysbios'
Build of libraries done.
cl28FP package/cfg/message_p28FP.c ...
'Finished building: ../message.cfg'
' '
'Building file: ../message.c'
'Invoking: C2000 Compiler'
"C:/ti/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/c2000_15.12.3.LTS/include" -g --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="message.pp" --cmd_file="configPkg/compiler.opt" "../message.c"
"../message.c", line 203: warning #64-D: shift count is too large
'Finished building: ../message.c'
' '
'Building target: MSGQTest.out'
'Invoking: C2000 Linker'
"C:/ti/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -g --display_error_number --diag_warning=225 --diag_wrap=off -z -m"MSGQTest.map" --stack_size=0x300 --warn_sections -i"C:/ti/c2000_15.12.3.LTS/lib" -i"C:/ti/c2000_15.12.3.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="MSGQTest_linkInfo.xml" --rom_model -o "MSGQTest.out" "./message.obj" -l"configPkg/linker.cmd" -l"libc.a"
<Linking>
'Finished building target: MSGQTest.out'
' '

**** Build Finished ****

How can I make this working? Using other version of compiler, ipc or sysbios?

thanks in advance

Wolfgang Roell