Could you please provide a link to where I can find a description of the assembler instruction set for the TMS570?
Thanks,
Richard
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.
Could you please provide a link to where I can find a description of the assembler instruction set for the TMS570?
Thanks,
Richard
Hi Richard,
This is a link to the document I use for the TMS570, it is a TMS470 document. I have not been able to find a TMS570 equivalent, but I would suspect they are the same.
http://focus.ti.com/lit/ug/spnu134b/spnu134b.pdf
Cheers, Tony.
Hello Richard,
although the Cortex-R4 is compatible to the ARM7 (TMS470R1x family), the document SPNU134 only describes instructions available on the ARM7. If you would like to see all instructions supported by the Cortex-R4 you can also find information about the ARM v7R architecture (Cortex-R4F) on ARM's website (http://infocenter.arm.com/help/index.jsp). Search for the document DDI 0406B. This describes the v7A and V7R architecture and the corresponding instructions.
Regards,
Frank
Thanks Frank,
For anybody else looking for this documentation, the page to download this document from is http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0406b/index.html
You need to create a user ID to download from the ARM site.
Regards,
Richard
Hi, I am getting an error
"sys_core.asm", ERROR! at line 184: [E0002] Instruction only available in V7
DMB
My CFLAGs are
= -mv7R4 -g --include_path="E:/Programme/Texas Instruments/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --elf --abi=eabi --code_state=32 --float_support=VFPv3D16
where I specifically mention that the core is 7R4. What else can I do, so that the compiler does not return this error?
My post is lost. I post it again.
I don't know why this occurs. I run the following command line in DOS window, everything looks right:
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --elf --abi=eabi --code_state=32 --float_support=VFPv3D16 --obj_directory="src" "../src/sys_core.asm"
My directory is: C:\ti\TMS570 Safety MCU Demos\Demo_Software_Ver1_1\Debug
What is your cgtools version? Mine is 4.6.3.
I solved this problem.
Previously my self written makefile was calling asm470.exe to compile the assembly file ( .asm ). And that was the problem. Here I should have used cl470.exe as my compiler !!
However, I do not understand why? Because for my last conroller ( TMS470 ) I was using cl470.exe for compiler and asm470.exe as the assember.
So, @Weng, try the same again using asm470.exe and you should get the error.
Hi,
how did you make the Product Configuration snapshot? How can I find which CGT Version I am using? Can I also find the CGT Version in Code composer 3.x ( because at that time there was no eclipse version of the code composer ).
I got an answer from a TI Expert and his answer was
"
Regarding
asm470 I checked documentation of older and newer Code Generation Tools
versions. In CGT version 2.x and earlier versions asm470 should be directly
called to assemble ASM files and in CGT version 4.1.x and later the assembler
should be invoked via cl470.
"
Regards
In ccs4, go to Help,
In CCS3.3,
Help->About->Component manager
Regards,
Haixiao