我在 motorware lab10d 基础上,添加了 can 驱动,结果显示 error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "ramfuncs" size 0x36 page 0。如下图所示:
我按照链接 http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099 里的方法,尝试提升编译优化等级,去掉了 printf(),结果还是不行,显示错误如下图:
PieVectTable 用在 CAN 中断上
请教一下这个问题要如何解决?
Susan Yang:请问您是如何添加的?
您需要添加can.h, header.cmd, device.h, 以及 GlobalVariableDefs.c
我在 motorware lab10d 基础上,添加了 can 驱动,结果显示 error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "ramfuncs" size 0x36 page 0。如下图所示:
我按照链接 http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099 里的方法,尝试提升编译优化等级,去掉了 printf(),结果还是不行,显示错误如下图:
PieVectTable 用在 CAN 中断上
请教一下这个问题要如何解决?
luke lin:
回复 Susan Yang:
感谢你的回复,都添加了,目前怀疑可能要改 CMD 文件,想请教一下根据报错信息需要修改哪里呢?
我在 motorware lab10d 基础上,添加了 can 驱动,结果显示 error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "ramfuncs" size 0x36 page 0。如下图所示:
我按照链接 http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099 里的方法,尝试提升编译优化等级,去掉了 printf(),结果还是不行,显示错误如下图:
PieVectTable 用在 CAN 中断上
请教一下这个问题要如何解决?
luke lin:
回复 Susan Yang:
感谢你的回复,但是我有一个疑问,我在程序里面定义了很多变量。除了 PieVectTable 和 PieCtrlRegs,还定义了 GpioCtrlRegs 和 ECanaLAMRegs 和 ECanaMboxes,为什么后三个没显示空间不足的报错呢?
我在 motorware lab10d 基础上,添加了 can 驱动,结果显示 error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "ramfuncs" size 0x36 page 0。如下图所示:
我按照链接 http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099 里的方法,尝试提升编译优化等级,去掉了 printf(),结果还是不行,显示错误如下图:
PieVectTable 用在 CAN 中断上
请教一下这个问题要如何解决?
Susan Yang:
回复 luke lin:
应该是您的PieVectTable 和 PieCtrlRegs分配空间定义的问题吧
我在 motorware lab10d 基础上,添加了 can 驱动,结果显示 error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "ramfuncs" size 0x36 page 0。如下图所示:
我按照链接 http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099 里的方法,尝试提升编译优化等级,去掉了 printf(),结果还是不行,显示错误如下图:
PieVectTable 用在 CAN 中断上
请教一下这个问题要如何解决?
luke lin:
回复 Susan Yang:
是的,添加完后不报错了,多谢支持!
我在 motorware lab10d 基础上,添加了 can 驱动,结果显示 error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "ramfuncs" size 0x36 page 0。如下图所示:
我按照链接 http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099 里的方法,尝试提升编译优化等级,去掉了 printf(),结果还是不行,显示错误如下图:
PieVectTable 用在 CAN 中断上
请教一下这个问题要如何解决?
Susan Yang:
回复 luke lin:
很高兴能帮到您!