btbass
Advanced Member level 5
Hi-Tech linker problem?
I have some problems with the Hi-Tech linker. I am using Version 8.02 and Mplab. The chip is a PIC16F877 and the program is split into 4 files. The program has one interrupt routine. The linker puts all variables into bank 0? If I add a line like 'unsigned char test[50];' The build fails because it can't find room. It tries to fit everything in Bank 0? I remove that line and the build suceeds reporting 25% ram used. Any ideas?
I have some problems with the Hi-Tech linker. I am using Version 8.02 and Mplab. The chip is a PIC16F877 and the program is split into 4 files. The program has one interrupt routine. The linker puts all variables into bank 0? If I add a line like 'unsigned char test[50];' The build fails because it can't find room. It tries to fit everything in Bank 0? I remove that line and the build suceeds reporting 25% ram used. Any ideas?