Linker placing data at invalid addresses
Hello, I have the problem that the IPE tool was issuing a warning about data being outside valid addresses for the PIC18F46k22. Reviewing the HEX file I found that the linker placed data at invalid addresses.
I edited the hex file and removed my application, just left first and last addresses.
What I found is that there is some code generated at the address 0x1E000 and that was triggering the warning, you can see it at the line with the instruction ":020000040001F9". At first I missunderstood these addresses and thought were part of Eeprom, now realize that it is in an invalid address for this PIC.
The question is why the linker is placing code at these addresses. It just does not make any sense!
I searched in my code and I did not set any data in that range. It is unimplemented and the data sheet specifies that it reads 0.
I am working with the MPLABx IDE v5.25 and The compiler XC8 (v1.36) and PRO operation mode.
José E. Colín