Topic : Code offset

Forum : ST7/STM8

Original Post
Post Information Post
August 4, 2011 - 7:30pm
Guest

Hi Bruno,
We have the same problem as described in post” Address Space Overflow too early”. In my case the problem is very troublesome because our main application is higher than 50k and when we use CODE directive with offset (eg.:”CODE(0xD000)”) We get:” ***ERROR 107 : ADDRESS SPACE OVERFLOW ". Please find the attached simple project. Use CODE(0xFF00) to observe the problem. Please help, we have very short time to finish the project.
Marcin

Replies
Post Information Post
+1
0
-1
August 6, 2011 - 10:23pm
Raisonance Support Team

Mmmh... You probably have a mix between CODE and FCODE segments. You should check you .map file (closely review the information)
Ensure that the compiler is in LARGE model. If this still fails, please send us a zipped archive of the whole project so that we can reproduce the problem in our Labs.

Best Regards,