cancel
Showing results for 
Search instead for 
Did you mean: 

Empty lines added by --safelib command into .hex

DFlam.1
Associate

Starting from V2.13 the STM32CubeProgrammer_CLI adds strange empty lines into the .hex file when adding CRCs using the --safelib command.

Example:

...

:20F9C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF47
:20F9E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF010002010100000032B840D616
:00FA000006
:00FA000006
:00FA000006
...
:00FA000006
:00FA000006
:020000044807AB
:20FA0000D8E292E5D9D0BDBC4BA59A0800855CA4FBEF5C19E0AC58BC12F208DD16414D16DA
:20FA20007C32E22F87D80DB1ACEF0F2AC0E8EA3883BA937EC9278191C221243352C16A6BDA

...

Each empty line has the address of the first free place into the original .hex (seme address where CRCs will be added) but no data and the number of lines seems to be equal to the number of CRC lines added.

This is annoying because later I use srec_cat tool and I get lots of warnings about these empty lines!

 

Any suggestione?

Thanks!

0 REPLIES 0