Pic18f self Flash writing (bootloader concept)

Status
Not open for further replies.

Majidmanzoor

Newbie level 4
Joined
May 27, 2010
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Pakistan
Activity points
1,313
i want to writ flash of 18f pic using self program ability.it is possible that i directly put the hex code in memory.its kind of flash bootloader
 

Hi,

You are talking about two slightly different functions.

A Bootloader is where the Pic is programmed with a small 'bootloader' program which then allows the PC to send a users program to the Pic for the bootloader to place into memory - so there is no need to use a hardware programmer like the Pickit2.

Self Flash writing is where the users program running in the Pic can be made to change the contents of its own Flash program memory - see the chips datasheet - memory section for details.

For bootloaders - just google - heres a popular one.
Tiny PIC bootloader
You still need to burn the bootloader program into the Pic with a standard programmer.
 

yes its 2 different concepts.i just use the name "bootloader" to explain my concept.i want to write a "Self Flash writing" kind of program. i have some question;
1. its hex code that i need to write in memory or there some kind of conversion or edit the hex file.
2. i am using mikroC Pro, is there any kind of code example for self-flash -writing.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…