Herbert Graf wrote: > On Tue, 2008-02-12 at 11:17 -0500, Martin wrote: > >> Is MPLAB supposed to freeze up for several seconds when I do something >> with the ICD2 such as run/pause/step the program? >> > > It's not so much MPLAB but the ICD2 that's "pausing" things. > > Every time you step the ICD2 it has to "download" the state from the > PIC. How much it downloads depends on what you are watching. > > Most people new to the ICD2 make the mistake of watching EVERYTHING, all > the SFRs, all the memory, all the EEPROM. This can result in VERY long > pauses. > > The trick is to only watch what you need. Just the SFRs is usually > enough, with perhaps the odd memory location. > > For the speediest use watch just the particular locations you want. > > Oh, and if you're using an HLL, and trying to single step, remember that > one line of HLL can easily add up to dozens of actual op codes, meaning > one single step can take quite a while since it turns into dozens of > actual single steps. > > TTYL > I closed the extra windows, opened a watch window and added what I was interested in. It works much quicker now. Thanks everyone for the advice. - Martin -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist