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.

BlinkLED on F28069 ISO board

Other Parts Discussed in Thread: DRV8301, CONTROLSUITE

I got InstaSpin DRV8301 kit and re-program as manual says it for my motor.

http://www.rcgroups.com/forums/showpost.php?p=31926182&postcount=2811

Working fine, then I would like to study the basics of F28069(ISO) board and chip.

I tried to read,

C:\ti\controlSUITE\development_kits\F28069 controlSTICK\Timer – BlinkingLED\~Docs\BlinkingLED.pdf

However, this document is for CCS4, not readble for CCS 6.1. user

Is there the latest doc. on the web?

 

Takao

  • Hi Takao-san,

    You should be able to follow the manual meant for CCS v4 for v6.1 too. Are you getting any errors by doing so?

    Regards,
    Gautam
  • Building file: ../BlinkingLED-DevInit_F2806x.c
    Invoking: C2000 Compiler
    "/home/xxxxxx/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="/home/hoge/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="BlinkingLED-DevInit_F2806x.pp" "../BlinkingLED-DevInit_F2806x.c"

    "../BlinkingLED-DevInit_F2806x.c", line 382: warning #145-D: a value of type "volatile PINT *" cannot be used to initialize an entity of type "PINT *"

    void PieVectTableInit(void)
    {
    int16 i;
    PINT *Dest = &PieVectTable.TINT1; // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

    EALLOW;
    for(i=0; i < 115; i++)
    *Dest++ = &ISR_ILLEGAL;
    EDIS;

    // Enable the PIE Vector Table
    PieCtrlRegs.PIECTRL.bit.ENPIE = 1;
    }

    other Blinky F28069 compile probelms are;
    e2e.ti.com/.../766888
    e2e.ti.com/.../238312

    F2806x-FRM-DEV-PKG-UG-V136 "F2806x Firmware Development Package" manual does not fit the latest compiler.

    Takao
  • Try this example:

    C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_examples_ccsv5\timed_led_blink
  • Gautam,

    >\F2806x_examples_ccsv5\timed_led_blink

    Thanks a lot,

    //###########################################################################
    // $TI Release: F2806x C/C++ Header Files and Peripheral Examples V150 $
    // $Release Date: June 16, 2015 $
    // $Copyright: Copyright (C) 2011-2015 Texas Instruments Incorporated -
    // http://www.ti.com/ ALL RIGHTS RESERVED $
    //###########################################################################
    #include "DSP28x_Project.h" // Device Headerfile and Examples Include File. Very Very old headers, not for F2806x

    <Linking>
    error #10056: symbol "_main" redefined: first defined in "./_main.obj"; redefined in "./main.obj"

    undefined first referenced
    symbol in file
    --------- ----------------
    _CpuTimer0 ./main.obj
    _DSP28x_usDelay ./_main.obj
    _GpioCtrlRegs ./_main.obj
    _GpioDataRegs ./_main.obj
    _PieCtrlRegs ./main.obj

    >> Compilation failure

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "test.out" not built

    Takao
  • There seems to be an issue with your include paths. Can you paste the screen of CCS where project and relevant files appear in a tree formation?
    Also, I hope CCS and controlSuite are installed in same directory probably in C drive
    Gautam
  • Gautam,
    Thanks again,

    >probably in C drive
    I am using Linux Ubuntu 14.10 for easy to use gcc programmming.

    So, actually I am using fullpath
    #include "/home/xxxxxx/ti/controlSUITE/device_support/f2833x/v140/DSP2833x_headers/include/DSP28x_Project.h"

    Takao
  • So are the header and source files getting included properly to your project?
  • Gautam,

    Thanks for cares.

    >So are the header and source files getting included properly to your project?

    No,  It is not properly installed by some very very old headers.

    There are some impossible finding old headers. So, I spend half day for trying fix some header files.

    Anyway, Did you check the header files in the C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_examples_ccsv5\timed_led_blink?

    Is it working?

    Takao

  • Header files can be found here:
    C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_common\include
    C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_headers\include

    Source files here:
    C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_common\source
    C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_headers\source

    Yes they very well work and including them is enough.
  • Gautam,

    Thank you. Now I understand BUGs. I will try to compile it.
    //###########################################################################
    // $TI Release: F2806x C/C++ Header Files and Peripheral Examples V150 $
    // $Release Date: June 16, 2015 $
    // $Copyright: Copyright (C) 2011-2015 Texas Instruments Incorporated -
    // http://www.ti.com/ ALL RIGHTS RESERVED $
    //###########################################################################
    #include "DSP28x_Project.h" // Device Headerfile and Examples Include File <<<<<<?????
    //tms320f28335monitor.googlecode.com/.../DSP28x_Project.h

    Takao
  • Great! Keep us informed.