Comments (7)
This issue also occurs on an Amiga floppy drive (with SELECT on pin 10) and a Gotek drive (with SELECT on pin 10).
from greaseweazle.
The correct way to set a timeout is serial.Serial(args.device, timeout=5)
Ie you changed the wrong line.
This is not drive related so switching drives will make no difference.
from greaseweazle.
Sorry, I wrote that whilst half asleep!
I meant:
ser = serial.Serial(args.device,timeout=5)
And yes, with that I can use CTRL-C to break out of the python script.
from greaseweazle.
I'm also getting this behaviour :( -
Reading Track 14.0...Traceback (most recent call last): File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 345, in <module> main(sys.argv) File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 339, in main actions[args.action](args) File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 213, in read flux = read_flux(args.revs) File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 154, in read_flux x += ser.read(1) File "C:\Users\djame\AppData\Local\Programs\Python\Python38\lib\site-packages\serial\serialwin32.py", line 286, in read result_ok = win32.GetOverlappedResult( KeyboardInterrupt ^C
also (I think this was unplugging without a ctrl-c)
C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1>gw.py read grannyG.scp COM13 Reading Track 58.0...Traceback (most recent call last): File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 345, in <module> main(sys.argv) File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 339, in main actions[args.action](args) File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 213, in read flux = read_flux(args.revs) File "C:\Users\djame\Downloads\Greaseweazle-v0.1\Greaseweazle-v0.1\gw.py", line 155, in read_flux x += ser.read(ser.in_waiting) File "C:\Users\djame\AppData\Local\Programs\Python\Python38\lib\site-packages\serial\serialwin32.py", line 257, in in_waiting raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError())) serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'The device does not recognize the command.', None, 22))
from greaseweazle.
Cheers for the tracebacks!
from greaseweazle.
I've got an STLINK so if I get the environment set up I should be able to do some proper debugging on the STM side (should it be required)....
(Should also say I've not been able to get a complete read at all, it always hangs at some point... Furthest I've ever got is track 72)
from greaseweazle.
This is fixed in v0.2 to be released later today.
from greaseweazle.
Related Issues (20)
- Best practice for reading 800k Mac disks and converting to disk image files? HOT 4
- Support for TRS-80 DMK image files HOT 4
- Amatrad PPC 640 3.5” floppy drive HOT 1
- IBM's 2.4meg 5 1/4" floppy format craziness HOT 3
- Conversion of verified IBM 720 raw dump to IMG fails HOT 2
- writing mac.800 img files on DSHD-used-as-DSDD disks always fails starting track #48 or #60 HOT 12
- Converting back side to D64 not possible HOT 12
- Bad sectors HOT 8
- Guy Spy (Readysoft) (Atari St) IPF fails to write correctly HOT 3
- (Amiga disks) The program does not record .ipf and .raw images - how to fix it? HOT 21
- Bad CRC Copy Protect HOT 1
- Driver for windows 7 needed HOT 4
- Feature Request: Add Support for CMD FD 2000 (and optionally CMD FD 4000) images HOT 17
- Host Tools 1.18 no longer detect the greaseweazle using win7 pro HOT 11
- Problems reading the B side in Apple II flippy 5.25" disks HOT 7
- clarify "a standard 34-pin ribbon cable" and power supply cable HOT 12
- Reading Thomson TO-DO disks HOT 5
- Missing sectors and IMG format HOT 20
- Suggestions for wiki doc improvement HOT 5
- Can we have a `--interleave` option? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greaseweazle.