DFB1r4 design discussion thread

General discussions or ideas about hardware.
User avatar
exxos
Site Admin
Site Admin
Posts: 23496
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DFB1r4 design discussion thread

Post by exxos »

Badwolf wrote: Thu Dec 02, 2021 1:27 pm Mmm. I suppose it would answer whether the fabric can work at the clock frequency, but not necessarily if the chip can handle the stress of being selected more often.
Yep. If the FPU is just sat there most of the time "idling" at 64Mhz not really doing anything.. But then does something complex like division which would need a lot of clock cycles which could heat it up to the point of failing. Again I would be assuming that the fractal program would be hammering the FPU like crazy, but it's also being stalled by the CPU programming it more slowly, So it could be enough to tip the balance.

Badwolf wrote: Thu Dec 02, 2021 1:27 pm I've had some really funky results with different programs and different combinations. I think I need to gate AS, DS and the DSACKx lines -- even if it costs some cycles -- as I don't want to be introducing artefacts with my CPU clock switching nor my HIGHZ switching.
Yeah this is what we need to rule out. If the FPU fails the FPU test program running 50Mhz (or whatever) with the stock 16Mhz CPU.. It is pretty much case closed.

I guess another test if it does still work, just heat it up and see if the tests failing match what you are seeing fail with your accelerator. It may give some clues.
Badwolf wrote: Thu Dec 02, 2021 1:27 pm I'm very pleased it's got this far, though, to be honest! The new PLCC sockets you sent me are *far* more reliable than whatever I got off RS.
:bravo: :cheers:
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: DFB1r4 design discussion thread

Post by Badwolf »

exxos wrote: Wed Dec 01, 2021 5:40 pm I did these tests a while ago https://www.exxosforum.co.uk/atari/last/FPU/index.htm
That Fract program doesn't seem to run under EmuTOS, which is annoying as I have a DMA-free build of EmuTOS I'd like to use for FPU test benching.

It fails with "Whoops not a display!"

Anyone know what's wrong and if I can patch it?

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 23496
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DFB1r4 design discussion thread

Post by exxos »

I guess you would have to contact them on the mailing list and report the problem.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: DFB1r4 design discussion thread

Post by Badwolf »

exxos wrote: Fri Dec 03, 2021 11:28 am I guess you would have to contact them on the mailing list and report the problem.
One of the secret EmuTOS ninjas has already been in touch!

Faster than a speeding bullet, those fellers. :lol:

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
czietz
Posts: 548
Joined: Sun Jan 14, 2018 1:02 pm

Re: DFB1r4 design discussion thread

Post by czietz »

Fixed with this EmuTOS snapshot 20211203-115515-0b57c787 (or any later version), available at https://sourceforge.net/projects/emutos ... snapshots/.

Note that this fractal program, while not a GEM application, still uses AES functions and as such does not run from the EmuTOS early console. (The one reached by pressing [Esc] at the boot screen.) You have to boot to the Desktop so that AES gets initialized. That had me confused for a few minutes.
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: DFB1r4 design discussion thread

Post by Badwolf »

czietz wrote: Fri Dec 03, 2021 12:05 pm Fixed with this EmuTOS snapshot 20211203-115515-0b57c787 (or any later version), available at https://sourceforge.net/projects/emutos ... snapshots/.
Thanks, secret ninja. :lol:
Note that this fractal program, while not a GEM application, still uses AES functions and as such does not run from the EmuTOS early console. (The one reached by pressing [Esc] at the boot screen.) You have to boot to the Desktop so that AES gets initialized. That had me confused for a few minutes.
That was my first guess when I saw it (I had it in the auto folder), but then it did it from the desktop too.

Thanks for looking into it, Christian. :-)

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: DFB1r4 design discussion thread

Post by Badwolf »

exxos wrote: Thu Dec 02, 2021 1:35 pm
Badwolf wrote: Thu Dec 02, 2021 1:27 pm I've had some really funky results with different programs and different combinations. I think I need to gate AS, DS and the DSACKx lines -- even if it costs some cycles -- as I don't want to be introducing artefacts with my CPU clock switching nor my HIGHZ switching.
Yeah this is what we need to rule out. If the FPU fails the FPU test program running 50Mhz (or whatever) with the stock 16Mhz CPU.. It is pretty much case closed.

I guess another test if it does still work, just heat it up and see if the tests failing match what you are seeing fail with your accelerator. It may give some clues.
OK, I'm not going to dive down this rabbit hole much further, but here's what I've found so far.
  • DML's test program (FPUTEST) is the gold standard. Its results are consistently repeatable for a given configuration.
  • FPU clock speed is the biggest factor in failure of tests. I couldn't conclusively demonstrate a link between changing CPU speed and FPU failure modes changing.
  • Using programs that employ the FPU to test it is rarely sufficient. Most programs only use a few functions. The most common ones are quite far down the failure list.
  • FPUCLK > CPUCLK is reliable with a direct AS/DS/DSACKx connection and 1k2 pull-ups.
  • FPUCLK < CPUCLK is reliable within certain limits if DSACKx is handled by the CPLD such that the DSACKx lines to the CPU are always driven, rather than switching to high impedance.
  • The difference between CPUCLK and FPUCLK values can't be too extreme when the FPU is slower, even with gated DSACKx lines. A factor of two is fine. A factor of three isn't.
  • Only one of my 68882 chips could run at 40MHz, but not 48. One could sustain 25MHz but not 36. One could handle 16 but not 25. All are labelled as 40s.

So going forward I'm going to route DSACKx from the FPU via the CPLD and let the user supply a second oscillator if they prefer. I might even provide a CPUCLK/2 option.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: DFB1r4 design discussion thread

Post by Badwolf »

Bit of a milestone today. DFB1 is, as far as the stated goals for the project are concerned, feature complete.


Here's the state of the board. I'll have to dig it out and show you the bodge wires on the back at some point!

IMG_4905.jpeg
IMG_4905.jpeg (285.5 KiB) Viewed 2097 times


Here's how it fits with the original (recapped) PSU in place.


IMG_4908.jpeg
IMG_4908.jpeg (253.28 KiB) Viewed 2097 times


And with the keyboard.

IMG_4907.jpeg
IMG_4907.jpeg (188.49 KiB) Viewed 2097 times


And the whole ensemble.


IMG_4909.jpeg
IMG_4909.jpeg (183.05 KiB) Viewed 2097 times


Comparing like for like (as I have to run NVDI to disable the blitter, so this is comparing an FPU'd up stock Falcon running NVDI):

IMG_4903.jpeg
IMG_4903.jpeg (235.43 KiB) Viewed 2097 times

This is with TOS from the motherboard. There's an onboard ROM option as well which gives a 250% speed boost on the ROM access, but I've EmuTOS on there at the moment.


Now it's time for a bit of Muntzing before contemplating the next spin of the board, I reckon!

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 23496
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DFB1r4 design discussion thread

Post by exxos »

Pretty darn good ! Bit slow on RAM access though ?
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
JezC
Posts: 2081
Joined: Mon Aug 28, 2017 11:44 pm

Re: DFB1r4 design discussion thread

Post by JezC »

Looks very promising @Badwolf.


:thumbup: :coolpics: :goodpost: :cheers:
Any more plans for future developments beyond a spin of the PCB?
Post Reply

Return to “HARDWARE DISCUSSIONS”