The line that outputs hex records uses bsize as the length and should use lsize. Bsize is not needed at all. Will fix.
The line that outputs hex records uses bsize as the length and should use lsize. Bsize is not needed at all. Will fix.