davidgiven / fluxengine

PSOC5 floppy disk imaging interface
MIT License
356 stars 69 forks source link

rawwrite fails with "Error: LAYOUT: no sectors in sector definition!" #787

Open errolt opened 9 hours ago

errolt commented 9 hours ago

According to the usage.md page this should be acceptable parameters:

fluxengine rawwrite -s <flux source> -d <flux destination>

But ./fluxengine rawwrite -s test.flux -d test2.flux results in:

Error: LAYOUT: no sectors in sector definition!

Running a self compiled version that is up to,date with the repo.

davidgiven commented 8 hours ago

Yes, the docs are out of date. You need to specify a format so that it knows which tracks you want to copy.

errolt commented 8 hours ago

Ok, this works:

./fluxengine rawwrite ibm --720_135 -s test.flux -d test2.flux

To find the --720_135 I ran: ./fluxengine rawwrite ibm -C

davidgiven commented 6 hours ago

Reopening as a reminder to fix the documentation.