USB Bootloader.


Results 1 to 23 of 23

Thread: USB Bootloader.

Threaded View

  1. #16
    Join Date
    Jul 2003
    Posts
    2,405

    Default

    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.
    Last edited by Bruce; - 3rd March 2010 at 18:37. Reason: Select the 18F4455 under Configure > Select Device
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 21:17
  2. Replies: 7
    Last Post: - 10th November 2008, 10:24
  3. USB Bootloader CRASH on Vista
    By mindthomas in forum USB
    Replies: 9
    Last Post: - 9th March 2008, 21:56
  4. 18F2550 MCRL/RE3 problem with USB bootloader Microchip
    By Ronald123 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 24th September 2007, 11:48
  5. BootLoader with USB to Serial Convertors
    By mike101video in forum General
    Replies: 6
    Last Post: - 10th January 2006, 17:48

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts