I am working with a PIC18F18722 and am looking to write a custom boot loader. I create a simple application to flash some LEDs:
16: void main(void)
17: {
18: unsigned char leds = 0;
00004 6A01 CLRF 0x1, ACCESS
19: unsigned short delay1;
20: unsigned short counter = 0;
00006 6A04 CLRF 0x4, ACCESS
00008 6A05 CLRF 0x5, ACCESS
21:
22: // access to the LEDS
23: trisd = 0;
0000A 6A95 CLRF 0xf95, ACCESS
24:
25: