USBDemo with Bootloader


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Jan 2007
    Posts
    70

    Default USBDemo with Bootloader

    Hello again!

    I am currently trying to get the USBDemo program Mister E made to work with the Microchip.com bootloader.
    http://www.microchip.com/stellent/id...param=en022627

    The progress is as follows:

    1. Install all applications fresh
    * MPLAB 7.31
    * Microchip Student Edition C18
    * Pic Basic Pro(Oh be worth it please)
    * Microcode Studio (not plus)
    * Microchip Bootloader Files Install
    * EasyHID Program (well, it is also included in microcode, i think?)

    2. Setup all compilers and IDEs
    3. Compile bootloader files, modified to 4mhz by setting the configuration flags in MPLAB - I don't quite get where to put the flags in the C18 code. Is there an include like in pbasic?
    4. Compile .hex -easy.
    5. Program 18f4550 via ICD2 and MPLAB
    6. Put chip in tested board(runs USBDemo off another programmed chip)
    7. do switch combo thing to go into booloader mode.. cool, it works.
    8. select USBDemo.hex (Stock one)
    9. Uh oh - an error. it says the config flags are not the same.. funny, i thought i got them! try anyway? doesn't work... scrambled bootloader somehow... tried all options each time with freshly programmed chip.

    any direction here? is there another bootloader that is better? do i need to add some sort of code to the USBDemo to see bootloader interrupts?

    I tried this with a simple LED example i found somewhere... It didnt really work quite right.. it didn't blink unless I was in the USB recognized state - the one in which the microchip bootloader utility sees the chip..

    Please ask me to clarify if this is muddled!

    I appreciate it.

    Robert
    Last edited by vacpress; - 23rd January 2007 at 10:34.

Similar Threads

  1. PIC18F4680 bootloader
    By vinyl_theif in forum General
    Replies: 1
    Last Post: - 29th January 2009, 17:45
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  3. 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
  4. Using the Mecanique Bootloader without the DTR reset signal
    By picnaut in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th September 2005, 03:39
  5. Bootloader Problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th February 2005, 17:51

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