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.

Can I make debug without target?

Hi.

Help me please. I don't understand and can't find how I can make to debug my program without connection to target. Is allow CCS6 or CCS4 to make debug without target connection? If it possible, how can I do it?

  • Hi,

    If I understand it correctly, I guess what you are looking for is a SW simulator which does not require a hardware board, isn't it? If so, they were removed in CCSv6.x releases. In this case, I strongly suggest you to install CCSv5.5 as it was the latest that supported SW simulators.

    Otherwise, please apologize and feel free to clarify your question.

    Regards,
    Rafael
  • Hi.

    Yes, You're right say, I need a SW simulator. What for TI delet simulator from CCS6? And can I instal simulator to CCS6?

    Regards,
    Dmitry.

  • The usage of simulator is very limited. For example, it can't simulate most of the peripherals. And the effort to maintain simulator for new chips is huge. Nowadays, TI has provided lots of EVMs/LaunchPads, most of them can be connected to your PC/Laptop with a simple USB cable. I guess this is why TI removed it in CCS 6.
  • Yes Robert is correct. I'd also like to add that we are focusing on making available more low cost kits to enable customer to get started quickly on real hardware (like LaunchPads). In the past, development kits often cost hundreds... even thousands of dollars (USD). Now you can get started on real HW for under 100 dollars USD. Almost all LaunchPads are under 30 and some as low as 10. This has really driven down demand for simulators.

    Thanks
    ki
  • Hello Kiselev,

    I disagree with TI on this one.  Sometimes you want to debug small non-peripheral snippets of code.  It's really nice to be able to step through the c/assembly code without having to setup device drivers and hardware.

    I think many of us have already ported the simulator from CCSv5  to CCSv6.  You can find out how to do it by reading the following post:

    Hope that helps,

    Stephen

  • 20 years ago when I started my personal RTOS project, I used simulator to develop. It is convenient but the functionality is very limited. RTOS kernel is nothing to do with peripherals so that it is OK for me at that time. But years later, I stopped using simulators due to low performance. Now I have some kits for different CPU and I prefer to use real hardware to design even it is a small piece of code. Btw, for embedded system, almost everything is peripheral-associated. If you develop an algorithm then you still need to verify its performance in real-time i.e. you still need to test it in read hardware.
  • I agree that final unit tests should be tested on the actual hardware; however, there are many times I just wanted to analyze a piece of code.   For those situation, the simulator works great and plus I don't need to take the additional steps to get the hardware, plug in the power and attach the debugger.