STe - Bad DMA Chip

Troubles with your machine? Just want to speak about the latest improvements? This is the place!

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

Post Reply
Cwiiis
Atariator
Atariator
Posts: 22
Joined: Fri Aug 11, 2023 2:21 pm

Re: STe - Bad DMA Chip

Post by Cwiiis »

ijor wrote: Fri Sep 22, 2023 11:48 pm
Cwiiis wrote: Fri Sep 22, 2023 10:41 pm Going on this thread: https://www.exxosforum.co.uk/forum/view ... 141#p15141
Are you talking about the DMA bus pull-ups, or about the floppy bus pull-ups (that go after the 7406)? I though you were talking about the latter. The former is recommended. Not sure it has any relation to your issue, but that always seemed a healthy fix to me since otherwise the DMA bus is kept floating for long periods.
Yes, the DMA bus pull-ups on the 1772.
Cwiiis
Atariator
Atariator
Posts: 22
Joined: Fri Aug 11, 2023 2:21 pm

Re: STe - Bad DMA Chip

Post by Cwiiis »

Just in case anyone sees this in the future, fitting the 1772 pull-ups fixed the issue for me. I still seem to have some instability issues, but they're more likely than not unrelated to the DMA changer (which seems to do a great job!)
Cwiiis
Atariator
Atariator
Posts: 22
Joined: Fri Aug 11, 2023 2:21 pm

Re: STe - Bad DMA Chip

Post by Cwiiis »

I happened to obtain a second STE after some unfortunate mishaps with my original (which I'll fix, eventually...) - This one also has a bad DMA and seems to be worse affected (though I've not done the CPU switch or bus resistor switches, so perhaps it could be better than it is).

While I could desolder the DMA chip, I had the thought that given the design of the DMA changer doesn't have an offset socket, presumably you could just solder it on top of the DMA chip instead? Is there any reason not to do that?

I guess it'd make sense to put in the pin headers upside down so as not to put the ICs up against each other if you did it that way too.
12MHz
Retro freak
Retro freak
Posts: 10
Joined: Fri Sep 11, 2020 2:49 pm

Re: STe - Bad DMA Chip

Post by 12MHz »

Dear Cwiiis,
Cwiiis wrote: Sat Oct 07, 2023 11:10 pm ... presumably you could just solder it on top of the DMA chip instead? Is there any reason not to do that?
A very unusual idea. :D
But yes, it will also work that way.
You can solder the DMA-Changer on top of the DMA-chip.
The pins must be connected 1 to 1.
I guess it'd make sense to put in the pin headers upside down so as not to put the ICs up against each other if you did it that way too.
No, no. Not around the DMA-chip around. Connect the pins 1 to 1.

But the question: If you solder so much, wouldn't it be easier to just unsolder the DMA chip and put it on the DMA-Changer?

Best regards
Robert
Best regards
Robert
Cwiiis
Atariator
Atariator
Posts: 22
Joined: Fri Aug 11, 2023 2:21 pm

Re: STe - Bad DMA Chip

Post by Cwiiis »

12MHz wrote: Sun Oct 08, 2023 7:15 am Dear Cwiiis,
Cwiiis wrote: Sat Oct 07, 2023 11:10 pm ... presumably you could just solder it on top of the DMA chip instead? Is there any reason not to do that?
A very unusual idea. :D
But yes, it will also work that way.
You can solder the DMA-Changer on top of the DMA-chip.
The pins must be connected 1 to 1.
I guess it'd make sense to put in the pin headers upside down so as not to put the ICs up against each other if you did it that way too.
No, no. Not around the DMA-chip around. Connect the pins 1 to 1.

But the question: If you solder so much, wouldn't it be easier to just unsolder the DMA chip and put it on the DMA-Changer?

Best regards
Robert
Ah yes, of course you couldn't put it upside down, that was a silly thought (it was late!) But looking at the board, only a few of the pins are actually not just straight-through, so presumably you could miss quite a few pins (eye-balling it, it looks like 1, 2, 26, 27, 38, 39 and 40?) which would save on quite a lot of work.

Desoldering of course is an option, but I had a pretty bad experience with pads lifting at one point, so while it'd likely be fine, if I can avoid it *and* do less work in total, that's a great benefit :)
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 123
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: STe - Bad DMA Chip

Post by fenarinarsa »

Just out of curiosity, was there any news on the software workaround? People testing it on more STE settings for instance?
Or is there more to it on the hardware side that makes the workaround not stable/usable in real condition?

I was wondering if it would be a good idea to patch current drivers in a way that they use move.w on STE and move.l on ST/STF, for instance, so they would be compatible with both setups.

On the side of HDDRIVER, Uwe Seimet said he will not implement the workaround in any case because he considers it to be a pure hardware issue.
(I don't agree, we've been doing hardware bug mitigation in software for decades, even on ST, but well... it's his project)
User avatar
metalages
Captain Atari
Captain Atari
Posts: 363
Joined: Thu Jun 06, 2013 5:14 pm
Location: France
Contact:

Re: STe - Bad DMA Chip

Post by metalages »

This argument has value for more recent machines where it is easy to process to hardware fix.
For preservation phasis like this, it would have been great to have this option in hddriver to adapt to remaining hardware...
It could be an option of registered version only to motivate registering ;)
czietz
Hardware Guru
Hardware Guru
Posts: 2289
Joined: Tue May 24, 2016 6:47 pm

Re: STe - Bad DMA Chip

Post by czietz »

fenarinarsa wrote: Fri Oct 13, 2023 10:50 pm Just out of curiosity, was there any news on the software workaround? People testing it on more STE settings for instance?
My biggest problem is that I don't know the reason for the MOVE.L in the first place. (Other than Atari saying it is required.) My hypothesis is that is has to do with the very first (-20) DMA only; and therefore it should be safe to use MOVE.W in an STE. But since I don't have a -20 DMA (and no one offered one to me, either, despite me asking), I cannot prove my hypothesis. Hence, I feel unsure about implementing the fix; even though it has been shown to work on several STEs in the meantime.
User avatar
troed
Atari God
Atari God
Posts: 1720
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: STe - Bad DMA Chip

Post by troed »

tbh - if an STE owner has a bad DMA I don't think it's a problem to run a fix that seems to work even though it's not proven why Atari said not to do it.

I don't have a -20 DMA. @Gunstick might?
czietz
Hardware Guru
Hardware Guru
Posts: 2289
Joined: Tue May 24, 2016 6:47 pm

Re: STe - Bad DMA Chip

Post by czietz »

troed wrote: Sat Oct 14, 2023 4:19 pm tbh - if an STE owner has a bad DMA I don't think it's a problem to run a fix that seems to work even though it's not proven why Atari said not to do it.
But I can't put the MOVE.W e.g. into EmuTOS with a good conscience, if I don't know the possible side-effects.
User avatar
troed
Atari God
Atari God
Posts: 1720
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: STe - Bad DMA Chip

Post by troed »

czietz wrote: Sat Oct 14, 2023 5:54 pm But I can't put the MOVE.W e.g. into EmuTOS with a good conscience, if I don't know the possible side-effects.
Ah no, of course. I was more thinking about a patched HD driver available for manual installation. Or ... it could be a non-default EmuTOS setting.
Cwiiis
Atariator
Atariator
Posts: 22
Joined: Fri Aug 11, 2023 2:21 pm

Re: STe - Bad DMA Chip

Post by Cwiiis »

Just a quick update, I went ahead and soldered the changer on top of the chip - I can't say I'd encountered issues with this machine in the same way I had with my other one, but given the possible upshot is 'corrupts your hard disk', I don't feel too bad about some preventative maintenance :P I had a look at the PCB PDFs and snipped pins that weren't connected to anything - the pins that are soldered to the chip are marked on top.
You do not have the required permissions to view the files attached to this post.
Cwiiis
Atariator
Atariator
Posts: 22
Joined: Fri Aug 11, 2023 2:21 pm

Re: STe - Bad DMA Chip

Post by Cwiiis »

For what it's worth, this was a much, much easier job than desoldering the DMA chip - I think a revised version of the board that's designed for this could make it even easier and might be worthwhile to save some people possibly tearing up traces on delicate boards.
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 123
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: STe - Bad DMA Chip

Post by fenarinarsa »

troed wrote: Sat Oct 14, 2023 6:23 pm Ah no, of course. I was more thinking about a patched HD driver available for manual installation. Or ... it could be a non-default EmuTOS setting.
The issue is that a hard drive with a patched driver may be moved to another ST. So in that regard the drivers must be universal, that's why I suggested to activate the patch only on STE (if the STE detection is already available in a cookie when the driver is loaded), provided all STE work okay with the patch. That reduces a lot the scope of the machines to test for the patch.

But if I get you right, the first thing would be to get an ST with a -20 DMA? I might try to check the STs owned by the association I'm a member of. I just need to know what kind of machine/TOS/year of production I should check because they have a lot of STs.
User avatar
troed
Atari God
Atari God
Posts: 1720
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: STe - Bad DMA Chip

Post by troed »

fenarinarsa wrote: Mon Oct 16, 2023 12:39 am But if I get you right, the first thing would be to get an ST with a -20 DMA? I might try to check the STs owned by the association I'm a member of. I just need to know what kind of machine/TOS/year of production I should check because they have a lot of STs.
Only the very very very first 520STs might have that. I've hunted for ancient STs for some time and -38 is the oldest I've got.

Those with boot-TOS is where I would start looking.

(Agree with your STE detection)
alanh
Hardware Guru
Hardware Guru
Posts: 1585
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: STe - Bad DMA Chip

Post by alanh »

Cwiiis wrote: Sun Oct 15, 2023 2:33 pm For what it's worth, this was a much, much easier job than desoldering the DMA chip - I think a revised version of the board that's designed for this could make it even easier and might be worthwhile to save some people possibly tearing up traces on delicate boards.
I was thinking a castellated hole version would probably do the trick. Then it's easy to do both socket and solder blobs on the relevant pins without removing the DMA chip.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.
User avatar
metalages
Captain Atari
Captain Atari
Posts: 363
Joined: Thu Jun 06, 2013 5:14 pm
Location: France
Contact:

Re: STe - Bad DMA Chip

Post by metalages »

troed wrote: Mon Oct 16, 2023 6:30 am
fenarinarsa wrote: Mon Oct 16, 2023 12:39 am But if I get you right, the first thing would be to get an ST with a -20 DMA? I might try to check the STs owned by the association I'm a member of. I just need to know what kind of machine/TOS/year of production I should check because they have a lot of STs.
Only the very very very first 520STs might have that. I've hunted for ancient STs for some time and -38 is the oldest I've got.

Those with boot-TOS is where I would start looking.

(Agree with your STE detection)
So there is probably more st at large that have problem with move.l than st that have problem with move.w :D
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 123
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: STe - Bad DMA Chip

Post by fenarinarsa »

metalages wrote: Tue Oct 17, 2023 5:33 amSo there is probably more st at large that have problem with move.l than st that have problem with move.w :D
Indeed, if the only STs where the move.l is needed are the very first 260 STs, there's chances they are all boxed in a few collectors' homes than used with a HDD :)
axmandm
Atarian
Atarian
Posts: 9
Joined: Mon Oct 16, 2023 6:11 am

Re: STe - Bad DMA Chip

Post by axmandm »

A few notes from testing on my 520STE with the ST-DMA converter.

My STE motherboard is marked CA4003290 and is fitted with a C025913-38 DMA chip.

Prior to fitting the converter, I experienced corruption of partitions of SD cards when using a BBaN RPP HDC Emu. When creating or copying files, folders would become corrupted.

I do not see any difference in the behaviour of my STE since fitting the ST-DMA converter.

I have 3 different disk images which I tested:

1. EmuTOS 1.2.1
2. PPutnik ACSI Driver 0.9
3. HDDriver 8.13

All of these were configured with a small "boot" partition, and a larger "data" partition.

No matter the driver used, corruption of the partition was seen when copying files to a test directory. The files within the test directory occasionally appeared OK, but the PRG file (I was using Sweet 16 for my test) failed to run. I experienced the corrupted folder/file name issue occasionally, and the improbable number of bytes used issue occasionally too.

Overall, no change to how my STE performs.
User avatar
chronicthehedgehog
Atari User
Atari User
Posts: 40
Joined: Sun May 08, 2022 5:24 pm

Re: STe - Bad DMA Chip

Post by chronicthehedgehog »

axmandm wrote: Sun Nov 05, 2023 10:26 am I have 3 different disk images which I tested:

1. EmuTOS 1.2.1
2. PPutnik ACSI Driver 0.9
3. HDDriver 8.13

Overall, no change to how my STE performs.
I'm using the BBAN drive on my STE. I'm using ICD drivers as I couldn't get the latest PP or HD drivers to works. Others (on exxos forum) have reported that the PP/HD drivers work fine on an STE after installing an HC CPU.

This is all I know and it isn't much :)
User avatar
logronoide
Atari freak
Atari freak
Posts: 56
Joined: Fri Dec 23, 2022 7:10 pm
Location: Madrid
Contact:

Re: STe - Bad DMA Chip

Post by logronoide »

chronicthehedgehog wrote: Sun Nov 05, 2023 2:21 pm
axmandm wrote: Sun Nov 05, 2023 10:26 am I have 3 different disk images which I tested:

1. EmuTOS 1.2.1
2. PPutnik ACSI Driver 0.9
3. HDDriver 8.13

Overall, no change to how my STE performs.
I'm using the BBAN drive on my STE. I'm using ICD drivers as I couldn't get the latest PP or HD drivers to works. Others (on exxos forum) have reported that the PP/HD drivers work fine on an STE after installing an HC CPU.

This is all I know and it isn't much :)
I have a 520STe equipped with 4MB RAM, an Exxos power supply, an HC CPU, and a C025913-38 DMA chip. I'm also using the PPutnik ACSI Driver 0.9 with a masteries HD. Unfortunately, it corrupts the microSD card during write operations, a common symptom of the DMA problem. Attempts to resolve the issue with a low-consumption CPU and a new power supply were unsuccessful. Next, I'll be installing an ST-DMA converter on top of the C025913-38 DMA chip. Fingers crossed that this will rectify the DMA issue.
User avatar
dlfrsilver
Atari God
Atari God
Posts: 1972
Joined: Mon Jan 31, 2005 1:41 am

Re: STe - Bad DMA Chip

Post by dlfrsilver »

axmandm wrote: Sun Nov 05, 2023 10:26 am A few notes from testing on my 520STE with the ST-DMA converter.

My STE motherboard is marked CA4003290 and is fitted with a C025913-38 DMA chip.

Prior to fitting the converter, I experienced corruption of partitions of SD cards when using a BBaN RPP HDC Emu. When creating or copying files, folders would become corrupted.

I do not see any difference in the behaviour of my STE since fitting the ST-DMA converter.

I have 3 different disk images which I tested:

1. EmuTOS 1.2.1
2. PPutnik ACSI Driver 0.9
3. HDDriver 8.13

All of these were configured with a small "boot" partition, and a larger "data" partition.

No matter the driver used, corruption of the partition was seen when copying files to a test directory. The files within the test directory occasionally appeared OK, but the PRG file (I was using Sweet 16 for my test) failed to run. I experienced the corrupted folder/file name issue occasionally, and the improbable number of bytes used issue occasionally too.

Overall, no change to how my STE performs.
On 2 of my STE,I had corruption happening no matter what. So my first gesture was to replace the DMA chip by the latest one (not the Ajax, the second DMA chip called 'good' and sold by Best Inc.).

It was not enough to fix the corruption on my ultrasatan. Everything got fixed when i replaced the 68000 CPU by the low consumption model. From there, all my ultrasatan problems vanished.

So if after applying the SD DMA converter the corruption is still there, try to swap the 68000 with low consumption one.
Now SPS France representative since the 19th of June 2014. Proud to be an SPS member !
axmandm
Atarian
Atarian
Posts: 9
Joined: Mon Oct 16, 2023 6:11 am

Re: STe - Bad DMA Chip

Post by axmandm »

So if after applying the SD DMA converter the corruption is still there, try to swap the 68000 with low consumption one.
This is exactly my plan of action - I will change the CPU to a MC68HC000FN16, and see if the problem persists. However, if it does fix the problem, I will retest with the converter removed, and report back my findings.
czietz
Hardware Guru
Hardware Guru
Posts: 2289
Joined: Tue May 24, 2016 6:47 pm

Re: STe - Bad DMA Chip

Post by czietz »

axmandm wrote: Thu Nov 09, 2023 7:01 am This is exactly my plan of action - I will change the CPU to a MC68HC000FN16, and see if the problem persists. However, if it does fix the problem, I will retest with the converter removed, and report back my findings.
By the way: Did you see my email about testing the alternative tentative software workaround?
axmandm
Atarian
Atarian
Posts: 9
Joined: Mon Oct 16, 2023 6:11 am

Re: STe - Bad DMA Chip

Post by axmandm »

czietz wrote: Thu Nov 09, 2023 5:28 pm By the way: Did you see my email about testing the alternative tentative software workaround?
No - perhaps you didn't mean it was me that you contacted?
Post Reply

Return to “Hardware”