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.

F28069 Memory Map missing in MotorWare lab

Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE, LAUNCHXL-F28069M

Setup

  • Running everything on Linux (Ubuntu 16.04)
    • Running controlSUITE and MotorWare using Wine.
  • Connected to LAUNCHXL-F28069M
  • CCS 6.2

Problem

I am trying to do the Project labs that come with the MotorWare (1.00.17) and during compiling I got an error.

No recipe for F28069_ram_link.cmd needed for proj_lab01.out

I opened the said file but it was empty (or not opening) so I removed it from the project. But now when I trying to debug, I get the following error.

C28xx: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

Please help in resolving this.

  • Hello,
    I assume that you installed MotorWare on a windows machine and then copied the folder into your Ubuntu 16.04 machine. The issue you are seeing is the following (I can reproduce it too):

    The project is looking for: F28069_ram_link.cmd

    The actual file name is: f28069F_ram_lnk.cmd

    That is ok on windows since windows is not case sensitive regarding file names. But of course that is not the case on Linux. Hence when you import the project, you get an error that it can't find the file.

    The solution is to simply modify the project so that it points to the right file(name).

    You can right-click on the file in the Project Explorer and select 'Properties' in the context menu to open up the properties dialog. Then you can use the 'Edit' button to resolve the correct location (filename).

    Or you can simply remove the link from the Project Explorer and relink the correct file(name) to the project.

    The file is located in:

    <MW_INSTALL_DIR>/ti/motorware/motorware_1_01_00_17/sw/ide/ccs/cmd/f2806x

    Thanks
    ki

  • Yep, right on point. That solves the issue. I would suggest to add this to a wiki page or to the labs pdf (that I am following).

    Thanks a million.
  • Good to hear it is working now. I will suggest to the MotorWare team to make a note. What wiki page are you following?

    Thanks
    ki
  • The wiki page most relevant I could find is the following:

    Regarding the page, I have the following suggestions:

    1. Please add more information about connecting the various C2000 launchpads to the numerous booster packs. Especially, the BOSTXL-DRV8301 and other DRV variants. Especially since they are covered in the labs (or so I believe. 
    2. It would be helpful if there is a recommended motor that can be used with the MotorWare Labs.
    3. It would be great if the Labs pdf can be put up on wiki, or maybe just for the recommended setup.

    Overall I am following the labs pdf in MotorWare.

    ./docs/labs/instaspin_labs.pdf

  • I will move this thread to the C2000 forums to bring it to the attention of the right people.

    Thanks
    ki