我遇到 Link Error   : L1102: Out of allocation space in segment ROM at address 0xFF9F

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

我遇到 Link Error   : L1102: Out of allocation space in segment ROM at address 0xFF9F

1,236 Views
wangyaming
Contributor I

我遇到 Link Error   : L1102: Out of allocation space in segment ROM at address 0xFF9F

我用的是 Aw60 单片机 应该有 60K的 程序空间 我的 mapfile 在附件里 程序总的大小 应该 没有 超过60K啊 prm 也在附件里边 能给看看是怎么回事吗?

 

Original Attachment has been moved to: Project.prm.zip

Original Attachment has been moved to: out.map.txt.zip

Labels (1)
Tags (4)
0 Kudos
1 Reply

630 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

I wonder your ROM space is not big enough to load your code, change

pastedImage_1.png

to

pastedImage_2.png

Then add -OnB=b to your compiler setting.

This should fix the problem.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos