constant segment size

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

constant segment size

1,782件の閲覧回数
cris2pher
Contributor I
I'm currently using an HCS08AW32 microprocessor.
In the code are so many constants defined.
When compiling/linking the project, there was no problem.
When it is loaded to the lauterbach debugger, there was a problem.
There's a memory error.
The cause of this is the high number of constants.
If the constants segment used is only up to 2KB, there is no problem, I can load the software to the debbuger.
Is the size of const for this type of microcontroller 2KB only?
Is there a way for me to increase the size of consts segment?
Also, is there an option on the lauterbach debugger to increase the const range?
Thank you.
ラベル(1)
0 件の賞賛
返信
1 返信

706件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
The HC08/S08 Architecture are Von Neumann Architectures, it does not matter if you place code or constant's into the 32k Flash of your AW32.
Without exacly knowing what error message you get from which tool, its hard to help more,
I could imagine for example that you defined some memory in the linker memory configuration file which does not exist on a AW32, then I would expect lauterbach to complain while loading.

Daniel
0 件の賞賛
返信