martedì 20 dicembre 2011


By default, the debugger pins on ORbit16 are shared with PGEC3(RA1 - A1/P6 on board) and PGED3(RA0 - A0/P5 on board), so is not possible to debug programs using the icsp connector. If you want to move the debugger pins to ICSP is quite simple:

  1. download "config_word.h" from downloads section
  2. change the __CONFIG1 (row 98): put ICS_PGx2 instead of  ICS_PGx3
  3. in your program #include "config_word.h"
  4. if you're using the bootloader, don't forget to enable the checkbox "allow config word programming"

Nessun commento:

Posta un commento