the switch between PIC16 or PIC18 is necessary because there are some difference between them in memory organization. For example addresses of the interrupt vectors and start address of the program memory.
I understand that there are differences in the actual MCU, but from what I can see that is all taken care of at compile time.
When I look at the hex output file it contains intel hex encoded data that has the target address built in to the encoding.
All the boot loader appears to do is decode the intel hex into raw hex, addressed as defined by each intel hex record, then stream it out to the boot loader code running on the pic.
It seems to make no difference at all whether pic16 or pic18 is selected in the mikroBootloader application.
In fact to prove this I have successfully written my own front end to talk to the mikroe sample boot loader code running on a pic18 and it works fine.
So it appears that the pic16 or pic 18 option does nothing, as the boot loader it's self does not appear to manipulate the compiled hex file, other than to decode the intel hex format. And pass it on. Can you confirm this is the case?
Users browsing this forum: No registered users and 1 guest
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 post attachments in this forum