Hi everybody,

A very recent problem has appeared with one of my old programs.

It was perfectly working but I want to add some new capabilities which means more code and more variables and I got the message following the compilation :
Warning : Unable to fit variable DataTX in requested bank 0
As I disregarded the Warning and continued to add code and variables I got a second additional message :
Warning : Unable to fit variable DataT1 in requested bank 0

DataTX is a LONG type variable (I use PBPL) and DataT1 is a BYTE. They are in bank 0 from the beginning without any issue.
The reason for using the bank 0 is that these data (and others) are used in a time-critical assembly language routine.

I was thinking about a memory overload but I use a PIC18F26K22 which has 3896 Bytes for its SRAM and I understand that its BANK 0 may contain up to 96 bytes.

I use only about 300 bytes (manually counted ...) for my variables and amongst them about 36 are stored in bank 0. None of the additional variables used for the new capabilities is stored in bank 0.

I don't understand ! Any idea ?

MikeBZH