Hi Anand,
I compiled the original loader for your 18F4455. If you have C18, and want to change it yourself, here's how;
1. Open the project in MPLAB.
2. Remove the 18F4550 linker.
3. Add the 18F4455 linker. (be sure to use the modified versions in the same folder)
4. Select the 18F4455 under Configure > Select Device (almost forgot this one)
5. Include the 18F4455 in the section shown below in main.c.
Original looks like this;
Code:
#if defined(PIC18F4550_PICDEM_FS_USB) // Configuration bits for PICDEM FS USB Demo Board
#if defined(__18F4550) || defined(__18F4553)
Change it to;
Code:
#if defined(PIC18F4550_PICDEM_FS_USB) // Configuration bits for PICDEM FS USB Demo Board
#if defined(__18F4550) || defined(__18F4553) || defined(__18F4455)
Then compile. This forces it to use the config options below the #if defined section, and you definitely need the 18F4455 linker due to the difference in codespace.
Bookmarks