Been going over night...
REV 3 - REV 5 - The beginning (ST536)
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
You do not have the required permissions to view the files attached to this post.
-
macsonny
- Posts: 54
- Joined: 03 May 2024 00:58
Re: REV 3 - REV 5 - The beginning (ST536)
Hi All,
I’m so encouraged to see the ST536 project is still alive. I bought a card from Exxos earlier this year and populated with components but I’m not sure I’ve got it right for the Atari ST.
A few questions:
1. I solders on a 288 CPLD but is that right or should I have used a 144 CPLD?
2. I’m struggling to try and work out which firmware I should be trying to flash. Is there a place I can get the current firmware?
3. What is the file(s) I need to put in the AUTO folder to ensure the card is recognized?
Sorry for the dumb questions. I’m more of an Atari 8-bit restoration guy so this 16/32-bit stuff is new to me but I’m really excited to get this card working.
Thanks
Sonny
I’m so encouraged to see the ST536 project is still alive. I bought a card from Exxos earlier this year and populated with components but I’m not sure I’ve got it right for the Atari ST.
A few questions:
1. I solders on a 288 CPLD but is that right or should I have used a 144 CPLD?
2. I’m struggling to try and work out which firmware I should be trying to flash. Is there a place I can get the current firmware?
3. What is the file(s) I need to put in the AUTO folder to ensure the card is recognized?
Sorry for the dumb questions. I’m more of an Atari 8-bit restoration guy so this 16/32-bit stuff is new to me but I’m really excited to get this card working.
Thanks
Sonny
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
All the latest information and firmware is here..macsonny wrote: 02 Jan 2026 23:00 I’m so encouraged to see the ST536 project is still alive. I bought a card from Exxos earlier this year and populated with components but I’m not sure I’ve got it right for the Atari ST.
https://www.exxosforum.co.uk/atari/last/ST536/index.htm
See below 2025 NEWS..
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
For the sake of completeness.. These are before and after images of a timing problem I found with the help of AI.
I also found another issue that when the PLD is heated the scores started to drop..
It would be helpful if some people with a original TF536 could take a couple of scopes for me to see what the original timings were.. Also if heating the PLD causes a slowdown or even a crash..
I also found another issue that when the PLD is heated the scores started to drop..
It would be helpful if some people with a original TF536 could take a couple of scopes for me to see what the original timings were.. Also if heating the PLD causes a slowdown or even a crash..
You do not have the required permissions to view the files attached to this post.
-
ijor
- Posts: 825
- Joined: 30 Nov 2018 20:45
Re: REV 3 - REV 5 - The beginning (ST536)
That's perfectly possible, and even likely. I'm certainly not surprised. And that's precisely why timing analysis is so important.
There is nothing intrinsically wrong with this approach, but you must be careful. You are explicitly relying on the data arriving late. But what if the data if not arriving late in some circumstances? Say, somebody might use a slightly faster RAM chip, some CPLDs could be slightly faster (even with the same speed grade). If the data happens to not arrive late, the CPU would be latching too late (or if you want, data would be too early, same thing).Slowing the cycle by 20ns works, as the CPU doesn't latch too early when the data isn't quite stable yet. But of course that is a significant shift for data hold on the SDRAM as well. It works.. Though it slows down TTram access.. Because the CPU is effectively missed 2 sampling edges. So now I just delay by 10ns. It misses the first edge, latches on the second. The result is it is now stable with not much of a performance hit.
You must make sure that data would always be "late", which is not so easy to confirm. Or otherwise you can issue two identical RAM read commands in a row. This way the CPU would always latch the correct data even if it happens to not be late. If the data is late (the hardware is slow), the CPU would latch the first iteration. If it's early (hardware is faster), it would latch the second one. But note that issuing two read commands would extend the SDRAM state machine one extra cycle, which might be a problem.
No, that's not what AI is saying at all. According to what you posted earlier, AI is saying that the CPLD state machine could have a synchronization problem. AI is talking about how the CPLD handles the control signals coming from the CPU. No relation with the data going from the SDRAM to the CPU.That is probably why the AI treats it as meta stability, because its not really wrong about latching on a edge which is changing.
Yes, I agree. The AI could give useful hints and ideas. As long as you are aware that it is not authoritative and anything that the AI claims should be doubled checked and confirmed, yes, it could certainly be useful.But the thing is, that was the conclusion to a very long conversation where I was using the AI as my "rubber duck" in all this to come up with ideas on things to look for.. I probably would have never considered a lot of stuff if it wasn't for AI suggestions. Whether it's talking total BS or not, it is greatly helped with a lot of issues and indeed even talked about SDRAM timings a lot where a lot of things wasn't considered.
But again, the AI probably failed in not giving you the most valuable recommendation. Perform a timing analysis. Or at least it wasn't mentioned in the AI quote you posted.
Fabulous! :)Been going over night..
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
-
olivier.jan
- Site sponsor

- Posts: 338
- Joined: 01 Jun 2020 08:00
Re: REV 3 - REV 5 - The beginning (ST536)
Just a quick confirmation: when you write to solder 4.7uF capacitors across all small caps on the bottom, do you mean I need to add 4.7uF along the existing capacitors or do I need to replace the existing capacitors with 4.7uF ?(sorry, not a native English speaker here 😔)exxos wrote: 03 Jan 2026 16:51All the latest information and firmware is here..macsonny wrote: 02 Jan 2026 23:00 I’m so encouraged to see the ST536 project is still alive. I bought a card from Exxos earlier this year and populated with components but I’m not sure I’ve got it right for the Atari ST.
https://www.exxosforum.co.uk/atari/last/ST536/index.htm
See below 2025 NEWS..
Anyway I need to order the caps…
Retro stuff
520 STF/ 1040 STE / Mega ST / 2 Mega STE / 2 H5
2 x 600XL with U1MB /SOFIA 2/ AVG CART / and a few 1050
Apple //c, Commodore 128, Mac Classic, SE/30, LC, IIvi and PB G3 (Clamshell)
Amiga 600 and a few 486 and 386.
Many Nintendo G&W and other electronic games from the late 70s/early 80s.
520 STF/ 1040 STE / Mega ST / 2 Mega STE / 2 H5
2 x 600XL with U1MB /SOFIA 2/ AVG CART / and a few 1050
Apple //c, Commodore 128, Mac Classic, SE/30, LC, IIvi and PB G3 (Clamshell)
Amiga 600 and a few 486 and 386.
Many Nintendo G&W and other electronic games from the late 70s/early 80s.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
4.7nF across the existing ones..olivier.jan wrote: 04 Jan 2026 09:13 do you mean I need to add 4.7uF along the existing capacitors or do I need to replace the existing capacitors with 4.7uF ?(sorry, not a native English speaker here 😔)
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: REV 3 - REV 5 - The beginning (ST536)
AFAIK (unless the SDRAM controller has changed significantly since the published TF330 version) that's what is done anyway to allow for the fact the SDRAM is running at 100MHz and the CPU at 50.
But it's SDRAM. Capable of running at 133MHz or more. There ought not be anything arriving late.
BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
ijor
- Posts: 825
- Joined: 30 Nov 2018 20:45
Re: REV 3 - REV 5 - The beginning (ST536)
Ah, yes, that makes sense.Badwolf wrote: 06 Jan 2026 10:11 AFAIK (unless the SDRAM controller has changed significantly since the published TF330 version) that's what is done anyway to allow for the fact the SDRAM is running at 100MHz and the CPU at 50.
The chip speed grade and max frequency has (almost) nothing to do with this. This is about clock skew and latency. You could use DDR graded for 5 GHz, and it could still arrive "late" if the latency is high enough. As a matter of fact, you could say that DDR is designed to arrive "late". A copper trace is not fast enough at those extreme high frequencies. But it is ok because DDR transmission is designed to be pipelined.But it's SDRAM. Capable of running at 133MHz or more. There ought not be anything arriving late.
In anycase, I repeat once more again ... timing analysis, timing analysis, timing analysis ...
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
I think I finally found the root cause. All the hacks I've done don't seem to matter anymore. Fast and slow slew now work. I've uploaded a EXP firmware which has a workaround..
I've had to order a rather expensive scope as I believe my old one has been lying to me the whole time.. New scope won't be here for a couple of weeks.. But even then I have to figure out how to use the thing..
I've had to order a rather expensive scope as I believe my old one has been lying to me the whole time.. New scope won't be here for a couple of weeks.. But even then I have to figure out how to use the thing..
Who is online
Users browsing this forum: ClaudeBot and 7 guests