Pular para o conteúdo principal
Knowledgebase
Home
Renesas Brasil - Knowledgebase

How to eliminate this error, E2510: Location counter overflow?

Latest Updated:11/20/2014

Question:

I am using the CA78K0R compiler for RL78 and 78K0R products. I get the following error message when I try to build a project.

E2510: Location counter overflow

How can I eliminate this error?

Answer:

This error occurs because the defined variables and functions require more memory than is available in the microcontroller.
Error E2510 is output in the assembly source code.
If error E2510 occurs, 'ERROR E2510' is output at the point in the assembly listing file (*.prn) where the overflow occurred, so from its position you will know where the limit on addresses was reached. Check the location and change the program so that it fits in the available space.
Suitable Products
C Compiler Package for RL78 and 78K Families
Compiler for RL78 Family and 78K0R [CA78K0R]
Assembler Package for 78K0R [RA78K0R]