本帖最后由 wing_yes 于 2017-9-7 19:45 编辑
规格书写着: N76E003提供丰富的特殊功能模块,包括: 256字节SRAM, 768字节XRAM
– 256字节片内直接存取RAM.
– 额外768字节片内间接存取RAM(XRAM)通过MOVX指令读写.
但实际上我超过128 byte就开始报错了。有知道怎么回事的吗?
Build target 'BLDC_SENSORLESS'
linking...
*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: DATA
SEGMENT: ?DT?IT
LENGTH: 0002H
Program Size: data=131.0 xdata=0 code=1633
Target not created
去掉一个32位的变量后:
Build target 'BLDC_SENSORLESS'
compiling motor_drive.c...
linking...
Program Size: data=127.0 xdata=0 code=1627
creating hex file from ".\Output\Bldc_sensorless"...
".\Output\Bldc_sensorless" - 0 Error(s), 0 Warning(s). |