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?
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?
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.
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.
Are you including DEFINE OSC at the start that matches the osc speed defined by the loader firmware?
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
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.
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?
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.
Originally Posted by Bruce
Bookmarks