I have PIC18F87J11 FAMILY and I am using the MPLAB C18 compiler. What are the maximum bytes that I can provide to the next variable.
I know that I need to change the linker file to get more than 256 bytes.
#pragma udata CONNECTION_TABLE
This is my clean linker file.
// File: 18f87j11_g.lkr // Generic linker script for the PIC18F87J11 processor
This is my modified linker file to give CONNECTION_TABLE more than 256 bytes.
// File: 18f87j11_g.lkr // Generic linker script for the PIC18F87J11 processor
As you can see, my CONNECTION_TABLE starts at 0x100 and ends at 0x999 . If I want to give him more bytes, what maximum can I give him?
If you look carefully, you will notice that I have the following code.
ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
Does this mean that CONNECTION_TABLE cannot exceed 0xFFF ?
Basically I want to double the number of bytes for my CONNECTION_TABLE , how can I do this?
I am currently starting at 0x100 and ending at 0x999 , can I change the ending to 0x1332 ? Or will it not work because I will pass the 0xFFF border?
Thanks!
source share