TF536 - Freeze on Disk (write) access?

68030 + SDRAM + IDE

Moderators: terriblefire, Terriblefire Moderator

terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF536 - Freeze on Disk (write) access?

Post by terriblefire »

ok it seemed to happen on third attempt.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
PaulJ_2.0
Posts: 571
Joined: Sat May 11, 2019 11:32 pm

Re: TF536 - Freeze on Disk (write) access?

Post by PaulJ_2.0 »

terriblefire wrote: Tue Mar 30, 2021 11:37 pm ok it seemed to happen on third attempt.
It took me ages to reproduce and I've only had it happen once.
I moved 4GB of files from DH3: to DH2: expecting it to lock fairly fast. It took until 98% to lock.
lilwashu
Posts: 112
Joined: Mon Jun 22, 2020 6:31 pm

Re: TF536 - Freeze on Disk (write) access?

Post by lilwashu »

It would fairly regularly happen for me when unarchiving something using lha or zip to the same partition.
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF536 - Freeze on Disk (write) access?

Post by terriblefire »

Ok i see whats happening now but i kinda dont understand why... or at least why this doesnt happen on the TF534.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
go0se
Posts: 403
Joined: Sun Nov 25, 2018 7:55 pm

Re: TF536 - Freeze on Disk (write) access?

Post by go0se »

terriblefire wrote: Tue Mar 30, 2021 11:27 pm im currently testing this but i've not been able to reproduce.

What disks are people using? I strongly recommend Kingston drives for amiga.
I haven't noticed any difference with different disks or adapters. I am able to reproduce on V.H2 CF to IDE adapters using Transcend standard "Orange" and "Industrial" 8GB and 16GB cards.

Also SD to IDE adapters using Verbatim Class 10 and Sandisk "Ultra" Red class 10 as well as some other generic cards.

Have you recreated it on a Kingston now?
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF536 - Freeze on Disk (write) access?

Post by terriblefire »

Here is the issue.

The INT2 emulation is producing too short a DSACK pulse. But i dont yet understand why. I will look at later after work and get more signals on the trace.


intenar.JPG
intenar.JPG (59.14 KiB) Viewed 3134 times
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
GadgetUK164
Posts: 430
Joined: Fri Jan 04, 2019 2:26 pm

Re: TF536 - Freeze on Disk (write) access?

Post by GadgetUK164 »

Great progress! Nice of you to have a look at this whilst packing!! =D
My YouTube Channel - www.youtube.com/GadgetUK164
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF536 - Freeze on Disk (write) access?

Post by terriblefire »

I think i know whats happening...

Being a smart arse I decided to only patch the INT2 bit in INTENAR if there was an INT2 pending. In this case i latch DTACK then do other stuff.

However if you hammer the IDE interface eventually you can make INT2 assert mid-cycle reading INTENAR... but too late for DTACK to register that we need to respond.. However the rest of the logic holds the machine in a wait.

Evil.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF536 - Freeze on Disk (write) access?

Post by terriblefire »

youdont.jpeg
youdont.jpeg (76.47 KiB) Viewed 3118 times
tf536_2021_03_31_RC3.zip
(35.17 KiB) Downloaded 139 times
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
PaulJ_2.0
Posts: 571
Joined: Sat May 11, 2019 11:32 pm

Re: TF536 - Freeze on Disk (write) access?

Post by PaulJ_2.0 »

You Sir, are a champion among men.

/me salutes.
Post Reply

Return to “TF536”