Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

exxos's DFB1 trials

Discussion and support for the DSTB1 & DFB1 boosters by BadWolf..
User avatar
exxos
Site Admin
Site Admin
Posts: 28678
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos's DFB1 trials

Post by exxos »

Badwolf wrote: Fri Nov 11, 2022 3:28 pm You're using the wrong lowspeed there. Would only work with the top one, but also I don't see the difference between the two you quoted. Presumably one is meant to be with | clock_block and the other with | ~clock_block?
I tried both some reason I copied the same one twice.. will edit the post..

Certainly cannot hurt.

My head is spinning a bit from it all :stars: But I think at least in my case, as soon as CPU runs faster things start to mess up. So for whatever reason the CPU is trying to talk to some part of the FPU access to fast.

My only suggestion will probably be something like after a FPU cycle, artificially add a couple of 16MHz clock delays there before starting the next cycle. Just really guessing that maybe the FPU could be keeping data on the bus for 100ns after /AS goes high... Unlikely..but if it is simple to do then might as well try it to rule it out. Point being that datasheets can never be trusted and we cannot guarantee that these FPUs are even "in specification" to start with. They could all be factory rejects for all I know.

Anyways,If you want me to try any more jeds then shoot them over to me. I'm not at home at weekends so cannot do anything then until Monday. And I am away for two days but back on Thursday.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3060
Joined: Tue Nov 19, 2019 12:09 pm

Re: exxos's DFB1 trials

Post by Badwolf »

exxos wrote: Fri Nov 11, 2022 3:43 pm My only suggestion will probably be something like after a FPU cycle, artificially add a couple of 16MHz clock delays there before starting the next cycle. Just really guessing that maybe the FPU could be keeping data on the bus for 100ns after /AS goes high... Unlikely..but if it is simple to do then might as well try it to rule it out. Point being that datasheets can never be trusted and we cannot guarantee that these FPUs are even "in specification" to start with. They could all be factory rejects for all I know.

Anyways,If you want me to try any more jeds then shoot them over to me. I'm not at home at weekends so cannot do anything then until Monday. And I am away for two days but back on Thursday.
No worries. Many thanks to both you and @dml. You for the detective work that's generated new information and a partial success and Doug for the background so we know what we're poking into.

I think I can see a test case I can implement here (OPTION 1 and a 40MHz oscillator for starters) and if that works, I'll have a go with all the firmware tricks I can think of!

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
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7464
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: exxos's DFB1 trials

Post by stephen_usher »

A quick question, is the /CS signal for the FPU clocked at the CPU speed or the FPU speed?

If the former then could this mean that the FPU doesn’t have time to respond before the /CS is disasserted?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3060
Joined: Tue Nov 19, 2019 12:09 pm

Re: exxos's DFB1 trials

Post by Badwolf »

stephen_usher wrote: Fri Nov 11, 2022 4:15 pm A quick question, is the /CS signal for the FPU clocked at the CPU speed or the FPU speed?

If the former then could this mean that the FPU doesn’t have time to respond before the /CS is disasserted?
It's asynchrnous by default:

Code: Select all

wire fpu = {FC,A[19:16]} != 7'b1110010; // co-processor decode
...
assign FPUCS = fpu;
This isn't technically 100% correct as it disregards the coprocessor index bits, but since there's only one co-processor, I think it's legit.

We've tried adding in a dependency on AS too and later delaying the chip select until a (CPU) clock switch has completed, but no joy yet.

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
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3060
Joined: Tue Nov 19, 2019 12:09 pm

Re: exxos's DFB1 trials

Post by Badwolf »

Right, I've put a 36MHz Oscillator into my DFB1 and changed the FPUCLK to CLKOSC directly.

Perfect: I get an error.
IMG_5998.jpg
IMG_5998.jpg (144.12 KiB) Viewed 958 times


Something to work with. First step, I jumper OPTION2 so now I've got a CPU at 16MHz and an FPU at 36:
IMG_5999.jpg
IMG_5999.jpg (213.37 KiB) Viewed 958 times
...but error at same test...
IMG_6001.jpg
IMG_6001.jpg (151.58 KiB) Viewed 958 times


Now, previously I would have thought 'dodgy FPU, only stable at 25, not at 36', but now I think it's time to bodge some caps on the bottom.

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

Re: exxos's DFB1 trials

Post by exxos »

Badwolf wrote: Fri Nov 11, 2022 9:04 pm Right, I've put a 36MHz Oscillator into my DFB1 and changed the FPUCLK to CLKOSC directly.

Now, previously I would have thought 'dodgy FPU, only stable at 25, not at 36', but now I think it's time to bodge some caps on the bottom.

Looks like you are replicating what I see here now then basically. But I don't think the capacitors are the main cause here.

Odd that OPTION2 doesn't work for you.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3060
Joined: Tue Nov 19, 2019 12:09 pm

Re: exxos's DFB1 trials

Post by Badwolf »

exxos wrote: Fri Nov 11, 2022 9:08 pm Looks like you are replicating what I see here now then basically. But I don't think the capacitors are the main cause here.

Odd that OPTION2 doesn't work for you.
Yes, I was hoping OPTION2 would do the trick, exactly replicating what you're seeing, then I could do firmware magic, but I'm going to cap it up and see if that can push it back into the green.

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

Re: exxos's DFB1 trials

Post by exxos »

Badwolf wrote: Fri Nov 11, 2022 9:14 pm Yes, I was hoping OPTION2 would do the trick, exactly replicating what you're seeing, then I could do firmware magic, but I'm going to cap it up and see if that can push it back into the green.
May be purely on the basis that you used a slightly slower oscillator ?
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3060
Joined: Tue Nov 19, 2019 12:09 pm

Re: exxos's DFB1 trials

Post by Badwolf »

exxos wrote: Fri Nov 11, 2022 9:18 pm
Badwolf wrote: Fri Nov 11, 2022 9:14 pm Yes, I was hoping OPTION2 would do the trick, exactly replicating what you're seeing, then I could do firmware magic, but I'm going to cap it up and see if that can push it back into the green.
May be purely on the basis that you used a slightly slower oscillator ?
Mine works at 25, so I doubt it that's the oscillator is too slow.

Anyway, two 10uF added with a completely legit technique...

IMG_6004.jpg
IMG_6004.jpg (318.93 KiB) Viewed 945 times


Got a little bit further, but still failing:

IMG_6005.jpg
IMG_6005.jpg (154.19 KiB) Viewed 945 times


So maybe there's something in this.

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

Re: exxos's DFB1 trials

Post by exxos »

Badwolf wrote: Fri Nov 11, 2022 9:40 pm So maybe there's something in this.
Possibly yes... Like I said earlier seems to be a lot of noise on the top right VCC pin.. Maybe you could scope that ?

But it could be the capacitors are just simply too far away from the pins to be totally effective.As there needs to be All Power Pins Ideally As Well.

The only possible way would be to hack on some caps ontop of the socket with some small header pins or something and add caps like that to see if it gets the noise down etc.

I did this on the H5 for example..

Capture.PNG
Capture.PNG (29.56 KiB) Viewed 940 times
Post Reply

Return to “DSTB1 & DFB1 booster by BadWolf”