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.

Composer v.5.3 and DRV8412GUI project

Other Parts Discussed in Thread: CONTROLSUITE

Currently I am working upon building an application for DRV8412EVM board. So, have couple of questions so far.

 

First, the GUI_project has DSP2803x_GlobalVariableDefs.c wich refuses to resolve the string

#include "DSP2803x_Device.h"

although DSP2803x_Device.h is in project.

What's wrong?

 

And, second. Where one can find so-called TI GUI Composer tool, that should be a part of CCS v.5.3 as announced.

 

Thanks!

  • GUI Composer is under the View ,the second link from the top.

  • I just imported and built with just warnings (IQMath known warning and the compiler warning - since I don't have the older compiler installed).

    Make sure that DSP2803x_Device.h resolves to C:\ti\controlSUITE\device_support\f2803x\v122\DSP2803x_headers\source\DSP2803x_GlobalVariableDefs.c

    in the properties --> resources

     

  • OK, ekrem & Chris! Thanks, guys.

    Upon cleaning to fade all the workspace directory, and upon "Importing existing Eclipse project", tables turned.

    First, "View" tab appeared (how come there was no such tab untill I renewed the workspace?). And now, yes, GUI composer appeared also.

    Second, DSP2803x_Device.h resolves to C:\ti\controlSUITE\device_support\f2803x\v122\DSP2803x_headers\source\DSP2803x_GlobalVariableDefs.c.

    Now, still, Debug errors occur, that are the following:

     

    C28xx: GEL: Error while executing OnTargetConnect(): identifier not found: ST1  at ST1=(ST1&~(0x0100)) [f28035.gel:281]  at C28x_Mode() [f28035.gel:78]  at OnTargetConnect() .

    C28xx: GEL: Error while executing OnReset(0): identifier not found: ST1  at ST1=(ST1&~(0x0100)) [f28035.gel:281]  at C28x_Mode() [f28035.gel:32]  at OnReset(0) .

    C28xx: GEL: Error while executing OnReset(0): identifier not found: ST1  at ST1=(ST1&~(0x0100)) [f28035.gel:281]  at C28x_Mode() [f28035.gel:32]  at OnReset(0) .

    C28xx: GEL: Error while executing OnReset(0): identifier not found: ST1  at ST1=(ST1&~(0x0100)) [f28035.gel:281]  at C28x_Mode() [f28035.gel:32]  at OnReset(0) .

    C28xx: GEL: Error while executing OnRestart( 0 ): identifier not found: ST1  at ST1=(ST1&~(0x0100)) [f28035.gel:281]  at C28x_Mode() [f28035.gel:53]  at OnRestart(0) .

    C28xx: GEL: Error while executing OnFileLoaded( 0, 0): identifier not found: XAR0  at XAR0=*(0x3F7FF8) [f28035.gel:554]  at Device_Cal() [f28035.gel:67]  at OnFileLoaded(0, 0) .

    C28xx: Breakpoint Manager: Retrying with a AET breakpoint C28xx: Breakpoint Manager: Error programming AET Job: DCU_SEL Can not get the ID for the ANA register

    C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x3f600c: (Error -1066 @ 0x3F600C) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.0.872.0)

     

    What to do to make it "work"? What would You suggest?

  • if you just build the project as is you will get a build error about the project not fitting into memory.

    "../F28035_RAM_DRV8412GUI.CMD", line 81: error: program will not fit into

    available memory. placement with alignment/blocking fails for section

    ".text" size 0x287d page 0. Available memory ranges:

    progRAM size: 0x1800 unused: 0x17d7 max hole: 0x17d7

    error: errors encountered during linking; "DRV8412GUI.out" not built

     

    you need to Right Click --> Build Configurations  --> Set Active --> F2803x_FLASH

    your errors look like something to do with emulation though.

  • Yes, Chris.

    These errors occur upon FLASH-type build. And, yes, when building to RAM, those errors You mention take place.

    What may be wrong with emulation?

  • Can you go back to the original project from controlSUITE and make sure it builds and runs before you add your own code? If so, you need to start debugging what you have added.

     

  • Hmmm.. The thing is I did not add anything to the original controlSUITE code, Chris.