Generate aligned HEX and S-record data output with GNU in KDS 3.2

Document created by Fiona Kuang Employee on Jun 23, 2016Last modified by Diana Torres on Feb 28, 2017
Version 2Show Document
  • View in full screen mode

Some customers have special requirements for the output data.  They need them to be aligned, especially when they are using the customized bootloader or Flash Programmer.  

 

However, the hex file generated in KDS3.2 is not aligned as the customer expected.

Below is extracted from the hex file generated in a KE06 project.  In this file, the data is not aligned at 16 bytes, and the size of each line is different.

hex_ori.png

 

The attached document shows generate aligned Hex and S-record file step by step.

2 people found this helpful

Outcomes