Search found 226 matches

by prophet36
Mon Aug 14, 2017 6:09 pm
Forum: UMDK
Topic: New Wiki: Building UMDK tools on Windows
Replies: 2
Views: 406

Re: New Wiki: Building UMDK tools on Windows

You're welcome. Did you try it out? Any problems?
by prophet36
Sun Jul 09, 2017 9:40 am
Forum: UMDK
Topic: New Wiki: Building UMDK tools on Windows
Replies: 2
Views: 406

New Wiki: Building UMDK tools on Windows

Several people have been asking about using UMDK on Windows, so I wrote a wiki to help people get up and running . The Windows build still needs an owner, someone who is willing to help users and bring UMDK-on-Windows up to the same usability standard as UMDK-on-Linux. The most pressing thing is to ...
by prophet36
Mon May 29, 2017 9:53 am
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

Great work!
by prophet36
Tue May 02, 2017 8:07 am
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

you can use any fpga pin for a clock OUTPUT pin, DCM'ed or not does not matter It's been a while since I looked into this, so I don't remember the details, but it's all in this thread on the Xilinx forums. I think it'd be worthwhile to try it out before you route your board. To do it properly an OD...
by prophet36
Mon May 01, 2017 10:28 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

The only difference is that I'm getting rid of AS completely I think the only place /AS is used is to distinguish between CPU (i.e Z80 or 68000) cycles and DMA cycles in the trace log. I have a small project on the go to "replay" UMDK trace logs into a 68000 emulator (probably Musashi, which is use...
by prophet36
Mon May 01, 2017 4:23 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

Sorry for hijack but I decided to take a more "drastic" approach That is awesome, great work! Please bear in mind the new information that amushrow's painstaking detective-work has brought to the table in this thread though: the instability seen during 68000/Z80 bus arbitration on a small number of...
by prophet36
Mon May 01, 2017 1:37 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

That is very cool. You should put your name in the copyright message instead of mine though - I don't want to take the credit[1] for it!

So forgive my ignorance but how exactly do the diodes and resistors achieve the level-conversion?

[1]Or the blame!
by prophet36
Sat Apr 22, 2017 11:02 am
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

I'm going to make a board with diodes Thank you so much for all your hard work so far on diagnostics. Thanks to you we now have a much better understanding of why some MD models suffer problems, and others don't. Also, thanks in advance for your work on this alternative bridge-board (irrespective o...
by prophet36
Mon Apr 17, 2017 1:19 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

One thing I don't understand is if the rapid-switching of the buffer conveying the address-lines is causing /OE to also switch, that implies that /OE is not being actively driven. But if that were the case, then putting a 4K7 pull-up to +5V on /OE on the MD side would fix the problem, but when you t...
by prophet36
Mon Apr 17, 2017 11:36 am
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

This is getting way out of my depth (as I said before, I'm no electronic engineer; I deal in 1s and 0s, not voltages and currents). Is it possible to check to see whether or not this address-line contention happens during Z80 arbitration even with a regular (i.e non-UMDK) cart? What about replacing ...
by prophet36
Mon Apr 17, 2017 9:14 am
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

Still no better. [...] This behaviour of the buffer is undefined at this voltage and it seems to flip between high and low, and I reckon that's whats causing the noise on CAS0. I agree. Unfortunately, if this is the case, then the problem cannot be fixed properly without significant changes to the ...
by prophet36
Fri Apr 14, 2017 3:46 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

OK, try this new FPGA binary. It stops driving the data bus soon after /OE deasserts, and it refuses to return the state-machine to the idle state until /OE has been deasserted for four consecutive cycles.
by prophet36
Thu Apr 13, 2017 9:46 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

How really controls VDxx bus? It's controlled by the state-machine in the bus-arbiter . It's the std_logic_vector "mdData_io". Normally it's tri-stated, but several states drive it with a signal registered from the last word read from the SDRAM controller. If it UMDK side, I have some questions. Is...
by prophet36
Wed Apr 12, 2017 9:46 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

How consistent is the time between the /OE assert and the rising-edge of the first spurious spike? I'm thinking of putting an output (maybe on the spare unused output currently labelled mdDTACK_out) to identify the Sonic1 PCM range, so we can see that alongside /OE. Regarding the address-line drift,...
by prophet36
Wed Apr 12, 2017 2:04 pm
Forum: UMDK
Topic: MD hangs after playing any PCM file
Replies: 62
Views: 3925

Re: MD hangs after playing any PCM file

If you correlate the logic analyzer output with an instruction-trace from the UMDK, you'll get a better idea of where the R/W foo is coming from: $ loader -w $HOME/sonic1.bin:0 -x 2 -t trace.bin:1024 UMDKv2 Loader Copyright (C) 2014 Chris McClelland Putting MD in reset... Writing SDRAM... Releasing ...