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.

can not use Expressions inCCS6 show variable

Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE

hi:

I  in controlsuite  lab , I use motor control program   ,   I read ADCRESUT,  then transform to IQ type . 

when download my board , then run .  ,    I want look that value what .  add these into watch window .  , but it show type is unknown .   

in Expressions:

and 

what show I do ?

best regard 

yanzheng FU

  • Hi,

    I hope they're not defined as local variable but Global.

    Regards,
    Gautam
  • Gautam:
    I very clear definity these is global variable .
    but ,it show error.
  • Expressions window show every thing is error now . what wrong is it? which place set I need forcous?
  • hi:

    I said Expression window cannot show globle variable .  that project is a new built project.   I use F28020 mcu. 

    I checked orignal project in contrlsuite  ,  bldc_sensor  program as F28035 . and download to board .   then run.  it shows right in Expression window.

     I know  CCS 6 .  different with ccs3.3  .  when  I creat new project ,  what do i need cearful  ?   

    what reason due to wrong  in Expression window ? such as GEL file? 

     

  • Can you try cleaning or switching to a new workspace?
  • hi Gautam :
    I have resolved it ..
    because cmd file is wrong . I find common cmd of device has some issue , like F28020.cmd. file . when I add this file frome controsuite . build is ok . but when debug , in watch window . it cannot show address 0x00008000 ram map value.

    when I instead it to F2802X _general_flash .cmd. and editor load_size(_RamfuncsLoadSize) as LOAD_END(_RamfuncsLoadEnd)
    then build and load program . verything is ok!

    Gautam:
    can you give a advice to ti c2000 department boss. we very very need a temp isolated project. you know , controlsuite and motorware are huge intermix program . as appliction point , it is impossible to use. because I use F28020 , I do not want bring F28335 's heads , c file . I just want F28020's .

    long time ti in this place is blank!
  • You can find header and source files for F2802x here:
    C:\ti\controlSUITE\device_support\f2802x\v230\f2802x_common
    C:\ti\controlSUITE\device_support\f2802x\v230\f2802x_common\source

    Regards,
    Gautam