Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What will be included in the checksum calculation?

calculation checksum included
0
Posted

What will be included in the checksum calculation?

0

Generally speaking: “All bytes in the application that must be downloaded to the target, will be part of the checksum calculation.” The simplest way of get knowledge about this is to turn on “checksum calculation” + “map file” in the options for XLINK. Then look at the end of the .map file to see which ranges in which memory that will be included in the checksum calculation. Please note that DATA will normaly not be included in the checksum calculation, but that XDATA (and some other segment types) can be included besides the CODE segment type. If other segment types (than CODE) are included, then you can exclude those segment types. (The example for EWAVR has the -J option set up in such a way that XDATA is not included in the checksum calculation.) Checksum calculation in the application The supplied examples show how to use the CRC16 checksum calculation. In the C source of the application you need to add the actual generic C source to calculate the same checksum value as XLINK prod

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123