{"id":8776,"date":"2024-04-30T18:18:12","date_gmt":"2024-04-30T10:18:12","guid":{"rendered":""},"modified":"2024-04-30T18:18:12","modified_gmt":"2024-04-30T10:18:12","slug":"Keil\u4e2d\u90e8\u5206Error & Warning\u89e3\u51b3\u65b9\u6cd5\u8bb0\u5f55","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8776.html","title":{"rendered":"Keil\u4e2d\u90e8\u5206Error & Warning\u89e3\u51b3\u65b9\u6cd5\u8bb0\u5f55"},"content":{"rendered":"

\n <\/path> \n<\/svg> <\/p>\n

\u672c\u6587\u4e3b\u8981\u8bb0\u5f55\u5728\u4f7f\u7528Keil\u8f6f\u4ef6\u7684\u8fc7\u7a0b\u4e2d\u6240\u9047\u5230Error & Waring\u7684\u89e3\u51b3\u65b9\u6cd5\uff0c\u6587\u4e2d\u8bb0\u5f55\u7684\u89e3\u51b3\u65b9\u6cd5\u5927\u90e8\u5206\u6765\u6e90\u4e8e\u7f51\u7edc\uff0c\u5e76\u5747\u9a8c\u8bc1\u5176\u6b63\u786e\u624d\u8bb0\u5f55\u7684\u3002<\/p>\n

1. Error\u89e3\u51b3\u65b9\u6cd5<\/h2>\n

1.1 *** ERROR L107: ADDRESS SPACE OVERFLOW<\/h3>\n

1.1.1 \u6848\u4f8b\u63cf\u8ff0<\/h4>\n

\u4e2d\u6587\u7ffb\u8bd1\uff1a***\u9519\u8bef L107: \u5730\u5740\u63a7\u4ef6\u6ea2\u51fa
Error\u622a\u56fe\uff1a\"Keil\u4e2d\u90e8\u5206Error
\u573a\u666f\u63cf\u8ff0\uff1a\u7f16\u8bd1C51\u6e90\u7a0b\u5e8f\u65f6\uff0c\u51fa\u73b0\u8be5\u9519\u8bef\u3002
\u4ea7\u751f\u539f\u56e0\uff1aC51\u7684\u5185\u5b58\u6a21\u578b\u91c7\u7528\u4e86\"Small: varialbles in DATA\"\uff0c\u4f46\u6b64\u6b21\u5de5\u7a0b\u5b9a\u4e49\u4e86\u592a\u591a\u53d8\u91cf\uff0c\u5bfc\u81f4\u5185\u5b58\u4e0d\u591f\u7528\u3002<\/p>\n

1.1.2 \u89e3\u51b3\u65b9\u6cd5<\/h4>\n

a. \u5728\"Options for Target\u2026\u201c\u4e2d\u7684\"Target\"\u9009\u9879\u5361\u4e2d\uff0c\u5c06\"Memory Model\u2019\u7684\"Small: variables in DATA\"\u6539\u4e3a\u201dCompact: variables in PDATA\u201d \u6216\u201cLarge: variales in XDATA\"
\"Keil\u4e2d\u90e8\u5206Error
b. \u5bf9C51\u6e90\u7a0b\u5e8f\u91cd\u65b0\u7f16\u8bd1\u5373\u53ef\u89e3\u51b3Error\u3002<\/p>\n

1.1.2 \u603b\u7ed3<\/h4>\n

small\u3001compact\u548clarge\u662fC51\u76843\u4e2d\u5185\u5b58\u6a21\u578b\u3002\u5728small\u7684\u6a21\u5f0f\u4e2d\uff0c\u6240\u6709\u6240\u6709\u9ed8\u8ba4\u53d8\u91cf\u5747\u88c5\u5165\u5355\u7247\u673a\u5185\u90e8\u7684RAM\u4e2d\uff0c\u5185\u90e8RAM\u7684\u4f4e128B\u3002\u5728compacr\u6a21\u5f0f\u4e2d\uff0c\u6240\u6709\u9ed8\u8ba4\u53d8\u91cf\u5747\u4f4d\u4e8e\u5355\u7247\u673a\u7684\u7247\u5916\u4f4e256B RAM\u4e2d\u3002\u5728large\u6a21\u5f0f\u4e2d\uff0c\u6240\u6709\u9ed8\u8ba4\u53d8\u91cf\u4f18\u5148\u653e\u5728\u5916\u90e864KB\u7684RAM\u4e2d\u3002\u5176\u4e2d\uff0csmall\u8bbf\u95ee\u901f\u5ea6\u5feb\u3001\u7f3a\u70b9\u662f\u7a7a\u95f4\u6709\u9650\uff0c\u4e14\u5bf9\u5806\u6808\u7684\u5206\u914d\u6bd4\u8f83\u5c11\uff0c\u96be\u4ee5\u628a\u63e1\uff0c\u78b0\u5230\u9012\u5f52\u8c03\u7528\u65f6\u5019\u9700\u8981\u5c0f\u5fc3\u3002\u8fd9\u79cd\u6a21\u5f0f\u53ea\u9002\u7528\u4e8e\u5c0f\u7a0b\u5e8f\u3002compact\u6a21\u5f0f\u8f83small\u6a21\u5f0f\u5b58\u50a8\u5355\u5143\u5bbd\u88d5\uff0c\u4f46\u901f\u5ea6\u8f83small\u6162\uff0c\u4f46\u662f\u6bd4large\u5757\uff0c\u662f\u4e00\u79cd\u4e2d\u95f4\u72b6\u6001\u3002large\u6a21\u5f0f\u7684\u4f18\u70b9\u662f\u7a7a\u95f4\u5927\uff0c\u53ef\u5b58\u53d8\u91cf\u591a\uff1b\u7f3a\u70b9\u662f\uff1a\u8bbf\u95ee\u901f\u5ea6\u6162\uff0c\u5c24\u5176\u5bf9\u4e8e\u4e24\u4e2a\u4ee5\u4e0a\u5b57\u8282\u53d8\u91cf\u8bbf\u95ee\u901f\u5ea6\u6765\u8bf4\u66f4\u662f\u5982\u6b64\u3002
\u6240\u53c2\u8003\u7684\u6587\u7ae0\uff1a
a. https:\/\/blog.csdn.net\/weixin_43942316\/article\/details\/112290991
b. https:\/\/blog.csdn.net\/weixin_34696006\/article\/details\/112753773<\/p>\n

2. Waring\u89e3\u51b3\u65b9\u6cd5<\/h2>\n

2.1 *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS<\/h3>\n

2.1.1 \u6848\u4f8b\u63cf\u8ff0<\/h4>\n

\u4e2d\u6587\u7ffb\u8bd1\uff1a***\u8b66\u544a L16: \u672a\u8c03\u7528\u7684\u6bb5\uff0c\u5ffd\u7565\u8986\u76d6\u8fc7\u7a0b
Waring\u622a\u56fe\uff1a
\"Keil\u4e2d\u90e8\u5206Error
\u573a\u666f\u63cf\u8ff0\uff1a\u7f16\u8bd1C51\u6e90\u7a0b\u5e8f\u65f6\uff0c\u51fa\u73b0\u8be5\u9519\u8bef\u3002
\u4ea7\u751f\u539f\u56e0\uff1a \u5de5\u7a0b\u4e2d\u6709\u5b9a\u4e49\u4e86\u67d0\u4e2a\u51fd\u6570\uff0c\u4f46\u5728\u7a0b\u5e8f\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\u5e76\u6ca1\u6709\u8c03\u7528\u5b83\u3002<\/p>\n

2.1.2 \u89e3\u51b3\u65b9\u6cd5<\/h4>\n

\u627e\u5230\u6ca1\u6709\u4f7f\u7528\u7684\u51fd\u6570\uff0c\u6ce8\u91ca\u6389\u6216\u8005\u5728\u7a0b\u5e8f\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\u8c03\u7528\u5b83\u3002\u4e5f\u53ef\u4ee5\u5ffd\u7565\u8be5\u8b66\u544a\u3002<\/p>\n

2.1.3 \u603b\u7ed3<\/h4>\n

\u65e0<\/p>\n","protected":false},"excerpt":{"rendered":"Keil\u4e2d\u90e8\u5206Error & Warning\u89e3\u51b3\u65b9\u6cd5\u8bb0\u5f55\u672c\u6587\u4e3b\u8981\u8bb0\u5f55\u5728\u4f7f\u7528Keil\u8f6f\u4ef6\u7684\u8fc7\u7a0b\u4e2d\u6240\u9047\u5230Error&Waring\u7684\u89e3\u51b3\u65b9\u6cd5\uff0c\u6587\u4e2d\u8bb0\u5f55\u7684\u89e3...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8776"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8776"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8776\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}