English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 27 June 2021, 02:32   #1
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
HD Floppy drive in A1200

I have a 1.4D A1200 that came with the ESCOM floppy modification. I performed the ESCOM floppy fix (to get proper RDY signal) and replaced the Panasonic drive with a Chinon FB-375A.

The issue, though, is that HD floppies won't be detected. It boils down to the OS reading out the wrong 'Drive ID' and thus assuming that it can't handle the inserted disk. The tool 'driveid' reports that the drive reports 0x55555555, but looking at my scope it produces 0x55555555 on the physical /RDY line, thus it should have been reported as 0xAAAAAAAA logical.

The same drive works and is reported as HD drive on an A3000, drive id reports 0xAAAAAAAA there.

The only difference in hardware I can see between the A3000 and the A1200 is that the /RDY line of the internal drive is connected straight to the CIA in the A3000, while it goes through a 68Ohm resistor on the A1200.

Is there a bug in the kickstart software that makes the timing between activating /SEL and reading back /RDY very sensitive?

Any hints are welcome, thanks!
pipper is offline  
Old 27 June 2021, 07:16   #2
DanyPPC
Registered User
 
Join Date: Dec 2016
Location: Italy
Posts: 729
I know that if you use a standard disk drive Amiga you don't have to modify nothing on the motherboard.
DanyPPC is offline  
Old 27 June 2021, 09:33   #3
AmigaHope
Registered User
 
Join Date: Sep 2006
Location: New Sandusky
Posts: 942
Quote:
Originally Posted by DanyPPC View Post
I know that if you use a standard disk drive Amiga you don't have to modify nothing on the motherboard.
To clarify, he's talking about using a high density drive to read high density floppies, which on the Amiga requires a special drive that spins hd disks at half-speed because Paula can't handle the higher bitrate if they spin at normal speed.

He has one of those special drives, taken from an A3000 (which shipped with it), which works fine in the A3000, but fails to detect HD floppies when connected to his Escom A1200.
AmigaHope is offline  
Old 27 June 2021, 18:31   #4
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Quote:
Originally Posted by AmigaHope View Post
To clarify, he's talking about using a high density drive to read high density floppies, which on the Amiga requires a special drive that spins hd disks at half-speed because Paula can't handle the higher bitrate if they spin at normal speed.

He has one of those special drives, taken from an A3000 (which shipped with it), which works fine in the A3000, but fails to detect HD floppies when connected to his Escom A1200.

AmigaHope summed it up perfectly
pipper is offline  
Old 27 June 2021, 21:42   #5
cpiac64
Registered User
 
cpiac64's Avatar
 
Join Date: Apr 2010
Location: Italy
Posts: 1,136
1200 have 3,1 kick?
cpiac64 is offline  
Old 28 June 2021, 04:50   #6
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Yes, it does have Kick 3.1. Kick 3.1.4 has the same issue.
pipper is offline  
Old 28 June 2021, 11:17   #7
cpiac64
Registered User
 
cpiac64's Avatar
 
Join Date: Apr 2010
Location: Italy
Posts: 1,136
next week i can test some drive hd and report the result
cpiac64 is offline  
Old 28 June 2021, 13:17   #8
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
What does Amiga Test Kit report the drive ID as, on the A1200 and on the A3000?
solarmon is offline  
Old 29 June 2021, 00:22   #9
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
I did some more research on the scope. It seems the way the drive ID mechanism is initiated on an A500/A3000 is different from how it is done on the A1200.

See the attached pictures.
(I inverted the signals as they are all active low, so the drive ID values I note down are already in logical domain)

On the A500, when the /MTR0 signal deactivates and the /SEL0 signal activates, the /RDY line responds with a 1.
The rest of the sequence thus becomes 0xAAAAAAAA which identifies the drive as HD 150rpm drive.

On the A1200 the very first time /SEL0 activates after /MTR deactivates, the drive responds with a 0. The rest of the sequence then becomes 0x55555555 which makes the OS reject the disk.

If you look at the last image, I overlaid both sequences. The timing is different on both machine. And I wonder if there's a difference in the Kickstart code that initiates the sequence?!
Attached Thumbnails
Click image for larger version

Name:	A500_driveID.png
Views:	140
Size:	38.8 KB
ID:	72397   Click image for larger version

Name:	A1200_driveID.png
Views:	115
Size:	45.0 KB
ID:	72398   Click image for larger version

Name:	A500_A1200_Overlaid.png
Views:	109
Size:	50.4 KB
ID:	72399  
pipper is offline  
Old 03 July 2021, 04:34   #10
Bruce Abbott
Registered User
 
Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,544
Quote:
Originally Posted by AmigaHope View Post
To clarify, he's talking about using a high density drive to read high density floppies, which on the Amiga requires a special drive that spins hd disks at half-speed because Paula can't handle the higher bitrate if they spin at normal speed.
To clarify, he's saying that if you are using a standard (or HD) Amiga disk drive then you should undo any modifications that have been done to the motherboard for use with PC floppy drives.

Fixing the AT A1200 FDD connector
Bruce Abbott is offline  
Old 03 July 2021, 08:25   #11
Bruce Abbott
Registered User
 
Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,544
Quote:
Originally Posted by pipper View Post
I did some more research on the scope. It seems the way the drive ID mechanism is initiated on an A500/A3000 is different from how it is done on the A1200.

See the attached pictures.
(I inverted the signals as they are all active low, so the drive ID values I note down are already in logical domain)
It should follow the sequence described here, but I am having difficulty analyzing it due to the inverted signals. Can you show us the waveforms for the entire sequence (32 serial bits plus anything immediately before and after) with the actual signals (not inverted)?
Bruce Abbott is offline  
Old 04 July 2021, 21:34   #12
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Attached you'll see the sequence at various zoom levels, non-inverted.
I focused on the start of the sequence as this is where the problem starts. The rest of the sequence is just repeating.

My guess is that the drive is deactivating /MTR to reset the drive_id sequence and would start reporting the alternating 0s and 1s clocked by the /SEL.
But the deactivation of /MTR and the first activation of /SEL virtually happen at the same time and thus the reset may not have a chance to fully reset the circuit. In the last closeup you can see that there's a small dip in /RDY where it looks like it wants to report a low, but for some reason can't pull down the line.

If there was a small pause between deactivating /MTR and the activation of /SEL, the drive could have more time to do its thing. I don't know why it works on A3000 and A500, but not on A1200... But as I said in the first post, there are hardware differences in how /MTR0 and /SEL0 are being generated. On A500 and A3000 its a piece of discreet logic, while Gayle is doing it on the A1200.
Attached Thumbnails
Click image for larger version

Name:	DS1Z_QuickPrint1.png
Views:	113
Size:	52.6 KB
ID:	72452   Click image for larger version

Name:	DS1Z_QuickPrint2.png
Views:	101
Size:	46.5 KB
ID:	72453   Click image for larger version

Name:	DS1Z_QuickPrint3.png
Views:	87
Size:	46.5 KB
ID:	72454   Click image for larger version

Name:	DS1Z_QuickPrint4.png
Views:	99
Size:	44.0 KB
ID:	72455   Click image for larger version

Name:	DS1Z_QuickPrint5.png
Views:	101
Size:	39.0 KB
ID:	72456  

pipper is offline  
Old 04 July 2021, 23:02   #13
cpiac64
Registered User
 
cpiac64's Avatar
 
Join Date: Apr 2010
Location: Italy
Posts: 1,136
arrived in my lab a dead fz-357a, need time for repair and test on a1200
cpiac64 is offline  
Old 06 July 2021, 14:21   #14
cpiac64
Registered User
 
cpiac64's Avatar
 
Join Date: Apr 2010
Location: Italy
Posts: 1,136
Sorry, my drive don't work
cpiac64 is offline  
Old 08 July 2021, 08:32   #15
Bruce Abbott
Registered User
 
Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,544
Quote:
Originally Posted by pipper View Post
Attached you'll see the sequence at various zoom levels, non-inverted.
This confirms what I thought - the ID bits are not inverted. The first bit should come out during the first /SEL pulse after the pulse that turns the motor off. On the A500 this is a 1, whereas on the A1200 it is a 0. Another reason we know the bits aren't inverted is that the ID for 'no disk' or no drive is 0xffffffff, which equates to /RDY being continuously high (held there by the CIA port pullup resistor).

I cannot explain why your drive appears to send an ID code of 0x55555555 on the A1200. I don't have an HD Amiga drive, but I found a circuit for a modified HD drive which includes an ID generator. I will try building this and see what waveforms and drive detection I get from an A500 and A1200.

Quote:
If there was a small pause between deactivating /MTR and the activation of /SEL, the drive could have more time to do its thing. I don't know why it works on A3000 and A500, but not on A1200... But as I said in the first post, there are hardware differences in how /MTR0 and /SEL0 are being generated. On A500 and A3000 its a piece of discreet logic, while Gayle is doing it on the A1200.
The waveforms look close enough to identical to me that timing shouldn't be a factor (it would be very poor circuit if it was sensitive to such small changes). However to test my ID circuit I intend to extract the code from the ROM and modify it to produce different timings, so if the timing is critical it should be discernible.

Now to find that 23 pin connector I had stashed away...
Bruce Abbott is offline  
Old 08 July 2021, 09:21   #16
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
Thanks for jumping on this mystery!

I suggest using the internal drive connector (that's what I'm doing). /SEL0 and /MTR0 seem to be specially generated. I have not attempted to see what happens when the drive is attached as external drive.
Besides the FB-357A (the mystery drive), I also have an FZ-357A which currently doesn't work (the drive ID mechanism always just returns "DD floppy drive").
I am hoping to fix this soon, but still waiting on a part. Lets see how the FZ will perform versus the FB.
pipper is offline  
Old 08 July 2021, 10:34   #17
jbenam
Italian Amiga Zealot
 
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,910
Hi pipper,

I have a working Chinon FB-357A (from my A4000) I can test on my A1200. I will need to dig it out, but no problems

Where do I find the driveID tool?
jbenam is offline  
Old 08 July 2021, 20:02   #18
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
driveid is part of this archive:
https://aminet.net/package/docs/hard/PCFloppy2Amiga

It also comes with a drivespeed tool that measures the rotational speed (similar to how AmigaTestKit does it).
pipper is offline  
Old 08 July 2021, 20:41   #19
jbenam
Italian Amiga Zealot
 
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,910
Quote:
Originally Posted by pipper View Post
driveid is part of this archive:
https://aminet.net/package/docs/hard/PCFloppy2Amiga

It also comes with a drivespeed tool that measures the rotational speed (similar to how AmigaTestKit does it).
There we go - drive ID 0, just like on my A4000D.

RPM tests good too, ~300RPM just like my A4000D. It also reads a floppy without any issue.

jbenam is offline  
Old 08 July 2021, 23:01   #20
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
You seemed to have inserted a DD disk. Please try with an HD floppy disk.
pipper is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A1200 floppy drive issue PeteAUFC support.Hardware 6 20 January 2019 22:43
A1200 drive floppy drive just gone bad? rarr support.Hardware 10 09 January 2019 10:43
WANTED: A1200 Floppy Drive Wasagi MarketPlace 5 27 July 2010 01:03
A1200 Floppy Drive ami_junkie MarketPlace 6 12 February 2010 18:06
A1200 floppy drive clicks... pmc request.Apps 13 30 October 2009 19:59

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:39.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.17204 seconds with 14 queries