For one of our projects, for bootloading the customer specification mentions that the boot image (i.e. the hex file) has to be sent via I2C as a single line of intel hex format including the byte count, address, record type, data and checksum.
The transaction looks like this:
The specification also mentions that the code shall be delivered in 16 bytes lines, from this I understand that the N Images Bytes in the above transaction should be a max of 16 bytes and the Byte Count should read 0x10.
But when I try to generate a intel hex file for a project using CCS I get lines of 32 bytes with byte count reading 0x20 as shown below:
My question is how do I generate an intel hex file with byte count as 0x10 instead of 0x20 i.e. restricting max bytes in a single line to 16 bytes.
Appreciate your support.