求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
Susan Yang:您是直接编译的例程吗?
C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\HVPM_Sensorless_CLA_F2803x
我是用CCS9.2编译的,并没有出现问题
请您详细说明一下,谢谢
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
user6223461:
回复 Susan Yang:
你好,我用CCS6.3编译例程没有问题,我把例程的cmd和.cla文件添加到我的程序中以后,变量和头文件声明都没有问题,然后编译就会报上面的错误
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
Susan Yang:
回复 user6223461:
那您可以尝试添加
// Define a size for the CLA scratchpad area that will be used
// by the CLA compiler for local symbols and temps
// Also force references to the special symbols that mark the
// scratchpad area.
CLA_SCRATCHPAD_SIZE = 0x100; // If using –define CLA_SCRATCHPAD_SIZE=0x100, remove this line
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
user6223461:
回复 Susan Yang:
您好,这个是添加到cmd中吗?谢谢
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
Susan Yang:
回复 user6223461:
嗯 不行的话,就添加
–define CLA_SCRATCHPAD_SIZE=0x100
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
user6223461:
回复 Susan Yang:
您好,我添加进cmd以后,之前的错误没报了,但是现在报下面的错误
Description Resource Path Location Type
<ahref="processors.wiki.ti.com/…/10099"> a>program will not fit into available memory.placement with alignment/blocking fails for section ".text" size 0x2dd7 page 0.Available memory ranges: 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmdline 101 C/C++ Problem
Description Resource Path Location Type
< a href=" ">#10099-D</ a>program will not fit into available memory.run placement with alignment/blocking fails for section ".ebss" size 0x862 page 1.Available memory ranges: 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmdline 126 C/C++ Problem
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
user6223461:
回复 Susan Yang:
您好,添加了以后原来的错没报了,但是报下面两个错误:
#10099-D</ a>program will not fit into available memory.placement with alignment/blocking fails for section ".text" size 0x2dd7 page 0.Available memory ranges: 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmdline 101 C/C++ Problem
#10099-D</ a>program will not fit into available memory.run placement with alignment/blocking fails for section ".ebss" size 0x862 page 1.Available memory ranges: 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmdline 126 C/C++ Problem
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
user6223461:
回复 Susan Yang:
您好,添加了以后原来的错没报了,但是报下面两个错误:
#10099-D</ a>program will not fit into available memory.placement with alignment/blocking fails for section ".text" size 0x2dd7 page 0.Available memory ranges: 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmdline 101 C/C++ Problem
#10099-D</ a>program will not fit into available memory.run placement with alignment/blocking fails for section ".ebss" size 0x862 page 1.Available memory ranges: 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmdline 126 C/C++ Problem
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
Susan Yang:
回复 user6223461:
您需要根据您现在的工程memory来重新修改cmd文件
您可以CCS内点击 View–>MemoryAllocation 来查看
求助,编译时报错:
Description Resource Path Location Type
#10104 undefined symbol "CLA_SCRATCHPAD_SIZE" used in expression 28035_FLASH_HVPM_Sensorless_CLA_lnk.cmd
但是我在程序中已经定义了
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
并且加在了cmd中,CCS已经设置好了的,请问怎么解决?希望得到回复谢谢
user6223461:
回复 Susan Yang:
你好,有没有修改cmd的教程?现在急需,可以跟您详细沟通下吗我的邮箱xuguxuan@163.com