>Alan B. Pearce wrote: >>... >I noticed some things you might want to look into: ... >I've got a nicer way of handling this since you grabbed the >snapshot this code was based on. See the new DEFRAM macro. Yeah, this is pretty old code now, from your original release, that I managed to persuade you to send me. >> dbank intr_led_reg >> bcf intr_led_pin ; show serial activity LED > >I assume you are using DBANK only since this is intended ... >This is a problem since the LED code stomped on the bank. ... You picked up a couple of errors I did not spot because they never gave me trouble. Problem with posting ones old code as examples to others. (red face VBG) >Why DBANK and not DBANKIF? Cannot remember. (more red face) >> nop ; nop for ICD to stop on > >Yeah, I wish the ICD didn't have that problem either. >However, I've been surrounding these NOPs with IF DEBUG. >I can set one symbol in the main include file to include >or remove the ICD2 debug NOPs. I know I did that elsewhere in the project. I also provided labels at strategic points that I could use to set breakpoints. I do get the feeling that they could have made the debug interface somewhat nicer without taking up too much more real estate on the silicon. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist