PIC Bootloader

Electronics Computer Programming Q&A
Post Reply
User avatar
Sambuchi
Posts: 366
Joined: Tue Jan 18, 2005 1:01 am
Location: Orlando FL
Contact:

PIC Bootloader

Post by Sambuchi » Wed Jun 21, 2006 10:20 am

Hello everyone.. I am new to the PIC micros and finding them very interesting. I am programming one right now.. PIC18F4550. One of the main reasons for using these devices is a feature called bootloader mode... great for field reprogramming.

New to me... A programmer is needed the 1st time you use a chip, in order to write the boot code.

After that, you use a utility to program that will write the rest of your code starting at address 0x800 (I think), with a USB connection! wow..

I am trouble shooting my board right now and hope to get this wrapped up next week.

I was wondering if anyone here has used this feature with the PIC.. and would share their project

Newz2000
Posts: 507
Joined: Wed May 18, 2005 1:01 am
Location: Des Moines, Iowa, USA
Contact:

Post by Newz2000 » Wed Jun 21, 2006 11:49 am

I used the tiny pic bootloader on a project. I didn't post many details, but when I built it I wrote this blog post.

I used a 16F88 and a serial port though. Also, I've not had great luck using this with the C programming environment. I think it's because I really don't understand code relocation.

I'm about to start a new job and therefore have been tied up with buying a new laptop, getting my office set up and etc... but before that I too was working on something similar. Trying to get a PIC 18F4550 working with a boot loader. I flashed my chip with the tiny pic bootloader mentioned above but then haven't had a chance to test it yet.

User avatar
HighFrequency
Posts: 122
Joined: Sun Apr 17, 2005 1:01 am
Location: Victoria BC
Contact:

Post by HighFrequency » Wed Jun 21, 2006 12:33 pm

In one of my embedded programming courses we used Tiny Bootloader exclusively to program our chips. We used the serial port to do it. If you can borrow a real programmer for a little while, the bootloaders are a great way to go.
There is only one correct answer, mine.

User avatar
Clyde Crashkop
Posts: 99
Joined: Fri Feb 06, 2004 1:01 am
Location: Florida
Contact:

Post by Clyde Crashkop » Wed Jun 21, 2006 12:55 pm

Try searching this NV forum, Microchip and Electotech forums for 18F4550 and FSUSB. There are a few topics on it.

pfer10
Posts: 1
Joined: Sat Nov 24, 2007 5:01 pm
Contact:

Post by pfer10 » Sat Nov 24, 2007 5:04 pm

You might also try here:

http://www.microchipc.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests