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.

CCS/TMS320F28069: null: cannot resolve archive

Part Number: TMS320F28069
Other Parts Discussed in Thread: C2000WARE, LAUNCHXL-F28069M

Tool/software: Code Composer Studio

I have this warning come up every time I build the project. Is there a fix? Thanks

details below:warning: cannot resolve archive

C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/lib/rts280
0_fpu32_fast_supplement.lib to a compatible library, as no input files have
been encountered; build attribute information from input files is needed to
determine library compatibility
Finished building target: "Example_2806xLaunchPad.out"

**** Build Finished ****

  • What does the full linker command look like? Please check the CCS build console, save the full build output to a text file and attach it here.

    The message indicates "no input files have been encountered" which is odd because the object files generated by the compiler should be input to the linker. 

    There appears to be something wrong with your project. Is this your own custom project or a TI example project>? If you post the build output we might be able to tell what is happening.

  • Hi ArtiG, this is the CCS build console output (below)

    //
    // FILE:	Main_MCU_SAMPLER.c
    //
    
    
    #include <stdint.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <file.h>
    
    #include "DSP28x_Project.h"     // DSP28x Headerfile
    #include "ti_ascii.h"
    #include "sci_io.h"
    
    __interrupt void adc_isr(void); // Use the ADC Interrupt Service to collect samples and communicate downstream
    
    //
    // Micro-seconds to wait for ADC conversion. Longer than necessary.
    //
    #define CONV_WAIT 1L
    
    //
    // Globals
    //
    
    Uint16 LoopCount;
    Uint16 ConversionCount;
    float Va;
    float Vb;
    float Vc;
    float Ia;
    float Ib;
    float Ic;
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    extern void DSP28x_usDelay(Uint32 Count);
    
    
    
    const unsigned char escRed[] = {0x1B, 0x5B, '3','1', 'm'};// 1B=Escape, 5B= '[','3'= end of text,'1'=start of heading
    const unsigned char escWhite[] = {0x1B, 0x5B, '3','7', 'm'};//'7'=bell, 'm'=6D
    const unsigned char escLeft[] = {0x1B, 0x5B, '3','7', 'm'};
    const unsigned char pucTempString[] = "Current Temperature:";
    
    
    
    
    
    //
    // clearTextBox - 
    //
    void clearTextBox(void)
    {
        putchar(0x08);
     
        // 
        // Move back 24 columns
        //
        putchar(0x1B);
        putchar('[');
        putchar('2');
        putchar('6');
        putchar('D');
        
        //
        // Move up 3 lines
        //
        putchar(0x1B);
        putchar('[');
        putchar('3');
        putchar('A');
        
        //
        // Change to Red text
        //
        putchar(escRed[0]);
        putchar(escRed[1]);
        putchar(escRed[2]);
        putchar(escRed[3]);
        putchar(escRed[4]);
        
        printf((char*)pucTempString);
        
        //
        // Move down 1 lines
        //
        putchar(0x1B);
        putchar('[');
        putchar('1');
        putchar('B');
        
        //
        // Move back 20 columns
        //
        putchar(0x1B);
        putchar('[');
        putchar('2');
        putchar('0');
        putchar('D');
        
        //
        // Save cursor position
        //
        putchar(0x1B);
        putchar('[');
        putchar('s');
        
    }
    
    
    
    
    void sendValues(void)
    {
        //
        // Restore cursor position
        //
        //putchar(0x1B);
        //putchar('[');
        //putchar('u');
        
    
    
       printf(" Va = %f , Vb = %f, Vc = %f , Ia = %f, Iba = %f , Ic = %f\n ", Va, Vb,Vc,Ia,Ib,Ic);
    }
    
    
    
    
    //
    // scia_init - SCIA  8-bit word, baud rate 0x000F, default, 1 STOP bit, 
    // no parity
    //
    void scia_init()
    {
        //
        // Note: Clocks were turned on to the SCIA peripheral
        // in the InitSysCtrl() function
        //
     	
        //
        // 1 stop bit,  No loopback, No parity,8 char bits, async mode, 
        // idle-line protocol
        //
        SciaRegs.SCICCR.all =0x0007;   
    	
        //
        // enable TX, RX, internal SCICLK, Disable RX ERR, SLEEP, TXWAKE
        //
        SciaRegs.SCICTL1.all =0x0003;  
    
    	SciaRegs.SCICTL2.bit.TXINTENA =1;
    	SciaRegs.SCICTL2.bit.RXBKINTENA =1;
    
    	//
        // 115200 baud @LSPCLK = 22.5MHz (90 MHz SYSCLK).
        //
        SciaRegs.SCIHBAUD    =0x0000;  
        
        SciaRegs.SCILBAUD    =0x0017;
    
    	SciaRegs.SCICTL1.all =0x0023;  // Relinquish SCI from Reset
      
        return;
    }
    
    
    
    //
    // Main
    //
    void main(void)
    {
        volatile int status = 0;
    
        volatile FILE *fid;
        
        //
        // If running from flash copy RAM only functions to RAM
        //
    #ifdef _FLASH
        memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
    #endif      
    
        //
        // Step 1. Initialize System Control:
        // PLL, WatchDog, enable Peripheral Clocks
        // This example function is found in the F2806x_SysCtrl.c file.
        //
        InitSysCtrl();
    
        //
        // Step 2. Initalize GPIO:
        // This example function is found in the F2806x_Gpio.c file and
        // illustrates how to set the GPIO to its default state.
        //
        // InitGpio(); Skipped for this example
    
        //
        // For this example, only init the pins for the SCI-A port.
        // This function is found in the F2806x_Sci.c file.
        //
        InitSciaGpio();
    
        //
        // Step 3. Clear all interrupts and initialize PIE vector table:
        // Disable CPU interrupts
        //
        DINT;
    
        //
        // Initialize PIE control registers to their default state.
        // The default state is all PIE interrupts disabled and flags
        // are cleared.
        // This function is found in the F2806x_PieCtrl.c file.
        //
        InitPieCtrl();
    
        //
        // Disable CPU interrupts and clear all CPU interrupt flags:
        //
        IER = 0x0000;
        IFR = 0x0000;
    
        //
        // Initialize the PIE vector table with pointers to the shell Interrupt
        // Service Routines (ISR).
        // This will populate the entire table, even if the interrupt
        // is not used in this example.  This is useful for debug purposes.
        // The shell ISR routines are found in F2806x_DefaultIsr.c.
        // This function is found in F2806x_PieVect.c.
        //
        InitPieVectTable();
    
    
    
        EALLOW;  // This is needed to write to EALLOW protected register
        PieVectTable.ADCINT1 = &adc_isr;
        EDIS;    // This is needed to disable write to EALLOW protected registers
    
    
    
        //
        // Initialize SCIA
        //
        scia_init();
    
    
    
        
    
    
    
        //
        // Configure the ADC: Initialize the ADC
        //
        InitAdc();  // Initialize the ADC
        InitAdcAio();
        //AdcOffsetSelfCal();
    
    
    
        //
        // Enable ADCINT1 in PIE
        //
        PieCtrlRegs.PIEIER1.bit.INTx1 = 1; // Enable INT 1.1 in the PIE
        IER |= M_INT1;                     // Enable CPU Interrupt 1
        EINT;                              // Enable Global interrupt INTM
        ERTM;                              // Enable Global realtime interrupt DBGM
    
    
    
    
    
    
        EALLOW;
        AdcRegs.ADCCTL2.bit.ADCNONOVERLAP = 1;	//Enable non-overlap mode
        //
        // ADCINT1 trips after AdcResults latch
        //
        AdcRegs.ADCCTL1.bit.INTPULSEPOS = 1;
    
        AdcRegs.INTSEL1N2.bit.INT1E     = 1;  // Enabled ADCINT1
        AdcRegs.INTSEL1N2.bit.INT1CONT  = 0;  // Disable ADCINT1 Continuous mode
        //
        // setup EOC1 to trigger ADCINT1 to fire
        //
        AdcRegs.INTSEL1N2.bit.INT1SEL   = 5;
    
        
        
        //Channels Setup
    
        AdcRegs.ADCSOC0CTL.bit.CHSEL  = 0;  // set SOC0 channe0 select to ADCINA0 (Va)
        AdcRegs.ADCSOC1CTL.bit.CHSEL  = 1;  // set SOC1 channel select to ADCINA1 (Vb)
        AdcRegs.ADCSOC2CTL.bit.CHSEL  = 2;  // set SOC2 channe2 select to ADCINA2 (Vc)
        AdcRegs.ADCSOC3CTL.bit.CHSEL  = 3;  // set SOC3 channe3 select to ADCINA3 (Ia)
        AdcRegs.ADCSOC4CTL.bit.CHSEL  = 4;  // set SOC4 channe4 select to ADCINA4 (Ib)
        AdcRegs.ADCSOC5CTL.bit.CHSEL  = 5;  // set SOC5 channe5 select to ADCINA5 (Ic)
        //
        // Set SOCx acquisition period to 26 ADCCLK
        //
        AdcRegs.ADCSOC0CTL.bit.ACQPS  = 25;   // this window can be reduced later when complete test is done
        AdcRegs.ADCSOC1CTL.bit.ACQPS  = 25;
        AdcRegs.ADCSOC2CTL.bit.ACQPS  = 25;
        AdcRegs.ADCSOC3CTL.bit.ACQPS  = 25;
        AdcRegs.ADCSOC4CTL.bit.ACQPS  = 25;
        AdcRegs.ADCSOC5CTL.bit.ACQPS  = 25;
        
    
        // set SOC0 start trigger on EPWM1A, due to round-robin SOC0 converts
        // first then SOC1
        //
        AdcRegs.ADCSOC0CTL.bit.TRIGSEL  = 5;
        AdcRegs.ADCSOC1CTL.bit.TRIGSEL  = 5;
        AdcRegs.ADCSOC2CTL.bit.TRIGSEL  = 5;
        AdcRegs.ADCSOC3CTL.bit.TRIGSEL  = 5;
        AdcRegs.ADCSOC4CTL.bit.TRIGSEL  = 5;
        AdcRegs.ADCSOC5CTL.bit.TRIGSEL  = 5;
    
        EDIS;
    
    
        /////////////////// ePWM Module Setup /////////////////////////////////////////////////
    
        //
        // ePWM1 clock is already enabled in InitSysCtrl();
        //
        EALLOW;
        EPwm1Regs.TBCTL.bit.HSPCLKDIV = 0; //TBCLK = SYSCLKOUT / (HSPCLKDIV � CLKDIV)
        EPwm1Regs.TBCTL.bit.CLKDIV = 0;
        EDIS;
        EPwm1Regs.ETSEL.bit.SOCAEN  = 1;        // Enable SOC on A group
        EPwm1Regs.ETSEL.bit.SOCASEL = 2;        // Enable event time-base counter equal to period (TBCTR = TBPRD)
        EPwm1Regs.ETPS.bit.SOCAPRD  = 1;        // Generate pulse on 1st event
        //EPwm1Regs.CMPA.half.CMPA  = 0x0080;   // Set compare A value
        EPwm1Regs.TBPRD             = 0x30D3;   // Set period for ePWM1 Change later to 0x30D3
        EPwm1Regs.TBCTL.bit.CTRMODE = 0;        // count up and start
    
    
    
    
    
    
        /////////////////// COMMUNICATIONS SCI UART  & PUTTY /////////////////////////////////////////////////
    
        //
        // Redirect STDOUT to SCI
        //
        status = add_device("scia", _SSA, SCI_open, SCI_close, SCI_read, SCI_write,
                            SCI_lseek, SCI_unlink, SCI_rename);
        fid = fopen("scia","w");
        freopen("scia:", "w", stdout);
        setvbuf(stdout, NULL, _IONBF, 0);
        
        
    
        //clearTextBox();
        
    
        
    
        //
        // Main program loop - continually sample Vs & Is
        //
        for(;;)
        {
           LoopCount++;
        }
    }
    
    ////////////////////////// Suggestion if MCU becomes DSP calculate Ref. Voltages as well as the three thresholds
    ////////////////////////// By feeding and sampling nominal voltages (120VAC RMS) then calculate their RMS digitally
    ////////////////////////// save them to globals and then start monitoring for events.
    
    __interrupt void
    adc_isr(void)
    {
    
    
        /* Digital Value = 4096 [(Input � VREFLO)/3.3v] */
        Va = AdcResult.ADCRESULT0 * 3.3/4096;
        Vb = AdcResult.ADCRESULT1 * 3.3/4096;
        Vc = AdcResult.ADCRESULT2 * 3.3/4096;
        Ia = AdcResult.ADCRESULT3 * 3.3/4096;
        Ib = AdcResult.ADCRESULT4 * 3.3/4096;
        Ic = AdcResult.ADCRESULT5 * 3.3/4096;
    
        sendValues();
    
    
        //
        // Clear ADCINT1 flag reinitialize for next SOC
        //
        AdcRegs.ADCINTFLGCLR.bit.ADCINT1 = 1;
    
        PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;   // Acknowledge interrupt to PIE
    
        return;
    }
    
    
    
    //
    // End of File
    //
    
    
    //###########################################################################
    //
    // FILE:    F2806x_Adc.c
    //
    // TITLE:   F2806x ADC Initialization & Support Functions.
    //
    //###########################################################################
    // $TI Release: F2806x Support Library v2.04.00.00 $
    // $Release Date: Sun Sep 29 07:33:29 CDT 2019 $
    // $Copyright:
    // Copyright (C) 2009-2019 Texas Instruments Incorporated - http://www.ti.com/
    //
    // Redistribution and use in source and binary forms, with or without 
    // modification, are permitted provided that the following conditions 
    // are met:
    // 
    //   Redistributions of source code must retain the above copyright 
    //   notice, this list of conditions and the following disclaimer.
    // 
    //   Redistributions in binary form must reproduce the above copyright
    //   notice, this list of conditions and the following disclaimer in the 
    //   documentation and/or other materials provided with the   
    //   distribution.
    // 
    //   Neither the name of Texas Instruments Incorporated nor the names of
    //   its contributors may be used to endorse or promote products derived
    //   from this software without specific prior written permission.
    // 
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
    // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
    // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
    // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
    // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
    // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
    // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    // $
    //###########################################################################
    
    //
    // Included Files
    //
    #include "F2806x_Device.h"     // F2806x Headerfile Include File
    #include "F2806x_Examples.h"   // F2806x Examples Include File
    
    //
    // Defines
    //
    #define ADC_usDELAY  1000L
    
    //
    // InitAdc - This function initializes ADC to a known state.
    //
    // NOTE: ADC INIT IS DIFFERENT ON F2806x DEVICES COMPARED TO OTHER 28X DEVICES
    //
    //  *IMPORTANT*
    //  IF RUNNING FROM FLASH, PLEASE COPY OVER THE SECTION "ramfuncs"  FROM FLASH
    //  TO RAM PRIOR TO CALLING InitSysCtrl(). THIS PREVENTS THE MCU FROM THROWING 
    //  AN EXCEPTION WHEN A CALL TO DELAY_US() IS MADE. 
    //
    void
    InitAdc(void)
    {
        extern void DSP28x_usDelay(Uint32 Count);
    
        //
        // *IMPORTANT*
        // The Device_cal function, which copies the ADC calibration values from TI
        // reserved OTP into the ADCREFSEL and ADCOFFTRIM registers, occurs 
        // automatically in the Boot ROM. If the boot ROM code is bypassed during 
        // the debug process, the following function MUST be called for the ADC to 
        // function according to specification. The clocks to the ADC MUST be 
        // enabled before calling this function.
        // See the device data manual and/or the ADC Reference
        // Manual for more information.
        //
        EALLOW; 
        SysCtrlRegs.PCLKCR0.bit.ADCENCLK = 1;
        (*Device_cal)();
        EDIS;
    
        //
        // To powerup the ADC the ADCENCLK bit should be set first to enable
        // clocks, followed by powering up the bandgap, reference circuitry, 
        // and ADC core. Before the first conversion is performed a 5ms delay must 
        // be observed after power up to give all analog circuits time to power up 
        // and settle
        //
    
        //
        // Please note that for the delay function below to operate correctly the
        // CPU_RATE define statement in the F2806x_Examples.h file must
        // contain the correct CPU clock period in nanoseconds.
        //
        EALLOW;
        AdcRegs.ADCCTL1.bit.ADCBGPWD  = 1;      // Power ADC BG
        AdcRegs.ADCCTL1.bit.ADCREFPWD = 1;      // Power reference
        AdcRegs.ADCCTL1.bit.ADCPWDN   = 1;      // Power ADC
        AdcRegs.ADCCTL1.bit.ADCENABLE = 1;      // Enable ADC
        AdcRegs.ADCCTL1.bit.ADCREFSEL = 0;      // Select interal BG
        EDIS;
    
        DELAY_US(ADC_usDELAY);         // Delay before converting ADC channels
    
        EALLOW;
        AdcRegs.ADCCTL2.bit.CLKDIV2EN = 0;
        EDIS;
    
        DELAY_US(ADC_usDELAY);         // Delay before converting ADC channels
    }
    
    //
    // InitAdcAio - 
    //
    void
    InitAdcAio()
    {
        EALLOW;
    
        //
        // Configure ADC pins using AIO regs
        // This specifies which of the possible AIO pins will be Analog input pins.
        // NOTE: AIO1,3,5,7-9,11,13,15 are analog inputs in all AIOMUX1 
        // configurations.
        // Comment out other unwanted lines.
        //
        
        //
        // Configure AIO2 for A2 (analog input) operation
        //
        GpioCtrlRegs.AIOMUX1.bit.AIO2 = 2;
        
        //
        // Configure AIO4 for A4 (analog input) operation
        //
        GpioCtrlRegs.AIOMUX1.bit.AIO4 = 2;
        
        //
        // Configure AIO6 for A6 (analog input) operation
        //
        GpioCtrlRegs.AIOMUX1.bit.AIO6 = 2;
        
        //
        // Configure AIO10 for B2 (analog input) operation
        //
        GpioCtrlRegs.AIOMUX1.bit.AIO10 = 2;
        
        //
        // Configure AIO12 for B4 (analog input) operation
        //
        GpioCtrlRegs.AIOMUX1.bit.AIO12 = 2;
        
        //
        // Configure AIO14 for B6 (analog input) operation
        //
        GpioCtrlRegs.AIOMUX1.bit.AIO14 = 2;
    
        EDIS;
    }
    
    //
    // AdcoffsetSelfCal - This function re-calibrates the ADC zero offset error by 
    // converting the VREFLO reference with the ADC and modifying the ADCOFFTRIM 
    // register. VREFLO is sampled by the ADC using an internal MUX select which 
    // connects VREFLO to A5 without sacrificing an external ADC pin. This function
    // calls two other functions:
    // - AdcChanSelect(channel) � selects the ADC channel to convert
    // - AdcConversion() � initiates several ADC conversions and returns the 
    //   average
    //
    void
    AdcOffsetSelfCal()
    {
        Uint16 AdcConvMean;
        EALLOW;
        AdcRegs.ADCCTL1.bit.ADCREFSEL = 0;   // Select internal reference mode
        
        //
        // Select VREFLO internal connection on B5
        //
        AdcRegs.ADCCTL1.bit.VREFLOCONV = 1;
        
        //
        // Select channel B5 for all SOC
        //
        AdcChanSelect(13);
        
        //
        // Apply artificial offset (+80) to account for a negative offset that may 
        // reside in the ADC core
        //
        AdcRegs.ADCOFFTRIM.bit.OFFTRIM = 80;
        
        AdcConvMean = AdcConversion();       // Capture ADC conversion on VREFLO
        
        //
        // Set offtrim register with new value (i.e remove artical offset (+80) 
        // and create a two's compliment of the offset error)
        //
        AdcRegs.ADCOFFTRIM.bit.OFFTRIM = 80 - AdcConvMean;
        
        //
        // Select external ADCIN5 input pin on B5
        //
        AdcRegs.ADCCTL1.bit.VREFLOCONV = 0;
        
        EDIS;
    }
    
    //
    // AdcChanSelect - This function selects the ADC channel to convert by setting 
    // all SOC channel selects to a single channel.
    // * IMPORTANT * 
    // This function will overwrite previous SOC channel select settings. 
    // Recommend saving the previous settings.
    //
    void
    AdcChanSelect(Uint16 ch_no)
    {
        AdcRegs.ADCSOC0CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC1CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC2CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC3CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC4CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC5CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC6CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC7CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC8CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC9CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC10CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC11CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC12CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC13CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC14CTL.bit.CHSEL= ch_no;
        AdcRegs.ADCSOC15CTL.bit.CHSEL= ch_no;
    }
    
    //
    // AdcConversion - This function initiates several ADC conversions and returns 
    // the average. It uses ADCINT1 and ADCINT2 to "ping-pong" between SOC0-7 
    // and SOC8-15 and is referred to as "ping-pong" sampling.
    // * IMPORTANT *
    // This function will overwrite previous ADC settings. Recommend saving 
    // previous settings.
    //
    Uint16
    AdcConversion(void)
    {
        Uint16 index, SampleSize, Mean, ACQPS_Value;
        Uint32 Sum;
    
        index       = 0;            // initialize index to 0
        
        //
        // set sample size to 256 
        // (**NOTE: Sample size must be multiples of 2^x where is an integer >= 4)
        //
        SampleSize  = 256;          
        Sum         = 0;            // set sum to 0
        Mean        = 999;          // initialize mean to known value
    
        //
        // Set the ADC sample window to the desired value
        // (Sample window = ACQPS + 1)
        //
        ACQPS_Value = 6;
        AdcRegs.ADCSOC0CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC1CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC2CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC3CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC4CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC5CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC6CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC7CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC8CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC9CTL.bit.ACQPS  = ACQPS_Value;
        AdcRegs.ADCSOC10CTL.bit.ACQPS = ACQPS_Value;
        AdcRegs.ADCSOC11CTL.bit.ACQPS = ACQPS_Value;
        AdcRegs.ADCSOC12CTL.bit.ACQPS = ACQPS_Value;
        AdcRegs.ADCSOC13CTL.bit.ACQPS = ACQPS_Value;
        AdcRegs.ADCSOC14CTL.bit.ACQPS = ACQPS_Value;
        AdcRegs.ADCSOC15CTL.bit.ACQPS = ACQPS_Value;
    
        //
        // Enable ping-pong sampling
        //
    
        //
        // Enabled ADCINT1 and ADCINT2
        //
        AdcRegs.INTSEL1N2.bit.INT1E = 1;
        AdcRegs.INTSEL1N2.bit.INT2E = 1;
    
        //
        // Disable continuous sampling for ADCINT1 and ADCINT2
        //
        AdcRegs.INTSEL1N2.bit.INT1CONT = 0;
        AdcRegs.INTSEL1N2.bit.INT2CONT = 0;
    
        //
        // ADCINTs trigger at end of conversion
        //
        AdcRegs.ADCCTL1.bit.INTPULSEPOS = 1;
    
        //
        // Setup ADCINT1 and ADCINT2 trigger source
        //
        AdcRegs.INTSEL1N2.bit.INT1SEL = 6;      // EOC6 triggers ADCINT1
        AdcRegs.INTSEL1N2.bit.INT2SEL = 14;     // EOC14 triggers ADCINT2
    
        //
        // Setup each SOC's ADCINT trigger source
        //
        AdcRegs.ADCINTSOCSEL1.bit.SOC0  = 2;    // ADCINT2 starts SOC0-7
        AdcRegs.ADCINTSOCSEL1.bit.SOC1  = 2;
        AdcRegs.ADCINTSOCSEL1.bit.SOC2  = 2;
        AdcRegs.ADCINTSOCSEL1.bit.SOC3  = 2;
        AdcRegs.ADCINTSOCSEL1.bit.SOC4  = 2;
        AdcRegs.ADCINTSOCSEL1.bit.SOC5  = 2;
        AdcRegs.ADCINTSOCSEL1.bit.SOC6  = 2;
        AdcRegs.ADCINTSOCSEL1.bit.SOC7  = 2;
        AdcRegs.ADCINTSOCSEL2.bit.SOC8  = 1;    // ADCINT1 starts SOC8-15
        AdcRegs.ADCINTSOCSEL2.bit.SOC9  = 1;
        AdcRegs.ADCINTSOCSEL2.bit.SOC10 = 1;
        AdcRegs.ADCINTSOCSEL2.bit.SOC11 = 1;
        AdcRegs.ADCINTSOCSEL2.bit.SOC12 = 1;
        AdcRegs.ADCINTSOCSEL2.bit.SOC13 = 1;
        AdcRegs.ADCINTSOCSEL2.bit.SOC14 = 1;
        AdcRegs.ADCINTSOCSEL2.bit.SOC15 = 1;
    
        DELAY_US(ADC_usDELAY);              // Delay before converting ADC channels
    
        //
        // ADC Conversion
        //
        
        //
        // Force Start SOC0-7 to begin ping-pong sampling
        //
        AdcRegs.ADCSOCFRC1.all = 0x00FF;
    
        while( index < SampleSize )
        {
            //
            // Wait for ADCINT1 to trigger, then add ADCRESULT0-7 registers to sum
            //
            while (AdcRegs.ADCINTFLG.bit.ADCINT1 == 0)
            {
                
            }
            
            //
            // Must clear ADCINT1 flag since INT1CONT = 0
            //
            AdcRegs.ADCINTFLGCLR.bit.ADCINT1 = 1;
            Sum += AdcResult.ADCRESULT0;
            Sum += AdcResult.ADCRESULT1;
            Sum += AdcResult.ADCRESULT2;
            Sum += AdcResult.ADCRESULT3;
            Sum += AdcResult.ADCRESULT4;
            Sum += AdcResult.ADCRESULT5;
            Sum += AdcResult.ADCRESULT6;
            
            //
            // Wait for SOC9 conversion to start, which gives time for SOC7 
            // conversion result
            //
            while( AdcRegs.ADCSOCFLG1.bit.SOC9 == 1 )
            {
                
            }
            Sum += AdcResult.ADCRESULT7;
    
            //
            // Wait for ADCINT2 to trigger, then add ADCRESULT8-15 registers to sum
            //
            while (AdcRegs.ADCINTFLG.bit.ADCINT2 == 0)
            {
                
            }
            
            //
            // Must clear ADCINT2 flag since INT2CONT = 0
            //
            AdcRegs.ADCINTFLGCLR.bit.ADCINT2 = 1;
            
            Sum += AdcResult.ADCRESULT8;
            Sum += AdcResult.ADCRESULT9;
            Sum += AdcResult.ADCRESULT10;
            Sum += AdcResult.ADCRESULT11;
            Sum += AdcResult.ADCRESULT12;
            Sum += AdcResult.ADCRESULT13;
            Sum += AdcResult.ADCRESULT14;
            
            //
            // Wait for SOC1 conversion to start, which gives time for 
            // SOC15 conversion result
            //
            while( AdcRegs.ADCSOCFLG1.bit.SOC1 == 1 )
            {
                
            }
            Sum += AdcResult.ADCRESULT15;
    
            index+=16;
    
        }
    
        //
        // Disable ADCINT1 and ADCINT2 to STOP the ping-pong sampling
        //
        AdcRegs.INTSEL1N2.bit.INT1E = 0;
        AdcRegs.INTSEL1N2.bit.INT2E = 0;
    
        //
        // Wait for any pending SOCs to complete
        //
        while(AdcRegs.ADCSOCFLG1.all != 0)
        {
            
        }
    
        //
        // Clear any pending interrupts
        //
        AdcRegs.ADCINTFLGCLR.bit.ADCINT1 = 1;
        AdcRegs.ADCINTFLGCLR.bit.ADCINT2 = 1;
        AdcRegs.ADCINTOVFCLR.bit.ADCINT1 = 1;
        AdcRegs.ADCINTOVFCLR.bit.ADCINT2 = 1;
    
        //
        // reset RR pointer to 32, so that next SOC is SOC0
        //
        AdcRegs.SOCPRICTL.bit.SOCPRIORITY = 1;
        while( AdcRegs.SOCPRICTL.bit.SOCPRIORITY != 1 );
        AdcRegs.SOCPRICTL.bit.SOCPRIORITY = 0;
        while( AdcRegs.SOCPRICTL.bit.SOCPRIORITY != 0 );
    
        Mean = Sum / SampleSize;    // Calculate average ADC sample value
    
        return Mean;                // return the average
    }
    
    //
    // End of file
    //
    
    
    .

    This is a customized TI example project (Used it  to run on (LAUNCHXL-F28069M) launchpad). I imported the (launchxl-f28069m) example project from the C2000Ware -v:2.00.00.03. I attached both the main program and the F2806x_Adc.c files to look at (I don't know how to upload the whole project) so beside that warning this is happening every time I start debugging : program halt when I start debugging at the AdcOffsetSelfCal().

     

    Thanks


    **** Clean-only build of configuration Debug for project MCU_SAMPLER ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k clean

    DEL /F "Example_2806xLaunchPad.out"
    DEL /F "F2806x_Adc.obj" "F2806x_CodeStartBranch.obj" "F2806x_CpuTimers.obj" "F2806x_DefaultIsr.obj" "F2806x_GlobalVariableDefs.obj" "F2806x_PieCtrl.obj" "F2806x_PieVect.obj" "F2806x_Sci.obj" "F2806x_SysCtrl.obj" "F2806x_TempSensorConv.obj" "F2806x_usDelay.obj" "Main_MCU_SAMPLER.obj" "sci_io.obj"
    DEL /F "F2806x_Adc.d" "F2806x_CpuTimers.d" "F2806x_DefaultIsr.d" "F2806x_GlobalVariableDefs.d" "F2806x_PieCtrl.d" "F2806x_PieVect.d" "F2806x_Sci.d" "F2806x_SysCtrl.d" "F2806x_TempSensorConv.d" "Main_MCU_SAMPLER.d" "sci_io.d"
    DEL /F "F2806x_CodeStartBranch.d" "F2806x_usDelay.d"
    Could Not Find C:\Users\Delawer\Downloads\MCU_SAMPLER\Debug\Example_2806xLaunchPad.out
    Could Not Find C:\Users\Delawer\Downloads\MCU_SAMPLER\Debug\F2806x_Adc.obj
    Could Not Find C:\Users\Delawer\Downloads\MCU_SAMPLER\Debug\F2806x_Adc.d
    Could Not Find C:\Users\Delawer\Downloads\MCU_SAMPLER\Debug\F2806x_CodeStartBranch.d
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project MCU_SAMPLER ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_Adc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_Adc.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_Adc.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_Adc.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_CodeStartBranch.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_CpuTimers.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_CpuTimers.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_CpuTimers.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_CpuTimers.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_DefaultIsr.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_DefaultIsr.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_DefaultIsr.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_DefaultIsr.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_GlobalVariableDefs.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_PieCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_PieCtrl.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_PieCtrl.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_PieCtrl.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_PieVect.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_PieVect.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_PieVect.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_PieVect.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_Sci.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_Sci.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_Sci.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_Sci.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_SysCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_SysCtrl.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_SysCtrl.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_SysCtrl.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_TempSensorConv.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_TempSensorConv.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_TempSensorConv.c"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_TempSensorConv.c"

    Building file: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_usDelay.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_usDelay.d_raw" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_usDelay.asm"
    Finished building: "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/source/F2806x_usDelay.asm"

    Building file: "../Main_MCU_SAMPLER.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="Main_MCU_SAMPLER.d_raw" "../Main_MCU_SAMPLER.c"
    Finished building: "../Main_MCU_SAMPLER.c"

    Building file: "../sci_io.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/include" --include_path="C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks --preproc_with_compile --preproc_dependency="sci_io.d_raw" "../sci_io.c"
    "../sci_io.c", line 74: remark: parameter "path" was never referenced
    int SCI_open(const char * path, unsigned flags, int llv_fd)
    ^

    "../sci_io.c", line 74: remark: parameter "flags" was never referenced
    int SCI_open(const char * path, unsigned flags, int llv_fd)
    ^

    "../sci_io.c", line 74: remark: parameter "llv_fd" was never referenced
    int SCI_open(const char * path, unsigned flags, int llv_fd)
    ^

    "../sci_io.c", line 106: remark: parameter "dev_fd" was never referenced
    int SCI_read(int dev_fd, char * buf, unsigned count)
    ^

    "../sci_io.c", line 129: remark: parameter "dev_fd" was never referenced
    int SCI_write(int dev_fd, const char * buf, unsigned count)
    ^

    "../sci_io.c", line 153: remark: parameter "dev_fd" was never referenced
    off_t SCI_lseek(int dev_fd, off_t offset, int origin)
    ^

    "../sci_io.c", line 153: remark: parameter "offset" was never referenced
    off_t SCI_lseek(int dev_fd, off_t offset, int origin)
    ^

    "../sci_io.c", line 153: remark: parameter "origin" was never referenced
    off_t SCI_lseek(int dev_fd, off_t offset, int origin)
    ^

    "../sci_io.c", line 161: remark: parameter "path" was never referenced
    int SCI_unlink(const char * path)
    ^

    "../sci_io.c", line 169: remark: parameter "old_name" was never referenced
    int SCI_rename(const char * old_name, const char * new_name)
    ^

    "../sci_io.c", line 169: remark: parameter "new_name" was never referenced
    int SCI_rename(const char * old_name, const char * new_name)
    ^

    Finished building: "../sci_io.c"

    Building target: "Example_2806xLaunchPad.out"
    Invoking: C2000 Linker
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --define="_DEBUG" --define=_FLASH --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=552 --issue_remarks -z --stack_size=0x200 -m"Example_2806xLaunchPad.map" --heap_size=0x400 --warn_sections -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/lib" -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" -i"C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/lib" -i"C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/IQmath/c28/lib" -i"C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/lib" --reread_libs --priority --verbose_diagnostics --issue_remarks --xml_link_info="Example_2806xSci_Echoback_linkInfo.xml" --entry_point=_c_int00 --rom_model -o "Example_2806xLaunchPad.out" -lrts2800_fpu32_fast_supplement.lib -lrts2800_fpu32.lib "./F2806x_Adc.obj" "./F2806x_CodeStartBranch.obj" "./F2806x_CpuTimers.obj" "./F2806x_DefaultIsr.obj" "./F2806x_GlobalVariableDefs.obj" "./F2806x_PieCtrl.obj" "./F2806x_PieVect.obj" "./F2806x_Sci.obj" "./F2806x_SysCtrl.obj" "./F2806x_TempSensorConv.obj" "./F2806x_usDelay.obj" "./Main_MCU_SAMPLER.obj" "./sci_io.obj" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/common/cmd/F28069.cmd" "C:/ti/C2000Ware_2_00_00_03_Software/device_support/f2806x/headers/cmd/F2806x_Headers_nonBIOS.cmd" -lIQmath_fpu32.lib
    remark: linking in "IQmath_fpu32_coff.lib" in place of index library
    "IQmath_fpu32.lib"
    warning: cannot resolve archive
    C:/ti/C2000Ware_2_00_00_03_Software/libraries/math/FPUfastRTS/c28/lib/rts280
    0_fpu32_fast_supplement.lib to a compatible library, as no input files have
    been encountered; build attribute information from input files is needed to
    determine library compatibility
    Finished building target: "Example_2806xLaunchPad.out"

    **** Build Finished ****

  • The reason for the error is that a couple of libraries appear in the command line prior to the list of object files, while they should be after the object files.

    -o "Example_2806xLaunchPad.out" -lrts2800_fpu32_fast_supplement.lib -lrts2800_fpu32.lib "./F2806x_Adc.obj"

    How did you supply these .libs to the project? Are they specified under Project Properties->Build->Linker->File Search Path->--library option? If not, add them there and remove them from any other place they may be added. 

    The end goal is for the linker command to have all the .lib files listed at the end of the command (after all the .obj files).

    Hope this helps.

  • Hi    

    So how do I correct this problem in the project. I have little experience in working around these type of problems.

    Thanks

  • If you zip up your entire project folder and attach it here we could try to reproduce the error and provide direction on how to correct the problem.

    For the long term, it would serve you well to gain an understanding of the CCS project and build system, so if you encounter other problems down the road you can understand the root cause and resolve them yourself. To that end, please have a look at the Projects and Build chapter of the CCS Users Guide:
    http://software-dl.ti.com/ccs/esd/documents/users_guide/index.html

  • Since I haven’t heard back from you, I’m assuming you were able to move past this issue. If not, please feel free to post a reply along with your project to help us reproduce this issue. Thanks!