Out of allocation space in segment RAM at address 0x3E65? MCS9XDP512.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Out of allocation space in segment RAM at address 0x3E65? MCS9XDP512.

ソリューションへジャンプ
4,557件の閲覧回数
Pang
Contributor I
Hi everyone
 
My project has a problem withe linker. After compilation, the linker reported an error message:
 
"Out of allocation space in segment RAM at address 0x3E65."
 
How should I do with this messesage? My compiler option  is
 
-CpDPAGE=0x34 -CpEPAGE=0x36 -CpGPAGE=0x10 -CpPPAGE=0x35 -CpRPAGE=0x16 -CPUHCS12X -D__FAR_DATA -Ml -OnB=b -PSegObj -WmsgSd1420 -WmsgSd12056
 
Is there something wrong?
 
Thanks a lot for your inputs.
 
Pang
 
ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
939件の閲覧回数
CrasyCat
Specialist III
Hello
 
Apparently the memory area RAM is not big enough to store all your global variables.
I would start with looking at the map file generated by the linker. This could show you which variables have not been allocated yet.
 
Solutions here are:
  - If you have big arrays check if you can define them smaller.
  - You may want to place some variables in banked memory. You have then to define them in a user specified section. Please refer to technical note TN248 for information on how to do that.
 
Technical notes can be downloaded from our HC12 web page.
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
939件の閲覧回数
Victim1
Contributor I
I keep seeing references to TN428, but have yet to find this document. Could someone supply a URL?
0 件の賞賛
939件の閲覧回数
liyuyao
Contributor I
939件の閲覧回数
Victim1
Contributor I
Oops make that TN248, I can't find that either
0 件の賞賛
939件の閲覧回数
Alban
Senior Contributor II
Dear Victim...
 
(isn't it the way we all feel...)
 
x:\Program Files\Freescale\CW for HC12 V4.x\Help\pdf\TN248.pdf
 
Cheers,
Alban.
0 件の賞賛
939件の閲覧回数
CrasyCat
Specialist III
Hello
 
Technical Notes can be downloaded from the web.
Go to CodeWarrior HC12 product page
Click on 8/16 bit Tech Notes on the right hand side
You get a .zip file with all the technical notes.
 
As far as I know Technical Notes have been removed from the installation layout.
 
CrasyCat
0 件の賞賛
940件の閲覧回数
CrasyCat
Specialist III
Hello
 
Apparently the memory area RAM is not big enough to store all your global variables.
I would start with looking at the map file generated by the linker. This could show you which variables have not been allocated yet.
 
Solutions here are:
  - If you have big arrays check if you can define them smaller.
  - You may want to place some variables in banked memory. You have then to define them in a user specified section. Please refer to technical note TN248 for information on how to do that.
 
Technical notes can be downloaded from our HC12 web page.
 
CrasyCat
0 件の賞賛