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.

Code Composer Studio 5.3.0.00090 - Cortex M0 support



Hi All,

Code composer studio 5.3.0.00090 release note indicates that support for Cortex-M0 architecture. I want to explore this support. Please let me know how to start with it.

Can you share examples of this? Please let me know if any TI device available in CCS supports ARM M0 architecture.

Thanks,

Tushar

 

  • Tushar,

    In CCSv5.3 there is basic support for CortexM0 in CCSv5.3.  As far as M0 devices there are devices from the Analog group in TI that utilize M0 cores however from a general purpose Microcontroller standpoint we offer M3, M4 and R4 based devices and not M0.  There are also C2000 and MSP430 microcontrollers but if you are looking for an ARM based core then M3/M4/R4 is what we offer.  

    The M0 support we have is the ability for the compiler to generate code for it.  If you create a new project in CCS choose Generic M3 as the device and then afterwards go into the project properties and change the processor revision to M0.

    There is also basic debug support for M0 cores via JTAG (not SWD at this time).

    Regards,

    John

  • Hi John,

    Thanks for your quick reply. As you mentioned there are analog group in TI that utilize M0 core. There might be few testing codes developed so can I get few samples programs from them (if any)?

    However I will explore M0 by using steps suggested by you.

    Thanks,

    Tushar

  • Tushar,

    Sorry I don`t have any code for it.

    John

  • Hi John,

    To explore Cortex M0 architecture, I need to write/modify start-up file, provide memory map, linker file, vector initialization etc.  There is no Cortex M0 device (target chip) supported nor any sample code available in CCS.

    Can you please let me know what all changes I need to do to make my firmware jump to main function? Or any documentation on the same (steps to follow) will help me a lot.

    Thanks,

    Tushar 

     

  • Tushar,

    You could take a look at StellarisWare which has all of this for CortexM3/4.  Note that programs developed with CCS can only be used on TI processors.

    John

  • Hi John,

    I downloaded StellarisWare (Cortex M3/M4 support) and its boot loader code gives enough information regarding CCS based startup file "bl_startup_ccs.s" and linker file "bl_link_ccs.cmd". Application of this example is bootloader. I started modifying "bl_startup_ccs.s" for CCS based Cortex M0 (for my TI based Cortex M0 device) however there any many instructions in "bl_startup_ccs.s" (support M3/M4)  not supported by M0.

    I am looking for simple CCS based M3 startup file (*.s) which I can modify for TI based M0 device.                                                                                                                               If possible CCS based M0 startup file.                                                                                                                                                                                                                               Please Note: I don't  have GCC tool chain.

    Thanks,                                                                                                                                                                                                                                                                                                     Tushar