exxos wrote: 16 Nov 2022 14:31
Badwolf wrote: 16 Nov 2022 14:16
wire lowspeed = DISABLE_FAST & resetblock & ( ~ttram_access | ~rom_access | ~fpu ) & clockholdoff ; // low active (rom access here too)
[/code]
... this, I presume?
The first test was with just ~ttram_access. That was the only change. Other than currently my FPU is hardwired to the 40mhz osc.. So you would need to change that line of code to run the FPU at CLKOSC.
Ahh. So this?
Code: Select all
wire lowspeed = DISABLE_FAST & resetblock & ( ~ttram_access ) & clockholdoff ;
That would lead to accleration ONLY during TT_RAM access so slowing for FPU, Flash etc. Flash doesn't make any difference as it's not installed on your board.
AH WAIT. I missed a vital part there. Without AS in there qualify those other terms, your CPU is running slowing *between* every bus cycle too.
So basically you've got a fancy version of OPTION2 there. Slow all the time *apart from* TT-RAM access.
So actually we're still no better off. :(
I guess simple for you to try to see if you can hit higher FPU speeds. Though if these problems are only on my board and not in general, there probably isn't much point me spending time on it. I wouldn't use the FPU for anything anyway.
Yes, would be simple enough, although mine seems to crap out at 30MHz with OPTION2 set or not, so I doubt this would help as it's not what I initially thought it was.
I'm sorry if I didn't make it clear, although I have tried to.
This board in particular had problems with the FPU.
The story goes: I had five boards:
- I gave one away.
- I built one for Frank (on camera) which worked when I had it here, but got damaged in shipping. Robert (@12-MHz) fixed it up. He did run into problems with FPU speeds there, which is perhaps why I caused confusion earlier on by mentioning others having problems (but not the same problem).
- I built this one and the FPU didn't work. I ended up damaging the CPU socket trying to reflow it so rejected it and...
- ...built a fourth. That worked well and is the board I use now.
- I've lost track of the fifth board -- I can't remember if I gave it away before I realised I had a rejected build, broke it or have simply lost it.
Anyway, the fifth was meant to be for you, but since I don't have a fith, I went back and salvaged board two for you. The FPU was still not working even after I fixed up the CPU socket with the bodges.
I tried to explain the FPU never worked for me *on that board* when I sent it and if you could get it to, it'd be really useful to know how, because *perhaps* it'd be information useful to improve top FPU speed on the other builds. I thought we'd cracked that nut with the capacitors, but it doesn't look like it.
So that's where we are now. Unfortunately it looks like your board only really works with the CPU running in slow-mo.
BUT if you've got a FPU_DSACK line sensitivity, it could still be fixable -- that's potentially the cause of
that board's problems.
BW