My firmware code is growing, and is working fine until its size reaches about 19000 bytes. The code is running on an EZ-USB FX microcontroller. As soon as the size reaches this limit, the device cannot be enumerated (firmware not working..) Below this limit, the firmware can be relocated anyware in external RAM without any problems. I am avoiding the memory areas of the EZ-USB used for buffer registers.
The firmare size will grow beyond 19000 bytes, as I still need to implement more functions. I am completely baffled and don't even know where to start tracing the bug - does anyone have any idea where the problem could be? As far as I know, there is no code size limit in SDCC.
Many thanx for any advice!