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.

F29H85X-SOM-EVM: After clicking Save Workspace As..., the code in the workspace cannot be burned

Part Number: F29H85X-SOM-EVM

Tool/software:

Steps:
1. Click Save Workspace As...
2. Delete the original project in the saved workspace
3. Click Import Project(s)... Import a new project
4. Click Rebuild Project(s)
5. Right-click on the file F29H850TU9.ccxml and select Start Project-less Debug
6. Right-click C29xx_CPU1 on the redirected page and select Properties...
7. I can't see anything on the Properties page
8. Click STOP
9. Re-burn the operation, that is, step 5
10. An error is reported, and the .json file cannot be read
Issue:
1. In step 7, I can't confirm the status of the check box "Allow NonMain Flash erase before loading data to Flash memory", there is a possibility that the board will be locked, or the burning cannot be done due to the unchecked
2. Unable to burn again

  • Hi Feng,

    For the F29H850TU9.ccxml file, was this file linked to the original project? It may be that the link was broken when the original project was deleted and CCS can't find the reference in the new project. Can you try manually creating a new .ccxml for the device using the CCS target configuration GUI, save the device, then use the Test Connection feature?

    Also, for the second picture, can you check that file location in your computer and see what files are available there? Or if the folder is even there in the first place?

    Regards,

    Peter

  • It seems like the launch.json file is gone.  Following the steps I am not able to reproduce that error but if I clear out my launch.json I will get the same error as in your first screen capture if I select properties.

    In your workspace folder there should be a .theia folder and in that a launch.json file

    Here is what one looks like with an entry for projectless debug on F29H85

    Here is the text:

    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "F29H850TU9.ccxml",
    "type": "ccs-debug",
    "request": "launch",
    "targetConfig": "${workspaceFolder}/f29x_cpu1_cia402_solution/targetConfigs/F29H850TU9.ccxml"
    }
    ]
    }

    You should be able to copy that into a launch.json in the .theia folder in your workspace and just adjust the path to the ccxml.

    Regards,

    John

  • Hello,

    Is "F29_cfg1.theia-workspace.theia" the name of your workspace file?

    Also, what CCS version are you using? There were some multi-root workspace issues that was fixed in CCS 20.2.0.

    Thanks,

    ki