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.
Tool/software: Code Composer Studio
I am migrating from CCS 6.2 on win 7 to CC 9.3 on windows 10.
It Builds and works fine on CC6 .2 on win 7 .
when I tried same code on CCS9.3 it gives error it exceed Limit .
This error I used to get on CCS6.2 for License related issue .Once License file is mapped it works .
CCS 9.3 doesn't have any options to update license .
Please guide me how to resolve it .
Hi Rakesh,
I assume you are using MSP430 since the free license back then had a code size limit for the MSP430. Are you using the MSP430 build tools (compiler/linker) from your CCSv6 installation with CCSv9? The code size restriction was with the build tools that came with v6. If you do not wish to use the version that comes with v9, I would suggest try downloading/installing the desired version from CCSv9 using the following feature:
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_updates.html#installing-new-software
Thanks
ki
Thanks for the response .
Yes I am using MSP430 .
I just archived the project from CCS6 and Imported it on CCS9.
can you explain what I need to install .
DO I need to install CC6.2 with license file and than CCS 9 will pick it automatically .
OR I need to install some Specific things .
Cam you elaborate more what I need to pick from https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_updates.html#installing-new-software
Rakesh Kumar4 said:I just archived the project from CCS6 and Imported it on CCS9.
Is your project in CCSv9 using the build tools from CCSv6? Can you provide all the build output in the build console when you try to build the project?
ki
I Installed to CCS 9.3 and nothing else .
below is the console log .
**** Build of configuration Debug for project MJ-5_Tap_v020 ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k all
Building file: "../_ProgFlash.asm"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/_ProgFlash.d_raw" "../_ProgFlash.asm"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
Finished building: "../_ProgFlash.asm"
Building file: "../analog.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/analog.d_raw" "../analog.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __signbitl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __signbitf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __signbit
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnormall
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnormalf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnormal
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnanl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnanf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnan
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isinfl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isinff
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isinf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isfinitel
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isfinitef
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isfinite
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __fpclassifyl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __fpclassifyf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __fpclassify
"../analog.c" ==> Analog_isDACEnabled
"../analog.c" ==> Analog_isADCEnabled
"../analog.c" ==> Analog_disableADC
"../analog.c" ==> Analog_enableADC
"../analog.c" ==> Analog_initADC
"../analog.c" ==> Analog_enableDAC
"../analog.c" ==> Analog_disableDAC
"../analog.c" ==> Analog_copyADCs
"../analog.c" ==> ADC12ISR
Finished building: "../analog.c"
Building file: "../diagnostics.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/diagnostics.d_raw" "../diagnostics.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../diagnostics.c" ==> write_ioport
"../diagnostics.c" ==> regconfig_commitVal
"../diagnostics.c" ==> putstr_hexword_leadingspace
"../diagnostics.c" ==> putstr_hexword
"../diagnostics.c" ==> putstr_hexbyte
"../diagnostics.c" ==> putstrU1_rtcc_hr_min_sec
"../diagnostics.c" ==> putstrU1_rtcc
"../diagnostics.c" ==> putStrInt32
"../diagnostics.c" ==> dtoa
"../diagnostics.c" ==> convertToChar
"../diagnostics.c" ==> config_commitVal
"../diagnostics.c" ==> com_led
"../diagnostics.c" ==> ascii2hex
"../diagnostics.c" ==> Diagnostics_runDiagnostics
"../diagnostics.c" ==> Diagnostics_debugOutput
"../diagnostics.c" ==> Diagnostics_commitCalVal_raw
"../diagnostics.c" ==> Diagnostics_commitCalVal
"../diagnostics.c" ==> Diagnostics_calibrateAnalog
Finished building: "../diagnostics.c"
Building file: "../events.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/events.d_raw" "../events.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../events.c" ==> update_event_status
"../events.c" ==> setevt
"../events.c" ==> init_event_falg
"../events.c" ==> incevt
"../events.c" ==> decevt
"../events.c" ==> clrevt
"../events.c" ==> chkevt
Finished building: "../events.c"
Building file: "../flash.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/flash.d_raw" "../flash.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../flash.c" ==> Flash_crc16
"../flash.c" ==> Flash_eraseUserFlash
"../flash.c" ==> Flash_writeDataToFlash
"../flash.c" ==> Flash_restoreDefaultCalVals
"../flash.c" ==> Flash_initFlash
"../flash.c" ==> Flash_getFlashLocation
Finished building: "../flash.c"
Building file: "../harmonics.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/harmonics.d_raw" "../harmonics.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../harmonics.c" ==> fix_fft
"../harmonics.c" ==> fix_fftr
Finished building: "../harmonics.c"
Building file: "../inputs.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/inputs.d_raw" "../inputs.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../inputs.c" ==> update_vrc_status
"../inputs.c" ==> update_vlc_status
"../inputs.c" ==> update_tap_control_switch_stat
"../inputs.c" ==> update_pending_auto_tap_change
"../inputs.c" ==> update_mode_status
"../inputs.c" ==> update_indicators
"../inputs.c" ==> update_band_indicator_status
"../inputs.c" ==> update_CCINPUT
"../inputs.c" ==> upd_act_timer
"../inputs.c" ==> TPU_InitSiemensTap
"../inputs.c" ==> InitU10Monitor
"../inputs.c" ==> TPU_InitNonSiemensTap
"../inputs.c" ==> HoldSwitchDropped
"../inputs.c" ==> InitTapChangeMonitor
"../inputs.c" ==> get_discrete
"../inputs.c" ==> MonitorU10
"../inputs.c" ==> MonitorTapChange
"../inputs.c" ==> MonitorJK
"../inputs.c" ==> InitNeutralMonitor
"../inputs.c" ==> GetRawNeutralState
"../inputs.c" ==> MonitorNeutral
"../inputs.c" ==> MonitorVcomp
"../inputs.c" ==> StorePwrDwnTapPos
"../inputs.c" ==> GetNeutralState
"../inputs.c" ==> error
"../inputs.c" ==> lose_tap_position
"../inputs.c" ==> U10Pulsed
"../inputs.c" ==> U10Toggled
"../inputs.c" ==> TapChanged
"../inputs.c" ==> GetVcomp
"../inputs.c" ==> CalcVcompTapDirection
"../inputs.c" ==> init_tap_position
"../inputs.c" ==> dec_tap_position
"../inputs.c" ==> inc_tap_position
"../inputs.c" ==> process_tap_change_to_neutral
"../inputs.c" ==> UpdateTapPosition
"../inputs.c" ==> CalcJKTapDirection
"../inputs.c" ==> CalcPMAutoTapDirection
"../inputs.c" ==> GetPreviousVcomp
"../inputs.c" ==> inc_op_counters
"../inputs.c" ==> track_tap_postion
"../inputs.c" ==> set_discrete
"../inputs.c" ==> get_relay_auto_inhibit_command
"../inputs.c" ==> get_remote_auto_inhibit_command
"../inputs.c" ==> read_automatic_control_inhibit
"../inputs.c" ==> read_auto_manual_switch
"../inputs.c" ==> raw_opcountstatus
"../inputs.c" ==> debounce
"../inputs.c" ==> monitor_vrc_external_inputs
"../inputs.c" ==> monitor_band_status
"../inputs.c" ==> monitor_delay_time
"../inputs.c" ==> monitor_time_overvoltage
"../inputs.c" ==> at_position_long_enough_to_get_inband
"../inputs.c" ==> monitor_time_undervoltage
"../inputs.c" ==> control_band_transition_ops
"../inputs.c" ==> monitor_voltage_band_status
"../inputs.c" ==> monitor_vlc
"../inputs.c" ==> monitor_pt_voltage_threshold
"../inputs.c" ==> manage_vlc
"../inputs.c" ==> manage_mj3a_vrc
"../inputs.c" ==> manage_mjx_vrc
"../inputs.c" ==> manage_remote_vrc
"../inputs.c" ==> determine_tap_request
"../inputs.c" ==> check_vlc_limits
"../inputs.c" ==> check_vari_amp_limits
"../inputs.c" ==> check_current_bias
"../inputs.c" ==> manage_automatic_tap_changes
"../inputs.c" ==> manage_auto_vrc
"../inputs.c" ==> determine_auto_control_mode
"../inputs.c" ==> control_the_mode
"../inputs.c" ==> maintain_controller_mode
"../inputs.c" ==> init_active_settings
"../inputs.c" ==> init_CFG_Parameters
"../inputs.c" ==> initU10monitor
"../inputs.c" ==> chk_vrc_remote_active
"../inputs.c" ==> detect_vrc_activation
"../inputs.c" ==> detect_vlc_active
"../inputs.c" ==> detect_tap_status
"../inputs.c" ==> delay_t
"../inputs.c" ==> control_vrc
"../inputs.c" ==> control_vlc
"../inputs.c" ==> goto_tap_idle_state
"../inputs.c" ==> goto_tap_lower_state
"../inputs.c" ==> goto_tap_raise_state
"../inputs.c" ==> goto_tap_off_state
"../inputs.c" ==> goto_tap_wait_state
"../inputs.c" ==> goto_tap_ovrun_state
"../inputs.c" ==> control_tap_raise_lower
"../inputs.c" ==> control_pseudo_manual_tap_chng
"../inputs.c" ==> control_automatic_tap_changes
"../inputs.c" ==> check_tap_status
"../inputs.c" ==> TAP_CONTROL_TASK
"../inputs.c" ==> SetDefaultREGConfig
"../inputs.c" ==> SetDefaultConfig
"../inputs.c" ==> PowerDownTapKnown
"../inputs.c" ==> Inputs_monitorInputs
"../inputs.c" ==> Inputs_initMonitor
"../inputs.c" ==> InitJKMonitor
"../inputs.c" ==> InitVcompMonitor
"../inputs.c" ==> GetPowerdownTapPosition
"../inputs.c" ==> Init_Tap_postion
"../inputs.c", line 441: warning: variable "flag" was set but never used
short flag = 0;
^
"../inputs.c", line 1091: warning: variable "vrc_set1" was set but never used
double vrc_set1;
^
"../inputs.c", line 1092: warning: variable "vrc_set2" was set but never used
double vrc_set2;
^
"../inputs.c", line 1496: warning: expected an identifier
#ifdef 0
^
"../inputs.c", line 1467: warning: variable "curr_bias_thresh" was declared but
never referenced
float curr_bias_thresh; //rv's add
^
"../inputs.c", line 1992: warning: variable "vari_amp_limited" was set but
never used
bool vari_amp_limited;
^
"../inputs.c", line 1993: warning: variable "current_bias_active" was set but
never used
bool current_bias_active = 0;
^
"../inputs.c", line 2398: warning: variable "flag" was set but never used
short flag;
^
"../inputs.c", line 3044: warning: variable "automatic_tap_cmd_status" was set
but never used
short automatic_tap_cmd_status = 0;
^
"../inputs.c", line 3923: warning: variable "mp_mask_var" is used before its
value is set
if (mp_mask_var == 0x4442) //25May04 JCM, if MP MASK == "DB" (debug) then show RS error
^
"../inputs.c", line 127: warning: variable "errors" was set but never used
static bool errors[NUM_ERRORS + 1];
^
"../inputs.c", line 4005: warning: variable "natcfn_sema" was set but never
used
static bool natcfn_sema = 0; /* semaphore indicating tap change to neutral */
^
Finished building: "../inputs.c"
Building file: "../main.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/main.d_raw" "../main.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../main.c" ==> watchdog_reset
"../main.c" ==> reset_lpc_line
"../main.c" ==> Main_initPorts
"../main.c" ==> init_OP_COUNT_detection
"../main.c" ==> BCDToDecimal
"../main.c" ==> init_RTC
"../main.c" ==> checkdatalimits
"../main.c" ==> InitUART_Flash
"../main.c" ==> main
"../main.c" ==> init_powerfail_detection
"../main.c" ==> disable_ports
"../main.c" ==> basic_timer
"../main.c" ==> Port2_ISR
"../main.c" ==> Port1_ISR
"../main.c" ==> DecimalToBCD
"../main.c", line 103: warning: function "update_indicators" declared
implicitly
update_indicators();
^
"../main.c", line 116: warning: function "init_scale_factor" declared
implicitly
init_scale_factor();
^
"../main.c", line 162: warning: function "getdataIPC" declared implicitly
getdataIPC();
^
"../main.c", line 187: warning: function "getdataIPC" declared implicitly
getdataIPC();
^
"../main.c", line 411: warning: function "MSG_BUILD_NON_SIEMENS_DATA" declared
implicitly
MSG_BUILD_NON_SIEMENS_DATA();
^
"../main.c", line 594: warning: function "_Flash_wb" declared implicitly
_Flash_wb();
^
Finished building: "../main.c"
Building file: "../meter.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/meter.d_raw" "../meter.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../meter.c" ==> update_scalefcator
"../meter.c" ==> init_scale_factor
"../meter.c" ==> determine_ild_shift_amount
"../meter.c" ==> default_scale_factor
"../meter.c" ==> check_current_bias_status
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __signbitl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __signbitf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __signbit
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnormall
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnormalf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnormal
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnanl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnanf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isnan
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isinfl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isinff
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isinf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isfinitel
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isfinitef
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __isfinite
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __fpclassifyl
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __fpclassifyf
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include/_defs.h" ==> __fpclassify
"../meter.c" ==> Meter_populateScaleFactors
"../meter.c" ==> update_xcomp_polarity
"../meter.c" ==> Meter_findClippingChannels
"../meter.c" ==> Meter_clearMeterParm
"../meter.c" ==> Meter_calcAdcAverages
"../meter.c" ==> Meter_calcSumOfSquares
"../meter.c" ==> Meter_calcRootMeanSquare
"../meter.c" ==> Meter_calcRMS
"../meter.c" ==> Meter_scaleRMS
"../meter.c" ==> calcP2Nosspt
"../meter.c" ==> Meter_findILoad
"../meter.c" ==> determineVloadInput
"../meter.c" ==> Meter_calcPower
"../meter.c" ==> determine_pwr_flow_dir
"../meter.c" ==> calcVcomp
"../meter.c" ==> calcPowerDelta
"../meter.c" ==> Meter_calcFrequency
"../meter.c" ==> Meter_doMetering
"../meter.c" ==> KIsOn
"../meter.c" ==> JIsOn
"../meter.c" ==> HSIsOn
"../meter.c", line 117: warning: function "memset" declared implicitly
memset(&ADCs[0],0,sizeof(ADCs));
^
"../meter.c", line 252: warning: function "memset" declared implicitly
memset(&ADCs[0],0,sizeof(ADCs));
^
Finished building: "../meter.c"
Building file: "../msp_func_struc.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/msp_func_struc.d_raw" "../msp_func_struc.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../msp_func_struc.c" ==> setmetervalues
"../msp_func_struc.c" ==> reg_configupdatelocal
"../msp_func_struc.c" ==> chcksum_calc
"../msp_func_struc.c" ==> TestByteOrder
"../msp_func_struc.c" ==> MSG_DATA_TRANSMIT
"../msp_func_struc.c" ==> MSG_BUILD_RTC_SETTING
"../msp_func_struc.c" ==> MSG_BUILD_REG_CONFIG_SETTING
"../msp_func_struc.c" ==> MSG_BUILD_CONFIG_SETTING
"../msp_func_struc.c" ==> MSG_BUILD_LPC_REQ_SETTING
"../msp_func_struc.c" ==> MSG_BUILD_LPC_Restore_SETTING
"../msp_func_struc.c" ==> ProcessWakeupReqMessage
"../msp_func_struc.c" ==> ProcessTapOpMessage
"../msp_func_struc.c" ==> ProcessShutReqMessage
"../msp_func_struc.c" ==> ProcessRegSetMessage
"../msp_func_struc.c" ==> ProcessRTCMessage
"../msp_func_struc.c" ==> ProcessMaintDataReqMessage
"../msp_func_struc.c" ==> ProcessMaintDataInitMessage
"../msp_func_struc.c" ==> ProcessEmerShutReqMessage
"../msp_func_struc.c" ==> MSG_BUILD_CAL_DATA_SETTING
"../msp_func_struc.c" ==> ProcessDiagReqMessage
"../msp_func_struc.c" ==> ProcessConfigMessage
"../msp_func_struc.c" ==> ProcessComDataReqMessage
"../msp_func_struc.c" ==> ProcessAdvConfigMessage
"../msp_func_struc.c" ==> MSG_BUILD_NON_SIEMENS_DATA
"../msp_func_struc.c" ==> MSG_BUILD_METER_SETTING
"../msp_func_struc.c" ==> MSG_BUILD_HARMONIC_SETTING
"../msp_func_struc.c", line 234: warning: enumerated type mixed with another
type
DISCRETE_COMMAND command = buffRead[2];
^
"../msp_func_struc.c", line 315: warning: function "_Flash_wb" declared
implicitly
_Flash_wb();
^
"../msp_func_struc.c", line 333: warning: function "Main_initPorts" declared
implicitly
Main_initPorts(); // Init CLK, Ports
^
"../msp_func_struc.c", line 340: warning: function "Inputs_initMonitor"
declared implicitly
Inputs_initMonitor(); // Setup input monitor module
^
"../msp_func_struc.c", line 341: warning: function "Analog_initADC" declared
implicitly
Analog_initADC(); // Start A/D repetitive conversion
^
"../msp_func_struc.c", line 517: warning: function "raw_opcountstatus" declared
implicitly
raw_opcountstatus();
^
Finished building: "../msp_func_struc.c"
Building file: "../time.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/time.d_raw" "../time.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../time.c" ==> Time_isOneSecondElapsed
"../time.c" ==> Time_isNewZeroCross
"../time.c" ==> Time_isFrequencyLocked
"../time.c" ==> Time_isEigthSecondElapsed
"../time.c" ==> Time_getZeroCrossingSum
"../time.c" ==> TIMERB1_ISR
"../time.c" ==> TIMERB0_ISR
"../time.c" ==> TIMERA1_ISR
"../time.c" ==> TIMERA0_ISR
Finished building: "../time.c"
Building file: "../uart.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="C:/msp_430_mj5/MJ-5_Tap_v020/uart.d_raw" "../uart.c"
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
"../uart.c" ==> serial_init_IPC
"../uart.c" ==> Process_message
"../uart.c" ==> serial_getc
"../uart.c" ==> Reset_TX_FIFO_U1
"../uart.c" ==> Push_U1_TxFifo
"../uart.c" ==> putstrU1
"../uart.c" ==> Reset_TX_FIFO_U0
"../uart.c" ==> Push_U0_TxFifo
"../uart.c" ==> putstrIPC
"../uart.c" ==> process_data
"../uart.c" ==> init_UART1_P1
"../uart.c" ==> init_UART0_J1
"../uart.c" ==> circ_bbuf_pop
"../uart.c" ==> IPC_receive
"../uart.c" ==> getdataIPC
"../uart.c" ==> circ_bbuf_push
"../uart.c" ==> circ_bbuf_free_space
"../uart.c" ==> check_serial_data
"../uart.c" ==> USCI_A0_rx
"../uart.c" ==> Pop_U0_TxFifo
"../uart.c" ==> USCI_A0_Tx
"../uart.c" ==> Pop_U1_TxFifo
"../uart.c" ==> USART1_tx
"../uart.c" ==> USART1_rx
"../uart.c" ==> UART_isU1Busy
"../uart.c" ==> UART_initUart
"../uart.c" ==> UART_getCharU1
"../uart.c", line 580: warning: variable "data" was set but never used
U8 data,j;
^
"../uart.c", line 17: warning: variable "flush_data_size_2200" was set but
never used
static U8 flush_data_size_2200 =0;
^
Finished building: "../uart.c"
Building target: "MJ-5_Tap_v020.out"
Invoking: MSP430 Linker
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" --silicon_version=mspx -g --keep_unneeded_statics --verbose --verbose_diagnostics --diag_warning=225 --printf_support=minimal -z -m"MJ-5_Tap_v020.map" --stack_size=400 --heap_size=0 --use_hw_mpy=16 --verbose_diagnostics --warn_sections -i"C:/ti/ccs930/ccs/ccs_base/msp430/include" -i"C:/" -i"C:/Program Files/Texas Instruments/ccsv4/msp430/include" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --reread_libs --xml_link_info="MJ-5_Tap_v020_linkInfo.xml" --rom_model -o "MJ-5_Tap_v020.out" "./_ProgFlash.obj" "./analog.obj" "./diagnostics.obj" "./events.obj" "./flash.obj" "./harmonics.obj" "./inputs.obj" "./main.obj" "./meter.obj" "./msp_func_struc.obj" "./time.obj" "./uart.obj" "../lnk_msp430fg4618.cmd" -llibc.a
MSP430 C/C++ Compiler v18.12.4.LTS
Copyright (c) 2003-2018 Texas Instruments Incorporated
<Linking>
"../lnk_msp430fg4618.cmd", line 92: warning: Linker command file has no
sections of type=VECT_INIT, but does contain .intXX sections. This file may
be out of date. Generating interrupt pointers for all .intXX sections. The
default handler provided in the RTS will be used if no other handler is
found. It is recommend that you update your linker command file to the
latest version.
.int00 : {} > INT00 /* MSP430 INTERRUPT VECTORS */
warning: creating output section ".data" without a SECTIONS specification
"../lnk_msp430fg4618.cmd", line 78: error: program will not fit into available
memory. placement with alignment fails for section ".cinit" size 0xab .
Available memory ranges:
FLASH size: 0xc900 unused: 0x0 max hole: 0x0
.cinit : {} > FLASH /* INITIALIZATION TABLES */
error: errors encountered during linking; "MJ-5_Tap_v020.out" not built
>> Compilation failure
makefile:147: recipe for target 'MJ-5_Tap_v020.out' failed
gmake: *** [MJ-5_Tap_v020.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Issue is resolved after I updated my complier to 4.2.7 and updated my build setting to use 4.2.7.
Thanks a lot for help.
It complier version issue .
Glad to hear that you resolved the issue.
One thing I wanted to clarify is that the linker error you were getting is not the linker code size limit issue but actually the issue mentioned below:
https://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099
Switching to the older linker must have generated a smaller code that allowed the generated section to fit in the specified range.
ki
Thanks . I did tried reducing RAM and code It doesn't resolved .
We can get same issue when license was not present in CC6.2 .
Somehow this error is misleading .
may be I need to use new linker file one day instead of porting it from legacy file .