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.

Looking for a tool to flash LM3S9DN6 and debug it? Can I use EKC-LM3S11 kit?

Other Parts Discussed in Thread: LM3S811

Hello,

I start on a new project that will modified a existing design.  I am using CCS v5 to modify the program for Stellaris LM3S9DN6.  I am looking for a tool to flash the board and debug my program.  I know this part is not available on TI website.  I cannot buy LM3S9DN6 evaluation kit using TI flash programming tool 

Any suggestion on the tool for flashing LM3S9DN6 and degger I am looking for?

Thank you

Allyson

  • Hi Allyson,

    CCSv5 supports LM3S9DN6. Did you check the ccxml file configuration option?

    Regards

    Amit

  • Amit:

    Thank you for quick responding my question.

    I checked that I have Stellaris LM3S9DN6.ccxml file.  My question is: after I used ccsv5 to build a project, I need download the bin file to my PC board which has LM3S9DN6 processor.  I am looking for a hardware tool that will connect from my computer to this PC board.  By the way, the board has JTAG connector on it.

    I have been reading the threads on TI website.  I have EKC-LM3S811 Evaluation kit in my hand.  Can I use it to flash the board?  I don't see the exact evaluation kit number from drop-down list on LM Flash Programmer software, what should I choose?  How do I set up other section if I have LM3S9DN6?

    One thread said to use XDS100. 

    Any suggestion?

    Thank you 

    Allyson

  • Hi Allyson,

    The drop down list will not have the evaluation kit number but the processor name as "Stellaris LM3S811". If the board for LM3S9DN6 has the Stellaris ICDI then you can select the same option since both the Flash Programmer and CCSv5 supports it.

    Can you please let us know what is connected to the JTAG pins of the LM3S9DN6? How are you currently downloading the bin file?

    Regards

    Amit Ashara

  • Hello, Amit:

    Thank you for your response.  Let me explain my project again.

    I start this new project based on a existing project.  The existing project is using LM3S9DN6 processor and Red Suite compiler by Code Red Inc.  Because Code Red was purchased by NXP last year, Red Suite compiler is not available in the market anymore.  I need find another compiler and debugging tool to continue my project.  I am thinking to use CCS v5, and flash programmer and debugging tools.

    The existing Red Suite built executable and LM3S9DN6 hardware board works perfectly.

    I moved the Red Suite project onto CCS v5 compiler, modified some of c files because CCS v5 uses armcl.exe instead of gcc.exe.  Now I have built the ccs v5 project successfully and post built a bin file and ready to download to the existing hardware.

    I am not so familiar with TI's flash programmer, and debugging tool.  I would like to get your help to program the hardware and set up a debugging utility, so I can start my new project.

    On the hardware where LM3S9DN6 resides, there is no Stellaris ICDI supported. LM3S9DN6 Pin 77- 80 are used for Jtag, pin 64 is used for Jtag reset.

    I have LM3S811 CodeSourcery version kit, the drivrer on the DVD only supports Window 2000, XP and Vista.  I am using Windowns 7.

    Would you tell me which tool I should use to program the hardware and which tool I should use to debug the program?

    Thank you for the help

    Allyson

  • Hi Allyson,

    Thanks for the explanation, as that clears a lot of items.

    1. CCSv5 is supported on Windows-7 platform and it has the programmer and debugger. You can check on the CCS E2E forum and confirm with the CCS experts on support for LM3S9DN6 in CCSv5.

    2. For the hardware you can use Spectrum Digital or Blackhawk XDS100v2 emulator. Please do make sure that the JTAG header on the board matches the header from the XDS100v2.

    I hope the above information helps

    Regards

    Amit Ashara

  • Hi, Amit:

    Thank you for your replay.  I made my hardware setup working now, because I used my colleague's bin file to download to the board and working.

    Now I go back to my build.  I am at the point to convert from out file to bin file.  I got the following error, I have attached the map file in this message.  Where can it be wrong?

    2047.MyMapFile.rtf

    ......

    "C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "EDL1" "EDL1.bin" "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armofd.exe" "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armhex.exe" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin.exe"
    warning: section EDL1.out(.text) at 04e110h falls in unconfigured memory
    (skipped)
    warning: section EDL1.out(.cinit) at 053268h falls in unconfigured memory
    (skipped)

    Thank you much for the help

    Allyson

  • Hi Allyson,

    Can you share the map file where the declaration of the memory map is done. Secondly it is a warning and not an error so the bin file should be there. Did you try running this bin file.

    Regards

    Amit Ashara