18f4550 usb bootloader problem with program when uploaded

General discussion on mikroElektronika website & forums.
Post Reply
Author
Message
David777
Posts: 26
Joined: 19 Sep 2014 20:01

18f4550 usb bootloader problem with program when uploaded

#1 Post by David777 » 22 Jan 2016 19:29

Hi
Managed to get the bootloader to run and connects to pc through usb ok.
But when the program I upload tries to run it doesn't run as expexted. I have 8 switches on port b and eight leds on port d.
If I load the program with the pickit 2 it works ok and the Leds stay off until I press a switch but if I load the program with the bootloader for some reason the leds seem to come on at switch on at random sometimes the odd one or sometime them all.
Any idea what could be causing this any help would be appreciated.
Thanks in advance for any help

Dave

User avatar
uros.cvetinovic
mikroElektronika team
Posts: 803
Joined: 14 Dec 2015 09:24

Re: 18f4550 usb bootloader problem with program when uploade

#2 Post by uros.cvetinovic » 26 Jan 2016 17:50

Hi,

Which bootloader did you use?

Please see the attachment, and try to load this bootloader to your PIC18f4550 MCU.
It is for 8MHz crystal oscillator.

Best regards,

Uros Cvetinovic
Attachments
PIC18F.rar
(273.69 KiB) Downloaded 257 times

Post Reply

Return to “Website & Forums General Discussion”