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.

Debugging LM3S615 code with CCS4

Other Parts Discussed in Thread: LM3S615, LM3S8962

I am debugging code for LM3S615 based target. I have a LM3S8962 EVK with i use as a pass thru JTAG adaptor. I am familiar with Red Suite but am new to CCS4. Can anybody guide me on how to-

1. Interface LM3S8962 JTAG adaptor to CCS4 and debug LM3S615 code on the target. Essentially the menu on the CSS4 GUI that helps in connecting to the target board and downloading the code.

2. Generate BIN file using CCS4 that I can download to the LM3S615 target board. I have used LMFlash Programmer in the past.

Thanks in advance for the help.

Regards

Hemant

  • Hi Hemant,

    First of all the best place to start is our wiki full of getting started guides, topics, links to workshops and videos etc.  You will find it a valuable resource getting familiar with CCS.

    http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v4

    To address your two questions.

    1 - In CCS the button that looks like a bug is the debug button.  If you have a project created with your code pressing this will build, load, and take you to the debug perspective (you will see the windows you have change to ones useful for debugging and debug buttons appear on the top menu like run, step over, step into etc). 

    First, however, CCS needs to know how you are going to connect so it will prompt you for a target configuration file.  (A .ccxml).  This should be straight forward in most Stellaris cases.  You would simply choose your emulator, or in case of an EVM perhaps the Stellaris ICDI (In circuit debug interface) and select your device.

    2 - In your CCS Project, you can go to Project->Properties->C/C++ Build->Build Steps tab

    There you will see a drop down menu for Apply Predefined Step ... here you can choose to generate a hex file or TI txt file for use with the LM Flash Programmer.

    Please let us know if this helps!

    Best Regards,
    Lisa

  • Hi Lisa,

    We are reviewing documents available on processor wiki. However, I or my team could not locate any information on LM3S8962 ICDI. Hence, thought of taking assistance from those who have earlier experience on this.

    Thanks for the inputs.

    Regards,

    Hemant

  • Hi Hemant,

    ok, yes please do review the wiki.  Another good source of information will be the Stellaris section of www.ti.com as well as our Stellaris forum.

    http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/default.aspx

    Alll the best with development.

    Best Regards,

    LIsa

  • Hi Lisa,

    We could use the LM3S8962 Dev Kit with CCS4. However, when we connect the LM3S615 target board to the JTAG pass thru port of LM3S8962 kit, the CCS4 does not recognise the LM3S615 board. Otherwise, we can download the code and debug on LM3S8962 Dev Kit.

    Per your suggestion, we will look at the Stellaris section of the forum and work on the issue.

    Thanks for the help.

    Regards.

    Hemant