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.

PRU: asm file in CCS under clpru

Other Parts Discussed in Thread: AM3358

Hi,

I'm using CCS to generate bin files for PRU of AM3358. Currently i have a task to integrate some assembly code to my bench where I followed procedure as in http://www.ti.com/lit/ug/spruhv7/spruhv7.pdf page 107/144.

I placed a rcv.asm file in my project directory and issued a compilation, but it throws errors as below

-------------------------------------------------------------------------------------------------------------------------------------------

Invoking: PRU Compiler
"/abb/ti/ccsv6/tools/compiler/pru_2.0.0B2/bin/clpru" -v3 -O1 --include_path="/abb/ti/ccsv6/tools/compiler/pru_2.0.0B2/include" --include_path="/abb/firmwares/am33x-pru/SyncCAN"/inc -g --define=am3358 --define=pru0 --diag_warning=225 --display_error_number --diag_wrap=off --endian=little --mem_model:data=far --plain_char=unsigned -k --c_src_interlist --asm_file="/abb/firmwares/am33x-pru/SyncCAN/src/rcv.asm" --preproc_with_compile --preproc_dependency="src/rcv.pp" --obj_directory="src"  "../src/rcv.asm"
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
[rcv.asm]
"/abb/firmwares/am33x-pru/SyncCAN/src/rcv.asm", ERROR!   at line 1: [E0003] Invalid instruction

-------------------------------------------------------------------------------------------------------------------------------------------

Can you suggest me to overcome this issue. I trust I should bring the right compiler and linker to overcome this.

Thanks, Suresh.