i want to know how write a simple code on C 6474 processor .. basically i am doing project on DPC to implement on the C6474 processor so .. i want to do an assebly level coding on it... so i ineed it....?
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.
i want to know how write a simple code on C 6474 processor .. basically i am doing project on DPC to implement on the C6474 processor so .. i want to do an assebly level coding on it... so i ineed it....?
Assembly coding is not simple coding on C6474
What TI tools and software have you already learned to use?
What documentation have you read?
In the Training section of TI.com, there is a training video set for the C6474. It may be helpful for you to review all of the modules. You can find the complete video set at http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=OLT110002
Thanx Randy for ur reply...
actually i am using CCS v 4.0 . ya as u said its realy difficult to wotk with assembly i dont have other option i have work on assembly only . i'd gone through Dsp c64+ mega modules and instruction set and mamory contollers etc., so surely i want a solution to it?
Why are you restricted to assembly only?
Even the run-time support library is built from some C modules. My words here may be harsh, but sincere.
C6000 assembly programming is even difficult for experts. You need to hire a consultant from one of our 3rd party companies who can instruct you and guide you through the learning of assembly programming.
If you insist on continuing down this path and asking questions here, I will try to answer your questions (time permitting) but please quit using text message short-hand - it can lead to ambiguous dialog for detailed technical discussions and is more difficult to comprehend quickly for an older person such as myself. My answers will be for education rather than doing your work for you.
Here is a simple assembly program:
assembly said:BNOP $,5
The machine code for this instruction is 0x0000A120. Write 0x0000A120 at 0x00800000 for all three cores, set the PC to 0x00800000 and run the program.
The right way to get started, though, is to implement one of the non-DSP/BIOS examples for "Hello, world" and get that to run. This will give you all the library and linker files that you need. Then strip out the main.c file and replace it with either main.asm that was generated by the compiler (see compiler switches in the compiler User's Guide) or write your own main.asm like this:
main.asm said:.global _main
_main:
BNOP B3, 5
In the collective TI opinion, before you have written the code in C, you do not know if you need to re-write some of it in assembly. I look forward to your rationale, though.