Working bootloader hex on 18f2550


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1

    Default Working bootloader hex on 18f2550

    Ok I was looking on the web for working bootloaders for the 18f2550, I found lots of hex and tried them all until I found one that seems to do the required business....

    I put it here for anyone who wants etc
    (http://www.yorktraders.org/working2550.hex)

    I stuffed it in with winpic800 and a willem, mounted pic on a homemade PCB board with leds on all ports, connected it, and rb0 / rb1 leds flash.....

    First they flash together for a few seconds, then change to alternate flashing

    like its waiting for something, or maybe thats all it does?

    I connected it to the PC with a usb cable, and windows saw an unknown device, downloading the microchip 'pic184550 family drivers' it now shows up in device manager when I plug it into windows.

    Once connected the leds flash all the time....(together then alternate)

    So, where do I go from here to getting an 'hello world' or night rider LED demo into it ?

    Maybe this hex is not a boot loader after all but a flashing led demo!

    Seems I have my hardware problems all sorted, just dont know the next step

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by f_lez View Post
    Ok I was looking on the web for working bootloaders for the 18f2550, I found lots of hex and tried them all until I found one that seems to do the required business....
    I stuffed it in with winpic800 and a willem, mounted pic on a homemade PCB board with leds on all ports, connected it, and rb0 / rb1 leds flash.....
    First they flash together for a few seconds, then change to alternate flashing
    like its waiting for something, or maybe thats all it does?
    I connected it to the PC with a usb cable, and windows saw an unknown device, downloading the microchip 'pic184550 family drivers' it now shows up in device manager when I plug it into windows.
    Once connected the leds flash all the time....(together then alternate)
    So, where do I go from here to getting an 'hello world' or night rider LED demo into it ?
    Maybe this hex is not a boot loader after all but a flashing led demo!
    Seems I have my hardware problems all sorted, just dont know the next step
    Nothing to work with here... No backlink to the source site for the hex and any hints/descriptions of what the hex might do, no pictures of the schematics, LEDs, etc.
    From what I read, it sounds like what you've got is exactly what you said...some pretty flashing/blinking lights.

  3. #3

    Default

    well as it shows up in windows as a 'pic18f4550 family'' i'd presume its the original or compatible microchip bootloader.

    schemetic is simple, leds on every port.....


    Problem is most diagrams I find for it are for the 4550, so where do I connect a switch to bootload,do I need a switch to bootload?

    Why is everything bootloader for the 4550?

    seems anyone wanting to play with 2550's are getting the short end of the stick.....

    how do I generate basic that compatible with a bootloader etc.

    All this and other questions answered on the next episode of.........

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405

    Default

    I modified the Microchip C18 firmware for the USB loader a while back to work with the 18F2550. I have attached it here with a simple PBP code example.

    Comments are in the PBP code for LED & switch connections. I know it works. I'm using it. If you have problems check your connections.

    I won't have time to offer tech support on using the USB loader, re-compile it for another clock speed, USB PIC, etc, etc, so enjoy, and hopefully you won't have any problems.

    You might want to download the docs for Microchips USB demo board. This explains a lot about the loader & circuits required, and how the C18 USB loader firmware works.

    If anyone wants the modified C18 USB loader files let me know. Note you will need the C18 "C" compiler if you want to make changes.
    Attached Files Attached Files
    Regards,

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

  5. #5

    Default

    Thank you so very much for the time to post this, I'll get on it at the weekend 'real work' permitting!

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405

    Default

    This is the latest version 1.3 USB framework with several bug fixes. I recommend you use
    this one VS the 1st I posted.
    Attached Files Attached Files
    Regards,

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

Similar Threads

  1. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  2. Replies: 6
    Last Post: - 5th November 2008, 11:30
  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. Some test hex for a 18f2550
    By f_lez in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th October 2006, 14:24
  5. Bootloader + Mainline code in single HEX file
    By dman776 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th May 2006, 22:59

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