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.

compiler assembly code with ARM format on CCS

Other Parts Discussed in Thread: CCSTUDIO

Could I compiler assembly code with ARM format on CCS?

 

I had set emulator xds510usb with DM6446 platform on CCS, I find the device  information of ARM9 on “CCStudio: Parallel Debug Manager”, the information of “Processor” is TMS470RXX. Why the processor type is TMS470RXX?

 

  • Eric said:
    Could I compiler assembly code with ARM format on CCS?
     

     

    The code generation tools that are a part of CCS do have support for an ARM assembler.

     

     

    Eric said:
     
    I had set emulator xds510usb with DM6446 platform on CCS, I find the device  information of ARM9 on “CCStudio: Parallel Debug Manager”, the information of “Processor” is TMS470RXX. Why the processor type is TMS470RXX?

    This is a historical processor type as TI had an ARM7 based product line which was called TMS470RXX.

  • BrandonAzbell said:
     
    The code generation tools that are a part of CCS do have support for an ARM assembler.
     

     

     I find the informantion about "code generation tools" below the link. Do I must follow the rule on document to write assembly code on CCS with AMR9?

    http://tiexpressdsp.com/wiki/index.php?title=ARM_Code_Generation_PDF_files

     

     

    Is the "TMS470R1x User's Guide" assembly format as same as ARM assembly code? 

     

     

     

     

     

  • Eric said:

    I find the informantion about "code generation tools" below the link. Do I must follow the rule on document to write assembly code on CCS with AMR9?

    What rule are you referencing? 

     

    Eric said:

    Is the "TMS470R1x User's Guide" assembly format as same as ARM assembly code? 

    Yes.

    What is your reasoning for wanting to design with assembly?  Are you planning on using an operating system on the targeted platform?

  • BrandonAzbell said:
    Yes.
    What is your reasoning for wanting to design with assembly?  Are you planning on using an operating system on the targeted platform? 

    Thanks for BrandonAzbell’s help.

    I am trying to port a OS that is uC/OS-II  on DM6446.

    Because there is a file “os_cpu_a.asm” must write in assembly code, I could download the port for ARM, but it does not support for compile CCS (only for GNU,IAR, and RealView), so I must to modify the assembly code form (rule) , let the file could compile in CCS.

    There is no suitable port file for TI TMS470 processor with CCS compiler from uc/os-ii web site, I download the port file for ARM processor(AN-1014), so I must to modify the file .

    Is there have any reference document or code for initialize the hardware(DRAM,UART, and Timer)?

     

     

  • Eric said:

    Is there have any reference document or code for initialize the hardware(DRAM,UART, and Timer)?

    There is software as part of the Linux PSP (which includes u-boot as the bootloader).  Really, u-boot would be the software to review as it has some initialization code that is in assembly.  This is probably not ideal and what you were thinking of, but this is the quickest thing I can think of to get you started.

    Otherwise, the documentation included in the User's Guides of the DM6446 available on the Product Folder would be the best place to review initialization steps.