Thanks to Bob Ammermann and Tony Nixon for his replies. Anbody that own a Microchip's ICD can read the position 0x2004 in the target PIC (with debug code enabled)? I think that reading this location can validate (or not) the Tony's hipotesis about 13 bits loading of the PC (please read below). Meanwhile, I try to build a ICD using the information provided for Patrick Touzet in his pages: http://www.multimania.com/silicium31/ http://www.multimania.com/silicium31/Electronique/PIC/free_icd.htm Best regards. Alejandro. I wrote: >> Another more interesting thing: >> Is necesary to write a GOTO DEBUG_CODE in the configuration zone (at >> position >> 0x2004)? In certain situation, the PC points to 0x2004 (beyond the program >> memory) Tony Nixon replies: >This doesn't make sense to me. >I understand that address 0x2004 must be programmed with a programmer, >but if it has a simple goto X instruction there as the data sheet >states, then the PIC must execute at a ROM page according to the current >PCLATH status. This seems wrong. >I would have thought, that the PC would be "loaded" directly from the 13 >bit data at address 0x2004. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics