请教一个问题,我之前用PIC16F917在线调试,调试工具是PICKIT2。917的ROM空间是8K,当我的代码量超过6K时,在线调试就不能进行了。当时因为程序也差不多了,就没有管他。后来我用914做一个东西,ROM空间是4K的,当我的代码量超过50%,也就是2K的时候,又出现了相同的情况,程序不能在线调试了。这是我编译的结果~~
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.80
Copyright (C) 2010 Microchip Technology Inc.
Memory Summary:
Program space used 8AEh ( 2222) of 1000h words ( 54.2%)
Data space used 39h ( 57) of 100h bytes ( 22.3%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 0h ( 0) of 1h word ( 0.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
Running this compiler in PRO mode, with Omniscient Code Generation enabled,
produces code which is typically 40% smaller than in Lite mode.
The HI-TECH C PRO compiler output for this code could be 888 words smaller.
Loaded D:\spy_poj\spy914key\led.cof.
我看到那个The HI-TECH C PRO compiler output for this code could be 888 words smaller.
是不是说要留888h字节(2K)给C的编译器啊~~
请问如果我想对我的程序进行在线调试,有没有什么解决方法啊~~
谢谢了~~