This is my first use of CCS bootloader after developed one in assembler a long time ago. My questions is about allocation of bootloader in ROM because I included in end time of project.
1) Does the bootloader must be allocate in special location, for example at the end of all project, or can I put it everywere?
2) Does the location of bootloader will be overwrite during upload ?
Thanks for help,
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
Posted: Mon Jul 10, 2006 8:13 am
Bootloader can go anywhere. Most people will put it at the beginning or the end of Flash. No the bootloader doesn't get overwritten with programming. As I understand it if you try to change the code area that is being used for the executing program, the PIC will most likely fail. You may be able to overwrite with the EXACTLY SAME data, BUT I don't try. I remove the address space of the bootloader from the programming routine.
((just in case something gets shifted by a byte))
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum