Badwolf wrote: 11 Nov 2022 14:03
exxos wrote: 11 Nov 2022 13:59
Or is CLKOSC actually the 50mhz.. hmmmm
CLKOSC is the input pin from the 50MHz oscillator:-
ah right ok. Let me see I got this all correct then...
So the CPU is locked to 16MHz with OPTION2.. and with my "hack" the FPU is running 50MHz..So that fails on a few of the tests but otherwise passes..
Still with OPTION2 and a 40MHz OSC.. It all tests fine.
BUT, I tried a 40MHz OSC right at the start ( before I knew about OPTION2). and it failed anway. Basically made no difference.
So now trying with 40MHz OSC & OPTION 2 (And 40MHz FPU clock) and it passed... :WTF:
So I need to put back your original firmware retest 40MHz again.. So now this would have been what I tried right at the start.. And it fails..
So for whatever reason the FPU is not stable with half OSC speed to the CPU. Indeed 50MHz seems to aggravate the problem so it is certainly possible the FPU is only capable of 40MHz..
So we have a mystery of why the FPU does not function at half CPU speed more than anything ?
And apologies to my abuse of the word "so" :lol:
EDIT:
I guess the thing to do is move the 40MHz OSC to drive the FPU directly.. and run the CPU at 50MHz...