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.

CCS/TMS320F28379D: LaunchPad failed running the demo app when using the 'flash' configuration

Part Number: TMS320F28379D
Other Parts Discussed in Thread: LAUNCHXL-F28379D, CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Hello. I'am the happy owner of the Launchpad TMS320F28379D. My Launchpad have perfectly run the preloaded application but as soon I've tried to compile by myself the demo code (imported from ControlSuite in "C:\ti\controlSUITE\development_kits\LAUNCHXL-F28379D\LaunchPadDemo") the application doen't run anymore when I use the 'Flash' configuration (the application run in 'Ram' configuration).

Is there something missing in my project or a parameter to change following the import of demo source code from Controlsuite ? (I use CCS Version 7.1.0.00016 and ControlSuite Version 3.4.6).

When I run the application from the debugger, the CPU1 is trapped by a Software breakpoint triggered by the instruction EALLOW in  Main --> InitSysCtrl --> InitFlash.

Does anybody can explain me why ?

Best regards.

Pascal Morin.

 

  • Pascal

    Make sure your project is using compiler version greater than 15.9.0. My guess is you have a ramfunc warning and that will cause the behavior you're seeing. The compiler change should fix it.

    The latest version of this example can be found in C2000Ware (our new package).
    C:\ti\c2000\C2000Ware_1_00_00_00\device_support\f2837xd\examples\cpu1\launchxl_f28379d

    Best regards
    Chris
  • Thank's a lot for your quick answer !
    For my imported project I used the compiler version TI v19.9.1.LTS. I've changed the project's setting to the version TI v17.3.0.STS but this doesn't change the problem. But I didn't noticed that there was issues in the linking process for my imported project ! Here is an example of the warning :
    <Linking> "C:/ti/controlSUITE/device_support/F2837xD/v200/F2837xD_common/cmd/2837xD_FLASH_lnk_cpu1.cmd", line 103: warning #10190-D: absolute symbol "_RamfuncsLoadStart" being redefined
    I've installed C2000Ware and imported the lastest version of the demo project as you've mentionned it, and now everything run perfectly in 'Flash' mode.
    Thank you for being so responsive !

    Best regards.
    MORIN Pascal.
    www.pme2i.Com

    PS: If i have some time free this week i'll check the differences beewen the two projects to undersand why the linker has issuing warnings for my initial imported project.