Version conflicts during build/debug program or asm/cmd file ?

Dear All,

I am working in a project where, a AC to DC converter is taking part for a battery charger( 120vdc/50A). F28069 is my goal for control the whole system considering ADC, PWM switching, shunt sensing and battery charging and discharging monitoring.( very complex algorithm and PID)

I have a reference design F\W, It was debug in CCS version  v.5. Some other people might use other versionV10.1, V.1  as well. 

For three phase I started with following for AC R phase  initialization 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include "AC_SYNC.h"
#include "Register.h"
#include "LED.h"
#include "Message.h"
#include "PWM.h"
BOOL bACSync;
int AC_R_SyncIndex;
////////////////////////////////////////// AC Sync
void InitAC_Sync(void)
{
GpioIntRegs.GPIOXINT1SEL.bit.GPIOSEL = 23; // XINT1 is GPIO23, XINT1 Source Select Register,This is multiplexing MUX PIE table
XINT1 = &XINT_AC_R_ISR; // XINT1 External Interrupt 1,that is called as a function of Interrupt enable register(IER) in pie vector table
PieCtrlRegs.PIEIER1.bit.INTx4 = 1; // Enable PIE Group 1 INT4
XIntruptRegs.XINT1CR.bit.POLARITY = 1; // Riging edge, XINT1CR is external intrurrept control from GPIOINT1SL MUX [ 4:0], polarity determines rising or falling edge of a signal, 1 means EN
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

BOOL is not a assembly language or floating unit? 

Currently I am using Project>properties>General > In advance setting I am using compiler v TIv6.0.2 , Liner command file  F28069_CLA_lnk.cmd  and rts2800_fpu32.lib for runtime support lib.

At Project>properties>Built>C2000 Compiler> at add  # include search path I have have  adding F2806x common and header files and CG_TOOL_ROOT.

in  F28069_CLA_lnk.cmd file its written that

 / For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\F2806x_headers\cmd
//
// For BIOS applications add: F2806x_Headers_BIOS.cmd
// For nonBIOS applications add: F2806x_Headers_nonBIOS.cmd

In this project some assembly files are not activated not sure does it need modification or not.

Take a look..

Take a look the build console for this file.

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../AC_SYNC.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv5/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g -O3 --include_path="C:/ti/ccsv5/tools/compiler/c2000/include" --include_path="C:/ti/ccsv5/tools/compiler/c2000/lib" --include_path="C:/F2806x_common" --include_path="C:/F2806x_headers" --diag_warning=225 --display_error_number --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --preproc_with_compile --preproc_dependency="AC_SYNC.pp" "../AC_SYNC.c"
"..\DSP28x_Project.h", line 173: fatal error #5: could not open source file "F2806x_Adc.h"
1 fatal error detected in the compilation of "../AC_SYNC.c".
Compilation terminated.

Just one error says ' fatal error #5: could not open source file "F2806x_Adc.h"

Kindly suggest what should I do.

0