Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not built My_Motor line 0 1340954591661 220
unresolved symbol _AdcRegs, first referenced in ./Drivers/DSP2833x_Adc.obj My_Motor line 0 1340954591657 201
unresolved symbol _CpuTimer0Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591657 202
unresolved symbol _CpuTimer1Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 203
unresolved symbol _CpuTimer2Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 204
unresolved symbol _CsmPwl, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 205
unresolved symbol _CsmRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 206
unresolved symbol _DmaRegs, first referenced in ./Drivers/DSP2833x_DMA.obj My_Motor line 0 1340954591658 207
unresolved symbol _ECanaMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 208
unresolved symbol _ECanaRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 209
unresolved symbol _ECanbMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 210
unresolved symbol _ECanbRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 211
unresolved symbol _FlashRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591659 212
unresolved symbol _GpioCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591659 213
unresolved symbol _McbspaRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 214
unresolved symbol _McbspbRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 215
unresolved symbol _PieCtrlRegs, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 216
unresolved symbol _PieVectTable, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 217
unresolved symbol _SysCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 218
unresolved symbol _XintfRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 219
Bruce:
unresolved symbol ???????????????????神马意思啊???????
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not built My_Motor line 0 1340954591661 220
unresolved symbol _AdcRegs, first referenced in ./Drivers/DSP2833x_Adc.obj My_Motor line 0 1340954591657 201
unresolved symbol _CpuTimer0Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591657 202
unresolved symbol _CpuTimer1Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 203
unresolved symbol _CpuTimer2Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 204
unresolved symbol _CsmPwl, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 205
unresolved symbol _CsmRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 206
unresolved symbol _DmaRegs, first referenced in ./Drivers/DSP2833x_DMA.obj My_Motor line 0 1340954591658 207
unresolved symbol _ECanaMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 208
unresolved symbol _ECanaRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 209
unresolved symbol _ECanbMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 210
unresolved symbol _ECanbRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 211
unresolved symbol _FlashRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591659 212
unresolved symbol _GpioCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591659 213
unresolved symbol _McbspaRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 214
unresolved symbol _McbspbRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 215
unresolved symbol _PieCtrlRegs, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 216
unresolved symbol _PieVectTable, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 217
unresolved symbol _SysCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 218
unresolved symbol _XintfRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 219
Jones Chen:
回复 Bruce:
楼主的
1. Global Variable Define.c是否添加到工程了?
2. Header_NonBios.cmd是否添加到工程了?
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not built My_Motor line 0 1340954591661 220
unresolved symbol _AdcRegs, first referenced in ./Drivers/DSP2833x_Adc.obj My_Motor line 0 1340954591657 201
unresolved symbol _CpuTimer0Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591657 202
unresolved symbol _CpuTimer1Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 203
unresolved symbol _CpuTimer2Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 204
unresolved symbol _CsmPwl, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 205
unresolved symbol _CsmRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 206
unresolved symbol _DmaRegs, first referenced in ./Drivers/DSP2833x_DMA.obj My_Motor line 0 1340954591658 207
unresolved symbol _ECanaMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 208
unresolved symbol _ECanaRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 209
unresolved symbol _ECanbMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 210
unresolved symbol _ECanbRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 211
unresolved symbol _FlashRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591659 212
unresolved symbol _GpioCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591659 213
unresolved symbol _McbspaRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 214
unresolved symbol _McbspbRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 215
unresolved symbol _PieCtrlRegs, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 216
unresolved symbol _PieVectTable, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 217
unresolved symbol _SysCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 218
unresolved symbol _XintfRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 219
Bruce:
回复 Jones Chen:
增加了楼主所说的两个文件,又出来N多错误和报警:
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not builtMy_Motor line 0 1340972092310 296
no valid memory range(NULL) available for placement of ".text"My_Motor line 0 1340972092304 285
placement fails for object ".adc_cal", size 0x7 (page 0). Available ranges:My_Motor line 0 1340972092306 293
placement fails for object ".cinit", size 0x16 (page 0). Available ranges:My_Motor line 0 1340972092306 291
placement fails for object ".econst", size 0x100 (page 0). Available ranges:My_Motor line 0 1340972092305 288
placement fails for object ".reset", size 0x2 (page 0). Available ranges:My_Motor line 0 1340972092309 294
placement fails for object ".text", size 0xf32 (page 0)My_Motor line 0 1340972092304 286
placement fails for object "codestart", size 0x2 (page 0). Available ranges:My_Motor line 0 1340972092309 295
placement fails for object "csm_rsvd", size 0x76 (page 0). Available ranges:My_Motor line 0 1340972092305 289
placement fails for object "csmpasswds", size 0x8 (page 0). Available ranges:My_Motor line 0 1340972092306 292
placement fails for object "ramfuncs", size 0x1f (page 0). Available ranges:My_Motor line 0 1340972092305 290
run placement fails for object ".stack", size 0x300 (page 1). Available ranges: DEV_EMU size: 0x180 unused: 0xb0 max hole: 0xb0 FLASH_REGS size: 0x60 unused: 0x58 max hole: 0x58 CSM size: 0x10 unused: 0x0 max hole: 0x0 ADC_MIRROR size: 0x10 unused: 0x0 max hole: 0x0 XINTF size: 0x20 unused: 0x2 max hole: 0x2 CPU_TIMER0 size: 0x8 unused: 0x0 max hole: 0x0 CPU_TIMER1 size: 0x8 unused: 0x0 max hole: 0x0 CPU_TIMER2 size: 0x8 unused: 0x0 max hole: 0x0 PIE_CTRL size: 0x20 unused: 0x6 max hole: 0x6 PIE_VECT size: 0x100 unused: 0x0 max hole: 0x0 DMA size: 0x200 unused: 0x120 max hole: 0x120 MCBSPA size: 0x40 unused: 0x1b max hole: 0x1b MCBSPB size: 0x40 unused: 0x1b max hole: 0x1b ECANA size: 0x40 unused: 0xc max hole: 0xc ECANA_LAM size: 0x40 unused: 0x0 max hole: 0x0 ECANA_MOTS size: 0x40 unused: 0x0 max hole: 0x0 ECANA_MOTO size: 0x40 unused: 0x0 max hole: 0x0 ECANA_MBOX size: 0x100 unused: 0x0 max hole: 0x0 ECANB size: 0x40 unused: 0xc max hole: 0xc ECANB_LAM size: 0x40 unused: 0x0 max hole: 0x0 ECANB_MOTS size: 0x40 unused: 0x0 max hole: 0x0 ECANB_MOTO size: 0x40 unused: 0x0 max hole: 0x0 ECANB_MBOX size: 0x100 unused: 0x0 max hole: 0x0 EPWM1 size: 0x22 unused: 0x0 max hole: 0x0 EPWM2 size: 0x22 unused: 0x0 max hole: 0x0 EPWM3 size: 0x22 unused: 0x0 max hole: 0x0 EPWM4 size: 0x22 unused: 0x0 max hole: 0x0 EPWM5 size: 0x22 unused: 0x0 max hole: 0x0 EPWM6 size: 0x22 unused: 0x0 max hole: 0x0 ECAP1 size: 0x20 unused: 0x0 max hole: 0x0 ECAP2 size: 0x20 unused: 0x0 max hole: 0x0 ECAP3 size: 0x20 unused: 0x0 max hole: 0x0 ECAP4 size: 0x20 unused: 0x0 max hole: 0x0 ECAP5 size: 0x20 unused: 0x0 max hole: 0x0 ECAP6 size: 0x20 unused: 0x0 max hole: 0x0 EQEP1 size: 0x40 unused: 0x0 max hole: 0x0 EQEP2 size: 0x40 unused: 0x0 max hole: 0x0 GPIOCTRL size: 0x40 unused: 0x12 max hole: 0x12 GPIODAT size: 0x20 unused: 0x0 max hole: 0x0 GPIOINT size: 0x20 unused: 0x16 max hole: 0x16 SYSTEM size: 0x20 unused: 0x0 max hole: 0x0 SPIA size: 0x10 unused: 0x0 max hole: 0x0 SCIA size: 0x10 unused: 0x0 max hole: 0x0 XINTRUPT size: 0x10 unused: 0x0 max hole: 0x0 ADC size: 0x20 unused: 0x2 max hole: 0x2 SCIB size: 0x10 unused: 0x0 max hole: 0x0 SCIC size: 0x10 unused: 0x0 max hole: 0x0 I2CA size: 0x40 unused: 0x1e max hole: 0x1e CSM_PWL size: 0x8 unused: 0x0 max hole: 0x0 PARTID size: 0x1 unused: 0x0 max hole: 0x0My_Motor line 0 1340972092304 287
creating output section ".adc_cal" without a SECTIONS specificationMy_Motor line 0 1340972092302 275
creating output section ".cinit" without a SECTIONS specificationMy_Motor line 0 1340972092302 276
creating output section ".ebss" without a SECTIONS specificationMy_Motor line 0 1340972092302 277
creating output section ".econst" without a SECTIONS specificationMy_Motor line 0 1340972092302 278
creating output section ".reset" without a SECTIONS specificationMy_Motor line 0 1340972092302 279
creating output section ".text" without a SECTIONS specificationMy_Motor line 0 1340972092303 280
creating output section "codestart" without a SECTIONS specificationMy_Motor line 0 1340972092303 281
creating output section "csm_rsvd" without a SECTIONS specificationMy_Motor line 0 1340972092303 282
creating output section "csmpasswds" without a SECTIONS specificationMy_Motor line 0 1340972092303 283
creating output section "ramfuncs" without a SECTIONS specificationMy_Motor line 0 1340972092304 284
last line of file ends without a newline F:/Source_Code/Code of TMS320F28335 CCS4/v120/DSP2833x_headers/include DSP2833x_Adc.h line 239 1340972092300 273
last line of file ends without a newline My_Motor/Source Main.c line 5 1340972092300 274
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not built My_Motor line 0 1340954591661 220
unresolved symbol _AdcRegs, first referenced in ./Drivers/DSP2833x_Adc.obj My_Motor line 0 1340954591657 201
unresolved symbol _CpuTimer0Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591657 202
unresolved symbol _CpuTimer1Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 203
unresolved symbol _CpuTimer2Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 204
unresolved symbol _CsmPwl, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 205
unresolved symbol _CsmRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 206
unresolved symbol _DmaRegs, first referenced in ./Drivers/DSP2833x_DMA.obj My_Motor line 0 1340954591658 207
unresolved symbol _ECanaMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 208
unresolved symbol _ECanaRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 209
unresolved symbol _ECanbMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 210
unresolved symbol _ECanbRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 211
unresolved symbol _FlashRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591659 212
unresolved symbol _GpioCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591659 213
unresolved symbol _McbspaRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 214
unresolved symbol _McbspbRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 215
unresolved symbol _PieCtrlRegs, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 216
unresolved symbol _PieVectTable, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 217
unresolved symbol _SysCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 218
unresolved symbol _XintfRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 219
Sunnie Wu:
同求这样的问题,用ccs 5新建一个工程怎么就这么难呢?之前用ccs4新建的,可以编译使用了,可是为什么用ccs5 新建工程又不行了呢?错误跟您的一样,不知道有没有解决,麻烦告知。要设置哪里呢?
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not built My_Motor line 0 1340954591661 220
unresolved symbol _AdcRegs, first referenced in ./Drivers/DSP2833x_Adc.obj My_Motor line 0 1340954591657 201
unresolved symbol _CpuTimer0Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591657 202
unresolved symbol _CpuTimer1Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 203
unresolved symbol _CpuTimer2Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 204
unresolved symbol _CsmPwl, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 205
unresolved symbol _CsmRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 206
unresolved symbol _DmaRegs, first referenced in ./Drivers/DSP2833x_DMA.obj My_Motor line 0 1340954591658 207
unresolved symbol _ECanaMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 208
unresolved symbol _ECanaRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 209
unresolved symbol _ECanbMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 210
unresolved symbol _ECanbRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 211
unresolved symbol _FlashRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591659 212
unresolved symbol _GpioCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591659 213
unresolved symbol _McbspaRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 214
unresolved symbol _McbspbRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 215
unresolved symbol _PieCtrlRegs, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 216
unresolved symbol _PieVectTable, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 217
unresolved symbol _SysCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 218
unresolved symbol _XintfRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 219
yang wang19:
回复 10#:
怎么修改例程
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "My_Motor.out" not built My_Motor line 0 1340954591661 220
unresolved symbol _AdcRegs, first referenced in ./Drivers/DSP2833x_Adc.obj My_Motor line 0 1340954591657 201
unresolved symbol _CpuTimer0Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591657 202
unresolved symbol _CpuTimer1Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 203
unresolved symbol _CpuTimer2Regs, first referenced in ./Drivers/DSP2833x_CpuTimers.obj My_Motor line 0 1340954591658 204
unresolved symbol _CsmPwl, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 205
unresolved symbol _CsmRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591658 206
unresolved symbol _DmaRegs, first referenced in ./Drivers/DSP2833x_DMA.obj My_Motor line 0 1340954591658 207
unresolved symbol _ECanaMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 208
unresolved symbol _ECanaRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 209
unresolved symbol _ECanbMboxes, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 210
unresolved symbol _ECanbRegs, first referenced in ./Drivers/DSP2833x_ECan.obj My_Motor line 0 1340954591659 211
unresolved symbol _FlashRegs, first referenced in ./Drivers/DSP2833x_SysCtrl.obj My_Motor line 0 1340954591659 212
unresolved symbol _GpioCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591659 213
unresolved symbol _McbspaRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 214
unresolved symbol _McbspbRegs, first referenced in ./Drivers/DSP2833x_Mcbsp.obj My_Motor line 0 1340954591660 215
unresolved symbol _PieCtrlRegs, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 216
unresolved symbol _PieVectTable, first referenced in ./Drivers/DSP2833x_PieVect.obj My_Motor line 0 1340954591660 217
unresolved symbol _SysCtrlRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 218
unresolved symbol _XintfRegs, first referenced in ./Drivers/DSP2833x_Xintf.obj My_Motor line 0 1340954591660 219
10#:
回复 yang wang19:
请在安装controlsuite后,参考例程文件夹下的文档进行:C:\ti\controlSUITE\device_support\f2833x\v142\doc