davidgiven / fluxengine

PSOC5 floppy disk imaging interface
MIT License
363 stars 70 forks source link

0.0: Error: track data overrun #238

Open anfractuosity opened 3 years ago

anfractuosity commented 3 years ago

Hi,

I'm trying to write a 360KB IBM disk image on a 'double sided, double density 48 TPI , 5.25" disk'

Using a command like:

./fluxengine write ibm -i disk1.img --dest :t=0-79x2 --ibm-track-length-ms=166

(I wasn't sure if I'm using the '0-79x2' value correctly though?)

But I'm currently getting:

reading 0 tracks, 0 heads, 0 sectors, 0 bytes per sector, 0 kB total
Writing to: :d=0:s=0-1:t=0-79x2
  0.0: Error: track data overrun

I did try test voltages, but I got: Error: bad USB reply 0x17

Any pointers would be great!

davidgiven commented 3 years ago

You either have to specify all the flags, or apply a preset:

./fluxengine write ibm --ibm-preset-720 -i disk1.img -d :t=0-79x2 --ibm-track-length-ms=166

Note that 360kB disks aren't supported yet; I don't have a 360kB drive to test with, and it needs some backend work to read images properly.

anfractuosity commented 3 years ago

Thanks for the reply, sorry I hadn't realised 360kB aren't supported.