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.

CCSv5.2 - Load program on C28 doesn't work

Other Parts Discussed in Thread: CONTROLSUITE

I'm trying to load the Internal_Loopback_Serial (Dual) program on Concerto. This program was obtained from controlSuite. I've made a little change on the C28 part. I put a piece of code to make a LED to blink inside the infinity loop. After build the project, I connect to C28 using XDS100v2 and load the .out. The problem is that C28 doesn't sit on main besides it run just after loading. The symbol of running appear but the LEDs don't blink. Please, help me.

  • Rafael,

    Which version of CCS are you using? Does the Internal_Loopback_Serial program as provided in ControlSuite work as expected and halt at main? If so, what exact changes did you make the code when you started seeing the issue? Does taking out the additional code allow it rever back to a working case that halts as expected?

    Any other additional details or information you can provide will be most helpful.

  • I'm using the version 5.2.0.00069 and the update software is running right now. I can find the project files on: C:\ti\controlSUITE\device_support\f28m35x\v150\F28M35x_examples_Dual\Internal_Loopback_Serial. The modification done was to debug the C28 malfunction. But the problem continues, it doesn't halt at main(). Even with the more simple example (dual blinky) C28 continues to run automatically after loading program.

    There are information that I think importante:

    1) Target Configuration File
    I've created a target configuration file to launch the debug window. In the advanced tab I removed the C28 Gel file found in the Initialization Script box. I've found this information on:
    http://processors.wiki.ti.com/index.php/Concerto_Dual_Core_Boot#Load_the_Application

    2) Build the project
    While the project is been built a message is issued: 'Trouble Setting Breakpoint with the Action "Finish Auto Run"...'
    No erros were found, just warning messages.

    3) When the C28 is running and I press Debug Reset, a new tab appear with the message: "no source avaible for 0x..." and a button Show Disassembly is avaiable on this tab.
    I expected to be taken to the internalLB_SCI.c tab with a breakpoint at main().

    Sorry for the lack of details. I'd like to repeat the experiences to describe better the problems but the CCS is updating too slow.

    Thanks

  • Rafael,

    Have you been able to make progress on this issue? I took a look at the wiki page you referenced (http://processors.wiki.ti.com/index.php/Concerto_Dual_Core_Boot#Load_the_Application) but am not sure how accurate/current this information is, since the page says it is under construction, so it is possible that the information is outdated.

    I was able to get the dual blinky example to run by following the steps in the F28M35x Firmware Users Guide that is included in ControlSuite. When the program is first loaded using CCS, both the M3 and C28 halt at main as expected. I did not follow the steps in the wiki page to create a dual boot target configuration file. I simply followed the steps in the Users Guide to load the code to both M3 and C28 and then set the boot mode switches as mentioned in the Guide to get it to run.

    If you still have issues getting the Internal_Loopback_Serial program to run I would recommend creating a new post in the C2000 device forum. The folks who created the examples monitor that forum and they will also be more aware of any Boot ROM issues, so should be able to assist you further. 

  • AartiG,

    I decided to reinstall the CCS of version 5.2.1.00018. But, unfortunately, the same problem had continued. The main modification on my workflow was the .cxml. I used one found on MCU SDK that includes a reference to a Gel file. Although, at the wiki page cited above, it's not recommend using a Gel file related to the C28 emulator. Now, it's all Ok and consider my issue as resolved.

    Thanks anyway.