Part Number:TMS320F28069M
Tool/software: Code Composer Studio
Guys, excuse my frustration:
Why, is CCS such a pain to configure?
I am desperately trying to split a project out of the proj_lab05g example and create my own self contained project.
I want to be able to zip the project folder and open it anytime and want to have the knowledge that everything is inside this folder and it wouldn't be modified upon motorware update for example.
I want to be able to move this folder on another PC, install CCS and be able to start working immediately.. it is such a simple wish.
I want all files to be in the workplace folder and not all over the hard drive.
I have wasted weeks now chasing something so so simple that I can achieve with IAR Workbench for example in seconds!
I have read countless threads on this forum and I have seen so many poor souls as myself trying to achieve the same.
And so many of the threads are inconclusively closed as "resolved" without any hint of how this was exactly done - if the user has given up one can't assume the problem was resolved. Even if the user has found a solution until this solution is shared on the forum practically no one can benefit from it.
Why, when I include the file absolutely or relatively in the source code I have to also provide the folder where the file is located in the file search path. Why if I do both it still doesn't work??
I have provided references in the project settings, I have addressed the files absolutely in the source code and frankly I have tried everything.
If I had a chance to drop CCS for IAR I would have done it by now but unfortunately this processor (TMS320F28069M) is only supported on CCS.
Please people, help...
here's what the error looks like
undefined first referenced
symbol in file
--------- ----------------
_CTRL_getVersion ./main.obj
_CTRL_initCtrl ./main.obj
_CTRL_runTraj ./MW/ctrl.obj
_CTRL_setEstParams ./MW/ctrl.obj
_CTRL_setUserMotorParams ./MW/ctrl.obj
_CTRL_setupCtrl ./MW/ctrl.obj
_CTRL_setupEstIdleState ./MW/ctrl.obj
_CTRL_setupEstOnLineState ./MW/ctrl.obj
_CTRL_setupTraj ./MW/ctrl.obj
_EST_doCurrentCtrl ./MW/ctrl.obj
_EST_doSpeedCtrl ./MW/ctrl.obj
_EST_getAngle_pu ./MW/ctrl.obj
_EST_getDcBus_pu ./main.obj
_EST_getFlux_VpHz ./main.obj
_EST_getFm_pu ./MW/ctrl.obj
_EST_getIdRated ./main.obj
_EST_getLs_d_H ./main.obj
_EST_getLs_q_H ./main.obj
_EST_getMaxCurrentSlope_pu ./main.obj
_EST_getOneOverDcBus_pu ./MW/ctrl.obj
_EST_getRr_Ohm ./main.obj
_EST_getRs_Ohm ./main.obj
_EST_getSignOfDirection ./MW/LIN.obj
_EST_getSpeed_krpm ./main.obj
_EST_getState ./main.obj
_EST_getTorque_Nm ./main.obj
_EST_get_krpm_to_pu_sf ./MW/ctrl.obj
_EST_get_pu_to_krpm_sf ./main.obj
_EST_isError ./MW/ctrl.obj
_EST_isIdle ./MW/ctrl.obj
_EST_isLockRotor ./MW/ctrl.obj
_EST_isMotorIdentified ./main.obj
_EST_isOnLine ./MW/ctrl.obj
_EST_run ./MW/ctrl.obj
_EST_setFlag_enableForceAngle ./main.obj
_EST_setFlag_enableRsRecalc ./main.obj
_EST_setId_ref_pu ./MW/ctrl.obj
_EST_setIdle ./MW/ctrl.obj
_EST_setIdle_all ./MW/ctrl.obj
_EST_setIq_ref_pu ./MW/ctrl.obj
_EST_setMaxCurrentSlope_pu ./main.obj
_EST_setRs_pu ./MW/ctrl.obj
_EST_updateId_ref_pu ./MW/ctrl.obj
_EST_updateState ./MW/ctrl.obj
_EST_useZeroIq_ref ./MW/ctrl.obj
_HAL_enableAdcInts ./main.obj
_HAL_enableDebugInt ./main.obj
_HAL_enableDrv ./main.obj
_HAL_enableGlobalInts ./main.obj
_HAL_init ./main.obj
_HAL_readDrvData ./main.obj
_HAL_setParams ./main.obj
_HAL_setupDrvSpi ./main.obj
_HAL_setupFaults ./main.obj
_HAL_writeDrvData ./main.obj
_PIE_clearAllInts ./main.obj
_PIE_enableInt ./MW/UART.obj
_SCI_enableRx ./MW/UART.obj
_SCI_enableTx ./MW/LIN.obj
_SPI_enableRxFifo ./MW/drv8301.obj
_SPI_getRxFifoStatus ./MW/drv8301.obj
_SPI_resetRxFifo ./MW/drv8301.obj
_USER_calcPIgains ./main.obj
_USER_checkForErrors ./main.obj
_USER_computeFlux ./main.obj
_USER_computeFlux_pu_to_VpHz_sf ./main.obj
_USER_computeFlux_pu_to_Wb_sf ./main.obj
_USER_computeTorque_Flux_Iq_pu_to_Nm_sf ./main.obj
_USER_computeTorque_Ls_Id_Iq_pu_to_Nm_sf ./main.obj
_USER_computeTorque_Nm ./main.obj
_USER_getErrorCode ./main.obj
_USER_setParams ./main.obj
_USER_softwareUpdate1p6 ./main.obj
__IQ24cosPU ./MW/ctrl.obj
__IQ24sinPU ./MW/ctrl.obj
__IQ24sqrt ./MW/ctrl.obj
__IQ24toF ./main.obj
_hal ./main.obj
error #10234-D: unresolved symbols remain