Skip to main content
RJ.3
Associate
January 17, 2023
Question

How to generate intel hex file which holds 32 bytes of data in each line. STM32CubeIDE will generate intel hex file which holds 16bytes of data in each line. Any article/information how to generate intel hex file which holds 32bytes of data in one li

..

This topic has been closed for replies.

5 replies

gbm
Super User
January 17, 2023

Srecord utility has such functionality but why do you need it? In general, .HEX records have variable length and any hex file parser must handle any record size.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
RJ.3
RJ.3Author
Associate
January 17, 2023

My project is completed. In this 100% need to use Intel hex format only, Motoroal Srecord is not suitable for my project. I have a combination of Old Master with new slave firmware download. with computer application. Here I have developed a new slave. So I need to follow intel hex file standard

gbm
Super User
January 17, 2023

Before bashing, why don't you check what Srecord utility is about? Yes, it does handle Intel hex and dozens of other formats.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
RJ.3
RJ.3Author
Associate
January 17, 2023

Any reference manual related to Srecord utility

gbm
Super User
January 17, 2023

Yes, surprise, it's available at srecord utility website. (Who could expect this?)

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice