Ray Gardiner wrote: > > Hi Foster, > > Persistence is the most valuable asset to have at this point. > Here is a (partial) checklist. > > 1. Dont' assume anything. > > 2. Check the assembler list file to verify that the assembler is > producing what you expect. Watch for page boundary crossing. > > 3. Watch out for interrupt routines nesting too deep. > > 4. Check carefully where you use FSR to write indirectly to memory that > you aren't inadvertently overwriting other memory. > 4.1 This had me by the throat before: Make sure you don't write to the memory ( with ie FSR) used by ICD. You want to see the PIC doing weird and wonderfull things, try mucking with the ICD RAM. > 5. What is the macro expansion for banksel? > > 6. Check for things like "movlw sp1" when you really meant "movf sp1,w".. > Quentin -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu