You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!

REV 3 - REV 5 - The beginning (ST536)

All about the ST536 030 ST booster.
User avatar
exxos
Site Admin
Site Admin
Posts: 27530
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - REV 5 - The beginning (ST536)

Post by exxos »

Been going over night...

IMG_4367.JPG
IMG_4367.JPG (66.5 KiB) Viewed 231 times
macsonny
Posts: 16
Joined: Fri May 03, 2024 12:58 am

Re: REV 3 - REV 5 - The beginning (ST536)

Post by macsonny »

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
User avatar
exxos
Site Admin
Site Admin
Posts: 27530
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - REV 5 - The beginning (ST536)

Post by exxos »

macsonny wrote: Fri Jan 02, 2026 11:00 pm 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.
All the latest information and firmware is here..
https://www.exxosforum.co.uk/atari/last/ST536/index.htm

See below 2025 NEWS..
User avatar
exxos
Site Admin
Site Admin
Posts: 27530
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - REV 5 - The beginning (ST536)

Post by exxos »

For the sake of completeness.. These are before and after images of a timing problem I found with the help of AI.

NO_DELAY.JPG
NO_DELAY.JPG (248.24 KiB) Viewed 175 times
DELAY.JPG
DELAY.JPG (260.55 KiB) Viewed 175 times

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..
ijor
Posts: 759
Joined: Fri Nov 30, 2018 8:45 pm

Re: REV 3 - REV 5 - The beginning (ST536)

Post by ijor »

exxos wrote: Fri Jan 02, 2026 12:03 pm
ijor wrote: Fri Jan 02, 2026 2:52 am I would say, as I always say when dealing with CPLD or FPGA code, a comprehensive timing analysis is extremely important.
I think the problem is that the SDRAM data is not ready when the CPU tries to latch it.
That's perfectly possible, and even likely. I'm certainly not surprised. And that's precisely why timing analysis is so important.
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.
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).

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.
That is probably why the AI treats it as meta stability, because its not really wrong about latching on a edge which is changing.
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.
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.
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 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.
Been going over night..
Fabulous! :)
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
olivier.jan
Site sponsor
Site sponsor
Posts: 308
Joined: Mon Jun 01, 2020 8:00 am

Re: REV 3 - REV 5 - The beginning (ST536)

Post by olivier.jan »

exxos wrote: Sat Jan 03, 2026 4:51 pm
macsonny wrote: Fri Jan 02, 2026 11:00 pm 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.
All the latest information and firmware is here..
https://www.exxosforum.co.uk/atari/last/ST536/index.htm

See below 2025 NEWS..
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 😔)

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.
User avatar
exxos
Site Admin
Site Admin
Posts: 27530
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - REV 5 - The beginning (ST536)

Post by exxos »

olivier.jan wrote: Sun Jan 04, 2026 9:13 am 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 😔)
4.7nF across the existing ones..
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 2992
Joined: Tue Nov 19, 2019 12:09 pm

Re: REV 3 - REV 5 - The beginning (ST536)

Post by Badwolf »

ijor wrote: Sun Jan 04, 2026 3:02 am Or otherwise you can issue two identical RAM read commands in a row.
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
ijor
Posts: 759
Joined: Fri Nov 30, 2018 8:45 pm

Re: REV 3 - REV 5 - The beginning (ST536)

Post by ijor »

Badwolf wrote: Tue Jan 06, 2026 10:11 am 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.
Ah, yes, that makes sense.
But it's SDRAM. Capable of running at 133MHz or more. There ought not be anything arriving late.
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.

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
User avatar
exxos
Site Admin
Site Admin
Posts: 27530
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - REV 5 - The beginning (ST536)

Post by exxos »

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..
Post Reply

Return to “ST536 030 ST ACCELERATOR”