bootloader for 18F4523

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
Gabriel Febres
Posts: 9
Joined: Thu Jul 03, 2008 4:09 pm
Location: Cambridge, Canada

bootloader for 18F4523

Post by Gabriel Febres » Tue Mar 10, 2009 9:41 pm

I have switched from a 18F4550 to a 18F4523, mainly because of the 12 bit AD converter. But now I realized there is no bootloader file for this device.
Is there any solution ?

Gabriel Febres
Posts: 9
Joined: Thu Jul 03, 2008 4:09 pm
Location: Cambridge, Canada

Bootlolader

Post by Gabriel Febres » Thu Mar 26, 2009 12:17 am

Well, I guess there no solution any one knows about. I am back to the 18F4550, the circuit board has jumpers to configure for the 4550 or the 4523. I can still program the PICs off the board and place them afterwords. But the bootloader is such a convenient way of working it is hard to give it up.

User avatar
JWinters
Posts: 106
Joined: Mon Feb 04, 2008 4:56 pm
Location: North Carolina, USA
Contact:

Post by JWinters » Thu Mar 26, 2009 4:33 am

Since the addition of the org_program option to Swordfish, I was able to write my own custom ethernet bootloader for a 18F4620.

I used to think writing a bootloader was for only the most hardcore PIC programmers. But after writing my own version, I realized that it's just another piece of code.

Maybe you should give it a shot :)

Bryan
Registered User
Registered User
Posts: 18
Joined: Tue Feb 19, 2008 6:50 am
Location: Nelson, B.C. Canada

bootloader for 18F4523

Post by Bryan » Mon Mar 30, 2009 3:55 pm

Gabriel, I'm looking for a bootloader for the 18F8722 and came across one called "The Tiny Bootloader" which is only 100 bytes long (and free). It might be a starting point for you (the author lists the 18F4525 as one of the processors it will work with - may only require minor changes for your 4523)
check it out at:
http://www.etc.ugal.ro/cchiculita/softw ... loader.htm

regards
Bryan

Bryan
Registered User
Registered User
Posts: 18
Joined: Tue Feb 19, 2008 6:50 am
Location: Nelson, B.C. Canada

Bootloader for 18F4523

Post by Bryan » Mon Mar 30, 2009 4:01 pm

Gabriel, sorry, the article says bootloader is 100 words not bytes.
Tiny Bootloader

From Website:
--------------------------------------------
This is a bootloader for the Microchip PIC microcontrollers.

It is the smallest bootloader, taking less than 100 words of program space;
Supports families of PIC devices: 16F, 18F, dsPIC30 (those devices that support self-programming)
Download Tiny PIC Bootloader

Features of the firmware
Size of only 100 words; (all versions, for 16F,18F,dsPIC occupy less than 100 words);
Can write flash, eeprom and configuration bytes(18F);
On reset, waits 1 second (adjustable) for a message from the PC, if not received, launch user application;
The .asm file can be easily modified and adapted for any frequency (or baudrate);
--------------------------------------------------------
Bryan

Gabriel Febres
Posts: 9
Joined: Thu Jul 03, 2008 4:09 pm
Location: Cambridge, Canada

Post by Gabriel Febres » Thu Apr 16, 2009 3:24 am

Thanks Bryan, this seems to be what I needed, I will work on this.
By the way I used to like north of Kaslo BC and spend lots of time at Nelson, great place and people.

Post Reply