In this case, a simple checksum is as good as any other error detection algorithm. It is your bootloader's job to verify the application checksum is valid before even letting the application run. Your PC based bootloading software should only be concerned with the application checksum, which you can calculate using MPLABX's hexmate tool and inject the checksum directly into the application hex file at a known location. ![]() However, as people have already pointed out, this kind of checksum, just like using a simple checksum for communication, is weak. The MPLABX IDE/IPE style checksum is useful for production to verify hex file integrity to some degree. Patni.gaurav So I want to implement method to calculate checksum exactly same as that of displayed by MPLABX IDE / IPE while we build our project in my PC based Bootloader software.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |