unfill filter max doesn't match documentation

Bug #1313660 reported by Ben Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
srecord (Ubuntu)
New
Medium
Unassigned

Bug Description

In srec_examples, it shows "--unfill 0x00 512" as an example usage. However, srec_cat only allows the length portion (512 in this example) to be between 1 and 16.

a) The documentation and actual usage aren't matching

b) The hard coded maximum of 16 is entirely too short to be useful.

c) srecord has way too many arbitrary limits in it (both bugs I've filed are in some way related to an arbitrary, useless limit being placed). I suggest not limiting users and letting them shoot themselves in the foot if they want to.

Lastly, a feature request: Being able to limit --unfill to only apply to block aligned/sized segments (e.g. to align with flash sectors).

Changed in srecord (Ubuntu):
importance: Undecided → Medium
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.