Binary file does not include checksum

Technical Note 62859

Architectures:

ARM, RL78, RX, SH, STM8

Component:

general

Updated:

5/31/2018 9:14 AM

Introduction

This tech note discusses issues that can occur when combing binary output format with checksum calculation.

Issue

Both the option "Output Converter > Output > Generate additional output > Output format: binary" is set; and options for checksum are selected. Still the checksum is not included in the generated binary file.

Suggestion

Explanation

The binary file is generated before the checksum is calculated by the ielftool.exe.

Suggestion

See Technical Note 52619 (Solution 2 and 3) about using a .bat file invoked from the post-build command line. (The solution is to let the post-build command line invoke a .bat file that first calculates the checksum and then generates additional output, such as a binary file.)

 

All product names are trademarks or registered trademarks of their respective owners.

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.