REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)

Project: HDMI/DVI out for STFM

Progress on our FPGA cores.
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

exxos wrote: 31 Aug 2018 19:20 This is a bad fix..

But it solves my problem.. Where ever that 16MHz is going (middle right pin of U2) it needs 100R in there..
(I've now reverted my FPGA to "stock" with the idea that if I solve what causes the resets on my 520 that might help in finding out why they happen on my doubleST)

So my first guess is to replicate your fix above, so I added a small cap. Didn't make a difference though. Just for reference, what value did you use?

(Now I'll cut the trace and add some resistance instead)
User avatar
exxos
Site Admin
Site Admin
Posts: 28555
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

troed wrote: 09 Sep 2018 16:41 So my first guess is to replicate your fix above, so I added a small cap. Didn't make a difference though. Just for reference, what value did you use?
I think it was 50pf.

The ringing on the line likely causing some glitches in the clock causing the machine to lock up .
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

Shot a video just to show what I mean with "spontaneous resets". This is without touching anything. Disregard the failed video mode at some resets, that's not relevant (unless it indicates something about what happens, I don't know) - it's the resets themselves that are of interest.

https://troed.ddns.net/f/4c164bc45c284ef0888b/

This is from a 520ST with a picoPSU and the stock FPGA with its own 32.000MHz crystal. There's some pF on the 16MHz clock out - no difference with or without.

I have what seems to be the same resets, although seemingly much more often, when I run it in my doubleST. There a GAL produce all clocks, incl. the one for the FPGA. The FPGA clock out is _not_ used - and those GAL-generated clocks are stable when using a stock Shifter instead of the FPGA.

So now I'm going to debug this issue on the 520 instead ... I'm still not sure why the ST always resets instead of crashes/bombs etc. I think that's a bit surprising.
User avatar
exxos
Site Admin
Site Admin
Posts: 28555
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

troed wrote: 09 Sep 2018 17:46 So now I'm going to debug this issue on the 520 instead ... I'm still not sure why the ST always resets instead of crashes/bombs etc. I think that's a bit surprising.

I can't get anything to show on the video, either on the page or downloading it..

May be a good idea to scope out the clocks and see what you have on them all.. The capacitor actually makings the ringing worse, but oddly works on my machine.. So a resistors in series with the clocks is a much better idea..

Probably is a good idea to try on a stock machine as well.. I would assume it will work fine (as it does on my STFM).
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

exxos wrote: 09 Sep 2018 21:54 Probably is a good idea to try on a stock machine as well.. I would assume it will work fine (as it does on my STFM).
This is on a stock machine - the 520.

(The video should be a standard .mov - but I'll recode to mp4 container as well)
User avatar
exxos
Site Admin
Site Admin
Posts: 28555
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

troed wrote: 09 Sep 2018 22:07 This is on a stock machine - the 520.
Ah, so you have the reset problem with your doubleST AND a stock 520 ?
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

exxos wrote: 09 Sep 2018 22:11
troed wrote: 09 Sep 2018 22:07 This is on a stock machine - the 520.
Ah, so you have the reset problem with your doubleST AND a stock 520 ?
Yes. On the 520 the clocks are generated by the FPGA, using the Shifter socket clock_out for the rest of the ICs.

On the doubleST the clocks are generated by the GAL, for all ICs including the FPGA.

... so I'm really not sure it's the clocks since I see no overlapping path, but I have no other idea. Both machines are rock solid with original Shifters.

It's not: /BERR, /HALT, VCC (!), /DTACK, /MONOMON.

The LA shows normal activity AFAIK right up until RESET. I have no idea how any component in the Shifter socket can cause this. Even if the FPGA is somehow malfunctioning, how would it induce spontaneous resets?
Screen Shot 2018-09-09 at 19.43.50.png
MP4 video: https://troed.ddns.net/f/b9c4521ba36a499aadd1/
You do not have the required permissions to view the files attached to this post.
User avatar
exxos
Site Admin
Site Admin
Posts: 28555
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

Very odd...

What board exactly are you using ? I can try and find same board here to try out..
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

exxos wrote: 09 Sep 2018 23:43 Very odd...

What board exactly are you using ? I can try and find same board here to try out..
C070243 REV.I (520STM)

Even if there's something different with my FPGA prototype compared to yours I still don't understand how ...
User avatar
Smonson
Posts: 717
Joined: 28 Oct 2017 10:21
Location: Canberra, Australia

Re: Project: HDMI/DVI out for STFM

Post by Smonson »

To eliminate the possibility of power supply issues, could you try running the machine with the stock shifter installed, but with the FPGA board connected to just +5, ground, and vysnc? If possible, from somewhere connected close to the shifter socket. Then it should run through video generation just by itself and possibly introduce power supply or ground noise.

Return to “FPGA DEVELOPMENT”

Who is online

Users browsing this forum: apple [bot], ClaudeBot and 1 guest