Page 2 of 5
Re: DSTB1 - official firmware tests
Posted: 05 May 2022 19:49
by Badwolf
exxos wrote: 05 May 2022 17:33
Maybe but that died without even loading anything. I have tried EMUTOS a few times in the mix as well.. I will try EMUTOS on my current build just to rule that out.
OK, so stock firmware + external decoder isn't stable, but it was running fine when I hacked the very first version to do TOS206 decoding, right?
Next obvious test would be to remove flashy clock, boot into TOS1.04 and run EMUTOS.PRG, I suppose.
BW
Re: DSTB1 - official firmware tests
Posted: 06 May 2022 23:51
by Badwolf
OK, after having spoken with @exxos off-thread, I'm now of the understanding that, at the moment, the only yet identified problem with the stock firmware in the test configuration is that FrontBench craps out when the music comes in.
Configuration under test is H5 with TOS1.04 and EmuTOS.PRG loaded from disc.
The most obvious thing would be that the YM chip's DTACK is still asserted when FB starts its next AltRAM cycle.
To test this, since we know there's no problem with FB *without* AltRAM, we'll deny the switching, so Exxos I'll supply a stock build bar a 16MHz inhibit. If you could please test in the above configuration on Monday and feed back, I'd be grateful.
I'll check that firmware works for me over the weekend (if it doesn't, we may have opened the lid on a different issue).
Cheers,
BW
Re: DSTB1 - official firmware tests
Posted: 06 May 2022 23:54
by exxos
Using my firmware (as I need TOS206) SLOW = 1'b0;
IMG_0555.JPG
Basically craps out the same as when trying "slave mode".
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 00:03
by Badwolf
exxos wrote: 06 May 2022 23:54
Using my firmware (as I need TOS206) SLOW = 1'b0;
Basically craps out the same as when trying "slave mode".
OK, that is something I was worried about and need to check this end, then. Ta.
But it's not the test config of 1.04 + EmuTOS.PRG, is it? :P
(I have lost trust in my AltRAM.PRG until I have time to fix the FRB mapping I consider it an unreliable way of testing ;) )
BW
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 00:14
by exxos
Badwolf wrote: 07 May 2022 00:03
But it's not the test config of 1.04 + EmuTOS.PRG, is it? :P
I knew you was going to say that.. FB and EMUTOS don't fit on the same floppy :chairsmack:
IMG_0556.JPG
Reflashed with your firmware next & TOS104 & EMUTOS.PRG
IMG_0557.JPG
Just the same. When alt-ram gets accessed it crashes.
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 01:21
by Badwolf
Ok, grand, thanks.
That’s definitely something that has slipped through the checking process. It ought to have no dependency on processor speed.
Will take a look.
BW
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 02:46
by exxos
Its like I was saying earlier . The more time the CPU spends in 8mhz the worse ram stability seems to be. Just switching to 16mhz on ram access is worse than switching to 16mhz with RAM,ROM,AS. On that basis if the CPU ran at 16mhz all the time then it would in theory work better still :shrug:
But I keep forgetting how you say sdram works. But with refresh cycles in the mix and a "slow" CPU at 8mhz, then would it try and latch data at the point sdram panics into doing a refresh cycle ? 16mhz CPU might be the tipping point there. On that basis if the CPU ran a fraction faster then it would likely be more stable. :shrug:
I'm starting to think it's getting more trouble than its worth with SDRAM. It was a bit fickle on the TF536 as well. :roll:
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 12:17
by Badwolf
exxos wrote: 07 May 2022 02:46
But I keep forgetting how you say sdram works. But with refresh cycles in the mix and a "slow" CPU at 8mhz,
Shouldn't make any difference -- my controller
should take care of all that. But...
I'm starting to think it's getting more trouble than its worth with SDRAM. It was a bit fickle on the TF536 as well. :roll:
Too right! 80% of all my dev time has been on bloody SDRAM. That said, the price... the volume... Gah!
Did start designing a latched version of DSTB1 to try and reduce the SDRAM PITA factor, but I couldn't quite make them fit on the board (as they're unidirectional so require two 16 bit chip + control lines). I went with what I know in the end. If I had unlimited space, I'd try that next.
Screenshot 2022-05-07 at 12.15.50.png
(there is actually one chip on the top side and one on the bottom for 'in' and 'out'!)
But anyway, back to the point in hand...
BW
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 12:23
by Badwolf
Right,
@exxos. Not wishing to be 'that guy', but
it works here, guv. :roll:
Stock firmware modded slightly for 206 decoding (I don't need it, but want to make sure it's in there) and proper LED flashery.
Tested, works.
OK, then hard-coded to 8MHz:
IMG_5348.jpeg
IMG_5349.jpeg
...and I've just checked and MiNT works too.
I was quite prepared to believe the H5 and STE worked differently with respect to the YM chip, but AltRAM working at 8MHz here and not there?! I wasn't expecting that.
Can you give this firmware a crack when you're back? If it doesn't work either, I'm going to have to have a proper head-scratch.
Ta,
BW
Re: DSTB1 - official firmware tests
Posted: 07 May 2022 13:01
by exxos
Badwolf wrote: 07 May 2022 12:23
Right, @exxos. Not wishing to be 'that guy', but
it works here, guv. :roll:
...and I've just checked and MiNT works too.
But you have problems still with mint at 16mhz ?
Maybe thing to do is just send you this board back for you to try. Could be that there is a bad solder joint or something on it causing the issues. The H5 works fine with PLCC or DIP 68K and the TF536. Kinda out of ideas now.