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.

LAUNCHXL-F280039C: LAUNCHXL-F280039C

Part Number: LAUNCHXL-F280039C
Other Parts Discussed in Thread: C2000WARE, TMS320F280039C, SYSCONFIG

Tool/software:

Gentlemen.... I am scurrying thru the examples trying to find more detail on the sequence of code used to perform the task....for example, without forensic effort I would like to confirm which output PWM port was being used for the example project CLA-ex1_asin ? Is there a doc/htm descriptive of these many example projects ? Even in comments for "main" would be good ...saves a lot of time.

  • Hi Don,

    Here is the documentation. Please refer to section 7.6.1 CLA Examples in below document

    TMS320F28003x Real-Time Microcontrollers Technical Reference Manual (Rev. C)

    Thanks,

    Susmitha

  • Thks heaps Susmitha .... I found it the evening after I requested help before your answer overnight .... be good if that doc was referred to in the comments to main - but a much more comprehensive ADA like comment stream - especially if like me I never get sequential time to write this app...

  • Hi Susmitha ...this is a silly problem but I cant find a way ahead...my target config file .ccmxl file has disappeared ?? No matter what I do, including editing the syscfg file to the LaunchXLTMS320F280039C I am using the makefile .d keeps changing the target to the 0037C and then the diagnostic says I should edit this syscfg file to change the target to the 0039C but it keeps reverting even though I save the edits ....? I have even reloaded the Theia IDE I am using .....I have been using the Theia IDE successfully for the past 2 weeks and building on the example "epwm_ex9_dma" with the beginnings of some clarity in this "sea-of-registers" beautiful device for what we want to use it for ....

    • And I need a friend .... 
  • Hi Don,

    Can you please send me the project structure from CCS? It should look like this. If ccxml is missing, you can always extract it from other examples in C2000ware.

    Thanks,
    Susmitha

  • Susmitha ...thanks for the suggestion - I have assumed the config target files were transportable. I believe that something has gone wrong in the IDE ...I have done the following -
    Deleted ALL files from the three workspaces I was using and gone back the the "workspace-_theia".
    I have downloaded another Theia zip file with all antivrus temporarily disabled.
    I extracted and installed with antivrus disabled. It seemed to go smoothly.
    When I "build" I get a variety of diagnostics - the first as below which seems catastrophic -from the "28003x generic_flash_lnk.cmd" view.
    **
    BEGIN            : origin = 0x00080000, length = 0x00000002
       BOOT_RSVD        : origin = 0x00000002, length = 0x00000126

       RAMM0            : origin = 0x00000128, length = 0x000002D8
       RAMM1            : origin = 0x00000400, length = 0x000003F8
       // RAMM1_RSVD       : origin = 0x000007F8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */

       RAMLS0           : origin = 0x00008000, length = 0x00000800
       RAMLS1           : origin = 0x00008800, length = 0x00000800
       RAMLS2           : origin = 0x00009000, length = 0x00000800
       RAMLS3           : origin = 0x00009800, length = 0x00000800
    **
    To go back to the most obvious comparison to your project file view.... My stack of files is missing the INCLUDE category ...and this might explain memory misallocation ? But the includes needed SEEM to be unde "generated source" ?
    I also get this everytime I do a "start debug"- under view "launch.json"
    {
      // Use IntelliSense to learn about possible attributes.
      // Hover to view descriptions of existing attributes.
      "version": "0.2.0",
      "configurations": [
       
      ]
    }
    I was going so well and now even going back to zero start for EVERYTHING - deleting all files from workspaces, downloading a copy of the zip and extracting and everything the instructions tell me in regard anti-virus etc....
    So WHY do I have no INCLUDE category in Project View ?
    Its driving me nuts ! 
    Also I set the "active target" to launchpadXL .... as I have been using this for the last 4weeks ...
    Your wise advice Susmitha would really be appreciated....
    Rgds
    DonW
  • Susmitha ....uninstalled and re-installed again with even more rigorous exclusion of the anti-virus protection . Then imported the project with "explorer" no worries but it keeps first pop up in the editor window the Launch.json handler as above.

    I attach the log. 

    BuildLogExamplePrg epwm_ex9_dma.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    !SESSION 2024-11-11 17:19:52.605 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=17.0.2
    java.vendor=Eclipse Adoptium
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
    Framework arguments: -application com.ti.ccs.server.start -pluginCustomization H:\ti\ccstheia151\ccs\eclipse\ccs.preferences.ini -ccs.socketPath \\.\pipe\7c8a04268add522f40cd3fdc2ca935b5.sock -ccs.workspaceFolderPaths c:\Users\Don\workspace_ccstheia -ccs.defaultImportDestinationPath c:\Users\Don\workspace_ccstheia -ccs.buildSecurityPolicy level:desktop
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -application com.ti.ccs.server.start -pluginCustomization H:\ti\ccstheia151\ccs\eclipse\ccs.preferences.ini -data C:\Users\Don\AppData\Local\Texas Instruments\CCS\.ccs-server\workspaces\7c8a04268add522f40cd3fdc2ca935b5 -ccs.socketPath \\.\pipe\7c8a04268add522f40cd3fdc2ca935b5.sock -ccs.workspaceFolderPaths c:\Users\Don\workspace_ccstheia -ccs.defaultImportDestinationPath c:\Users\Don\workspace_ccstheia -ccs.buildSecurityPolicy level:desktop
    !ENTRY com.ti.ccs.core 1 0 2024-11-11 17:19:53.052
    !MESSAGE [ccs.trace] CCSServer> IDE session in progress: 142b8d16-d637-461d-a290-2645b537ab38 (server v1.5.0.202407270237)
    !ENTRY com.ti.ccs.core 1 0 2024-11-11 17:23:15.342
    !MESSAGE [ccs.trace] CCSServer> shutting down...
    !ENTRY com.ti.ccs.core 1 0 2024-11-11 17:23:15.345
    !MESSAGE [ccs.trace] CCSServer> shutdown complete - closing pipes
    !SESSION 2024-11-18 14:41:15.409 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=17.0.2
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Also the target TMS320F280039C_LaunchPad.ccmxl editor GUI does NOT provide me a TEST button ? Que ?

    This Theia install has gone completely haywire ? It was going extremely well ...

  • Summary of my plight is -

    Install does NOT provide me the INCLUDE file set (headers? Macros?)

    AND when I set the LaunchPad target selection "active" -the ccmxl editor deactivates it and I have to select auto detect checkbox immediately - sortof suggesting that taget code is not present -BUT it doesnt tell you that.

    So I am assuming the missing INCLUDE file set is causing the problem. 

    SO I am asking one of our engineers to download the same project (or others my problem is not project related - its install related) and see if he is lucky enough to get the full file set for operation. I am the trail blazer to see if we include this C2000 DSP in our next generation of products....

  • Hi Don,

    When you install CCS, please make sure you select C2000 real time microcontrollers. Here is the link to help on installation.

    3. Installation — Code Composer Studio 12.8.0 Documentation

    The example .c file should have all includes in there.

    SO I am asking one of our engineers to download the same project (or others my problem is not project related - its install related) and see if he is lucky enough to get the full file set for operation. I am the trail blazer to see if we include this C2000 DSP in our next generation of products....

    Please let me know if it works.

    Thanks,
    Susmitha

  • Thks heaps Susmitha !

    Our lead s/w engineer Ray Derrick tested the installation of the ePWM_ex9_dma this afternoon my time and he had the same problem - no INCLUDE and also the non-presence of the launchPadXL F280039C target code .... I hope he experiments with the build and failed launch.json innards as well. I will ask him to file a question under the same topic. If TI is releasing this IDE Dec'25 I hope we learn what I am doing wrong/OR the IDE has a vulnerability.

    I will read this CCS very carefully .... we are losing time ... I have been ON & OFF assessing this chip for a few mths and only focussed this last mth ... I had EVERYTHING working and his example was reliably starting so SOMETHING changed !

    But WHAT could make such basic changes to the IDE itself ?

  • Hi Don,

    I am glad ..it helped.

    Which version of CCS are you using or trying to install?

    Make sure you are importing the example from C2000ware and structure looks like this.

    Thanks,

    Susmitha

  • I am closing this thread for now. Please open new thread if you have any further questions.

  • Hi Susmitha ... we understand this to be an IMPORT PROJECT bug in the THEIA IDE based on independent testing between different engineers in our group. I sent the .log from the import malfunction and it flagged errors - the importance of these java "segment" (?) errors I am not qualified to judge. 

    BUT note, without the consequent tech/s/w detail as confused the request for help above, the project imports off "resource explorer" into Theia at current revision are NOT the same as you copy above. They are missing the entire INCLUDE group of files which are meant to be included in the linking and compiling of the project to generate the .out obj file meant to run the hardware.

  • Hi Don,

    Sorry a bunch of questions coming at you - trying to get up to speed on context here...

    To clarify, are you seeing this issue when you import any example? If you try importing a different EPWM F28003x example to theia and try to build without modifying anything, does it build ok? Which CCS Theia version are you using at the moment? For example, I'm on 1.5.1 and import the epwm dma project to see the following structure:

    Theia differs in that you do not need the some of the extra folders that CCS Eclipse did (like the includes). When you build the project, you should be able to see a generated source folder. Everything is coming through SysConfig in these examples:

    and the C only needs a few required included files:

    When I open the syscfg, I am prompted to select a device:

    When you switch the device, are you doing so in SysConfig and see the device correctly reflected in the file?

    And if you open the syscfg file in code editor:

    I see you are importing from Resource Explorer. Can you try instead try importing directly from the C2000Ware directory as well?

    Best Regards,

    Allison

  • Thks heaps Allison - as you will note Susmitha above was using CCS12.8 and we were/are using Theia 1.5.1 latest and had uploaded the .log files detailing this ...but we were glad of her help.

    OK trying a different Project - same result -

    Back to the 'ol Blinky  "driverlib_lp_f28003x"...as below.

    "start debug"> but "resume"/"continue" does NOT activate ... the launch.json automatically appears which I assume is a diagnostic.

    I get the following.

    That launch.json suggests some internals to the json statement are missing ? Without going into more details when activating the target editor I also cannot find the "test" button I was used to with the old CCS12.8 ...? Whether I use BASIC or ADVANCED 

    As below next ...

  • ...in addition the advanced menu off the target editor only gets this....

    I have replaced the .ccmxl file - even off a completely fresh installation with nothing done except "activating" the launchpad.ccmxl as the target ...so I cant detect any corruption of files.

    NOTE Allison ....This Theia1.5.1 WAS working well for two weeks importing my workspace projects, building, loading and running complete with debugs and watchpoints....so WHAT could get "corrupted" ....I have been careful to CLEAN my workspaces and even completely empty/delete EVERYTHING in the workspace.... prior to importing the project....so this point I will also include my .log 

  • TheiaLog22Nov24.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    !SESSION 2024-11-11 17:19:52.605 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=17.0.2
    java.vendor=Eclipse Adoptium
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
    Framework arguments: -application com.ti.ccs.server.start -pluginCustomization H:\ti\ccstheia151\ccs\eclipse\ccs.preferences.ini -ccs.socketPath \\.\pipe\7c8a04268add522f40cd3fdc2ca935b5.sock -ccs.workspaceFolderPaths c:\Users\Don\workspace_ccstheia -ccs.defaultImportDestinationPath c:\Users\Don\workspace_ccstheia -ccs.buildSecurityPolicy level:desktop
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -application com.ti.ccs.server.start -pluginCustomization H:\ti\ccstheia151\ccs\eclipse\ccs.preferences.ini -data C:\Users\Don\AppData\Local\Texas Instruments\CCS\.ccs-server\workspaces\7c8a04268add522f40cd3fdc2ca935b5 -ccs.socketPath \\.\pipe\7c8a04268add522f40cd3fdc2ca935b5.sock -ccs.workspaceFolderPaths c:\Users\Don\workspace_ccstheia -ccs.defaultImportDestinationPath c:\Users\Don\workspace_ccstheia -ccs.buildSecurityPolicy level:desktop
    !ENTRY com.ti.ccs.core 1 0 2024-11-11 17:19:53.052
    !MESSAGE [ccs.trace] CCSServer> IDE session in progress: 142b8d16-d637-461d-a290-2645b537ab38 (server v1.5.0.202407270237)
    !ENTRY com.ti.ccs.core 1 0 2024-11-11 17:23:15.342
    !MESSAGE [ccs.trace] CCSServer> shutting down...
    !ENTRY com.ti.ccs.core 1 0 2024-11-11 17:23:15.345
    !MESSAGE [ccs.trace] CCSServer> shutdown complete - closing pipes
    !SESSION 2024-11-18 14:41:15.409 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=17.0.2
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Now for the "build" after "cleaning" the simple project "driver_lp_f280039x" ....NOTE this is after doing Build > Start.debug I get that "launch.json" with this different project.

    The "build" seemed successful ...

    Next as you suggest ....importing from local C2000ware libraries/examples.

  • Imported from local C2000Ware and build had trouble then "start debug" stalled with the same  launch.json in the editor space.....

    Hope this helps Alison .... WHY this installation has just refused to work after going so well is really a major concern.

    Just hope it isnt because I have done something silly !

    If you need quick feedback/experiment give me a call anytime day or night +61 415 494 175 

  • ...and the code editor reflection os the syscfg is identical text to the one you asked about -

    It seems to me that the continuous appearance of the launch.json script is appearing too often ?

    Maybe that has been permanently damaged somehow ?

  • Hi Don,

    Thanks for all the updates. With a quick search I did find a related inquiry:

    https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1392806/cc2340r5-ccs-theia-does-not-create-launch-json-for-imported-example-project 

    Please take a quick look and try the suggestions. I also wanted to add more info on the launch.json in case you find it helpful for contextual understanding.

    https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_theia/ccs_debug-main.html#launch-configurations

    I'll keep digging as you try the above thread suggestion, but if not I will reach out directly to CCS team tomorrow. Thanks for all the perseverance!

    Best Regards,

    Allison

  • Yayyy !!!....Alison - more points for that clever Austin Eubank man you referred me to above last !....I have sent him hugs and a request for never ending friendship !!

    I performed his patch on the launch.json file and everything sprang back to life !! My Theia 1.5.1 is back into production !

    BUT as I think Austin would agree - should we consider this problem we have had "resolved" ?

    I would suggest Austin and I can consider it resolved for OUR immediate issues, with the proviso it is added to the TI known Theia 1.5.1 IDE bugs list ? I havent looked at the Theia IDE bugs list yet-maybe it is already listed.

    As for my team we are aware of it...BUT it has cost us a lot of time, and confidence which is a concern seeing Theia was due for release in a few weeks.

    I would suggest this is a serious bug ....for ONE thing it does NOT have a known cause ? It can KILL any ongoing project dead....it occurs "spontaneously" in an already working project development....AND WORSE it stays on the installed machine !!! ??? So what is the limit to its infection range ? Does anyone who instantiates MY project under development "catch" the bug/virus ? The rest of my team perhaps ?

    For expansion of the "bug" (virus ?) subject do I have to do this patch for EVERY new program I load from among the example set everyone builds off  ? Does the patch travel project to project ?

    This "bug" is not a typical software "bug" ....this json patch may need to be re-installed multiple times because we dont know its genesis. We KNOW it persists from Project file to project file thru the example set.

    Perhaps if its not listed you TIers can add it and if you wish I can go beta tester ...and add any new experiences I have with this sneaky issue !

    AND Alison thanks muchly for being there !

  • Hi Don,

    Allison is currently out of office until after the holidays. Please expect a delay in response. Thank you for your patience.

    Best Regards,

    Aishwarya

  • Hi Don,

    Apologies for the extended delay. I will forward the query to our CCS team as well.

    Best Regards,

    Allison

  • I performed his patch on the launch.json file and everything sprang back to life !! My Theia 1.5.1 is back into production !

    What was the patch performed? Did you clear the entire launch.json file as recommended in the troubleshooting guide?

    https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs/ccs_troubleshooting.html#delete-the-launch-configuration

    Other tips:

    https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs/ccs_troubleshooting.html#delete-debug-cache-files

    https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs/ccs_troubleshooting.html#delete-workspace-cache

    Please note that CCS 20 is now available. It has many improvements in stability and functionality over CCS Theia. I would recommend updating to this version.

    Thanks

    ki

  • Ki ....the patch was originally made by Austin Eubank  https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1392806/cc2340r5-ccs-theia-does-not-create-launch-json-for-imported-example-project as Alison referred me above.

    In retrospect I believe the problem could be related to "change workspace" efforts and rename of the source code. If it happens again I will look intently at the project makefile.

    I thought Theia WAS CCS20 !  Are you telling us that CCS20 is being launched THIS month ? NOT Theia ? For projects like ours  knowing WHICH IDE is the one to focus our group on...which one sees us furthest into the future, is important.

  • If a launch.json file does not exist, CCS should create a new one correctly add the new launch. I'm not too familiar with the above issue but I have seen issues where existing launch.json files got corrupted somehow so cleaning that files helped.

    In retrospect I believe the problem could be related to "change workspace" efforts and rename of the source code. If it happens again I will look intently at the project makefile.

    Thanks for the additional detail.

    I thought Theia WAS CCS20 !

    CCS Theia 1.x is a separate product from the main CCS product. However, we are now merging the two lines with CCS 20 so that all future CCS releases are now based on Theia IDE. You can think of it as CCS Theia 1.6 = CCS 20. 

    All future CCS releases will be Theia IDE based. The CCS Theia line has been discontinued.