Problem with Bootloader + 18F4620


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1

    Default Problem with Bootloader + 18F4620

    For some reason that is beyond my scope I can not get the 4620 to program using the bootloader. It works fine using the 452 but when I try the 4620 it just tells me that a reset is required. Any ideas?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I can't confirm here 'cause i'm out of stock of this PIC but, may i ask you if you previously load the right firmware in before with the right config fuses with an external PIC programmer?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Yes, I did load it with the proper firmware. I tried the one without the PLL and it works fine. However the PLL ones, both the 16 and the 40 will not allow the bootloader to run. The only config fuse that I changed between the 4 MHz and the 4 x 4 MHz was the oscillator type. The rest of the settings I left alone as they worked fine.

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


    Did you find this post helpful? Yes | No

    Default

    Are you including DEFINE OSC at the start that matches the osc speed defined by the loader firmware?
    Regards,

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

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Bruce, yes. Here are my defines:
    Code:
    DEFINE  LOADER_USED 1
    DEFINE  OSC 40
    DEFINE  HSER_BAUD 9600
    DEFINE  HSER_CLROERR 1
    DEFINE  HSER_RCSTA 90h
    DEFINE  HSER_TXSTA 20h

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm weird. The only thing i can say is to contact David John Barker at Mecanique => [email protected]

    EDIT: i don't have the PLL_18F4620 BTW... probably i miss something
    Last edited by mister_e; - 14th September 2005 at 18:45.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default

    Assuming your oscillator is working properly, you're using DEFINE OSC to match the loader, and connections are good, it should work fine unless there's a bug in the loader firmware. But I have never had any problems with MCS loader firmware.

    Reset required just means the PC app isn't communicating with the PIC loader. Just out of curiosity, what happens if you comment out all of your HSER defines & all references to HSEROUT/HSERIN?

    Will it boot-load then?
    Regards,

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

  8. #8


    Did you find this post helpful? Yes | No

    Unhappy Still No Fly

    Well if I program the chip using the ME Labs serial programmer everything works fine and dandy so I can only assume the oscillator is operating properly. Like I said, I've tried the 4 MHz and the bootloader works great, using the 16 or 40 MHz and it's dead in the water.

    I tried removing all references to the USART and it still gave me the same message.

    Quote Originally Posted by Bruce
    Assuming your oscillator is working properly, you're using DEFINE OSC to match the loader, and connections are good, it should work fine unless there's a bug in the loader firmware. But I have never had any problems with MCS loader firmware.

    Reset required just means the PC app isn't communicating with the PIC loader. Just out of curiosity, what happens if you comment out all of your HSER defines & all references to HSEROUT/HSERIN?

    Will it boot-load then?

Similar Threads

  1. 16F876A Bootloader Problem
    By Ashleyr01 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th April 2009, 18:21
  2. 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
  3. Bootloader problem.
    By Peter Oors in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2006, 18:50
  4. Problem With Bootloader And Portb.3
    By bobonapoletano in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st December 2005, 16:10
  5. 18f4620 bootloader
    By Beavis in forum General
    Replies: 1
    Last Post: - 26th February 2005, 00:25

Members who have read this thread : 1

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