USB bootloader


Results 1 to 6 of 6

Thread: USB bootloader

Threaded View

  1. #2
    Join Date
    Mar 2006
    Location
    Gothenburgh, Sweden
    Posts
    18

    Default

    Hi Robert.

    This is quick guide how I did and what I used:
    First I created a hexfile as described in step 2 & 3 here:
    http://pic18fusb.online.fr/wiki/wikk...ka=UsbBootload
    (Attached file Bootfile.zip)
    Then I built an ICSP programmer PIC-PG1 like this:
    http://www.sparkfun.com/shop/?shop=1&cart=598190&cat=3&
    And then I programmed my 18F4550 with Bootfile.hex using WinPic800 v3.58
    I connected my 18F4550 to USB-port like this:
    http://pic18fusb.online.fr/wiki/wikk...ka=UsbBootload
    I created a simple testprogram in MicroCode Studio Plus:
    '***********************************************
    DEFINE LOADER_USED 1
    DEFINE RESET_ORG 800h ' For Microchip USB Bootloader
    DEFINE INTERRUPT_ORG 808h ' For Microchip USB Bootloader

    led var PORTD.1

    loop: HIGH led
    Pause 4000
    low led
    Pause 4000
    Goto loop
    End
    '************************************************
    Compile using MPASM and INHX8M checked.
    I downloaded the testprogram using USB and
    C:\MCHPFSUSB\Pc\Pdfsusb\PDFSUSB.exe (The location in my Pc).
    as described in step 1-8 under "USB-bootloading procedure" here:
    http://pic18fusb.online.fr/wiki/wikk...ka=UsbBootload

    I have probably missed some step but I hope it will help you a little bit.

    Good Luck!
    Stefan.
    Attached Files Attached Files

Similar Threads

  1. USB Bootloader.
    By HenrikOlsson in forum USB
    Replies: 22
    Last Post: - 2nd May 2013, 02:46
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. Replies: 7
    Last Post: - 10th November 2008, 09:24
  4. USB Bootloader CRASH on Vista
    By mindthomas in forum USB
    Replies: 9
    Last Post: - 9th March 2008, 20:56
  5. 18F2550 MCRL/RE3 problem with USB bootloader Microchip
    By Ronald123 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 24th September 2007, 10: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