VOGONS


First post, by Deksor

User metadata
Rank l33t
Rank
l33t

Hello !
I finally finished assembling my snark barker (except for the CMS chips because I need to wait for the sockets to arrive) !
After checking nothing was shorted, I installed it in a computer.

Unfortunately, the card isn't 100% working. OPL2 is working, so that's a good new, because it means that some of the logic and the amplifier section is working allright. What doesn't work is the DSP.

So I used SBDIAG for troubleshooting.
"DSP Address Test" is working, I can see the pulse on pin 1 of U19 on my vintage 20MHz oscilloscope.
"DSP Write Test" is where things seem to fail. I can't see anything there. All I see is the signal being stuck to high. However I can hear in the audio output that something is happening. (A very slight noise when the test runs)

Is my 20MHz oscilloscope too slow to view the signal ? Is there a problem ?
Any hints to figure out what could be wrong ?

Here's a picture of my completed card :
mJYPPOvl.jpg

Thanks !

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 1 of 19, by mkarcher

User metadata
Rank l33t
Rank
l33t
Deksor wrote on 2022-03-09, 21:17:

"DSP Write Test" is where things seem to fail. I can't see anything there. All I see is the signal being stuck to high. However I can hear in the audio output that something is happening. (A very slight noise when the test runs)

Is my 20MHz oscilloscope too slow to view the signal ? Is there a problem ?

A 20MHz scope is not to slow to view anything ISA related. Yet I guess your scope is part of why you don't see anything. The DSP addressing test continously hammers the DSP chip with read cycles, so your scope gets enough pulses to show stuff. On the other hand, the DSP write test tests for DSP readiness (takes a microsecond) and if that test fails, the program sleeps for a milliscond. So after every relevant event, there is a long gap (1000x the event duration) until the next event happens (in case the DSP readyness test always fails, which might fit your symptoms). Analog scopes are not very good at picking up single events with long gaps between them - but a 1kHz repetition rate should be enough to get a stable display of the pulses - as long as the scope doesn't get "impatient" and displays the flat line in the pause even if there is no trigger event. There is a setting on the scope whether it might get impatient or whether it will wait indefinitely for a triggering event: That's the auto/norm switch. Put it to norm, and you should be able to see 1µs events that happen every ms - if the trigger level is correctly set up and the time base is fast enough to show 1µs events (so you should be at something like 5µs/div or faster.

Reply 3 of 19, by Thermalwrong

User metadata
Rank Oldbie
Rank
Oldbie

I've built 3 of these now I think? The first one I had lots of trouble with because of a faulty IC, eventually found that probing around voltages for the amp etc while it was powered.

Your one is missing a part, the TXD & RXD jumpers are missing? They should both be connected at the top

Reply 5 of 19, by TubeTimeUS

User metadata
Rank Newbie
Rank
Newbie

You might have better luck with a logic probe that can detect short pulses, rather than an analog scope.

Trace the write pulse as far as you can:
1. Pin 11 of U18 (the latch)
2. Pin 9 and pin 10 of U27
3. Pin 12 of U28 (should pulse when the write port is addressed. This is driven by U8 which should be working because the address test worked, but test this signal anyway.)
4. Pin 6 of U16 (should pulse low all the time, it's a buffered ISA bus signal)
5. Pin 4 of U16 (definitely should be pulsing, it's directly off the ISA bus)
6. Pin 5 of U16 (should always be high)

There's a chance the DSP MCU isn't responding for whatever reason.
1. Look for oscillation on pins 18/19 of U13.
2. See if any values get written to the latch U18 by looking at its data outputs before and after running the test.
3. You can check for a pulse on pin 1 of U18 to see if the MCU is trying to read the latch at all.
4. The MCU gets the signal that there is data available in the latch with the flag stored in flip flop U22B. Check pin 9 of U22 to make sure it asserts after a value is written to the port.

Hopefully that's enough to get you started.

Reply 6 of 19, by Deksor

User metadata
Rank l33t
Rank
l33t

Ok so I hooked up my shiny new scope (sorry for the picture quality, taking pictures while probing isn't easy)

IMG_20220310_222429.jpg

Ok so this doesn't look right at all, doesn't it ?

IMG_20220310_222538.jpg
IMG_20220310_222556.jpg

This one looks correct

IMG_20220310_222641.jpg

This one too

IMG_20220310_222753.jpg

This looks really bad

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 7 of 19, by Deksor

User metadata
Rank l33t
Rank
l33t

Continuing....

IMG_20220310_222850.jpg

Now this is weird. If I understand properly, this is connected straight to the ISA bus ? Could this mean my motherboard has a bad ISA bus ??

Or is it u16 that's bad ?

IMG_20220310_222940.jpg

That one is ok I think

IMG_20220310_222959.jpg

I don't know what to say for this one

IMG_20220310_223041.jpg
IMG_20220310_223248.jpg

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 9 of 19, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++

MmmmMmmm, signal soup.

How does a fancy schmancy Rigol not have a screenshot/snapshot button?

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.

Reply 10 of 19, by Physikant

User metadata
Rank Newbie
Rank
Newbie

Hi, sorry for Hijacking this Post. I have the same issue. I soldered 3 of them (some friends wanted one, too) and the issue is the same with all of them. All parts are ordered from mouser, so I don't expect a broken chip. The controller is a AT89S51-24PU. I programmed it with the classic Xgecu T48 and verified the programming, it seems to have worked. Still, on all cards, Adlib mode works but the TEST-SBC-Tool doesent find the card at any address (I tried all jumper settings).
Any ideas? Anybody willing to send/sell me a programmed DSP so I can try if it has a problem with my programmer?

Reply 11 of 19, by MJay99

User metadata
Rank Member
Rank
Member

Just to be sure, since it could maybe explain all three cards having issues: all other ICs are oriented to the left, but is the DSP correctly insterted and facing with pin 1 to the right?

Reply 12 of 19, by Physikant

User metadata
Rank Newbie
Rank
Newbie

Yes it is. That is sadly not the issue.
I can try what @TubeTimeUS suggested and trace signals with an LA, but it feels pretty unlikely that all 3 boards have the same soldering issue 🙁

Reply 13 of 19, by B24Fox

User metadata
Rank Member
Rank
Member

@Deksor & @Physikant
Maybe both of you bought some rare component from the same seller, and it could be a fake?

I was also thinking of building this card (but ordering from farnell.com , as shipping from Mouser costs the same as the materials, in my case).
But after seeing this, i'm getting kind of scared TBH... 😟

Reply 15 of 19, by groquik

User metadata
Rank Newbie
Rank
Newbie

Hello.
I just finished my first Snark Barker and I have exactly the same issue.
I checked every IC with an IC tester, they are ok.
I checked with sbdiag and an oscillo. DSP adressing if running well but DSP Write test doesnt work , there is no signal.
I'm asking if a fake or malfunctionning 89s51 could be possible. I programmed it with a T48. The only point is that I had to disable check id for flashing because of a bad id (FF FF). I checked the ATMEL with oscillo. Tensions are good. The two oscillator pins are ok. DAC ouput are 5v. I already changed all the IC without success.
I will try today to quickly mount another snark barker (only the dsp part, no need for audio amplification , cms or opl) to try if I have the same issue.
I already ordered old 89C51 (not S, this time) for comparison.

Reply 16 of 19, by groquik

User metadata
Rank Newbie
Rank
Newbie

More news.
I quickly made a second card.
The issue is exactly the same. So I'm pretty sure that the problem is the dsp. Adlib works, cms is detected and working with sbdiag. Dsp adressing pulses. Dsp writes doesnt pulse at all. The dsp is sleeping.....
So I really suspect 89s51. Maybe the t48 programmation is not well working ?
Will wait for C version and try it.

Reply 17 of 19, by maxtherabbit

User metadata
Rank l33t
Rank
l33t

I have used both the C and S version in a real soundblaster card and both worked fine, I was using the 52 though.

Reply 18 of 19, by groquik

User metadata
Rank Newbie
Rank
Newbie
maxtherabbit wrote on 2024-05-01, 16:54:

I have used both the C and S version in a real soundblaster card and both worked fine, I was using the 52 though.

That is going my way.
Orderer also 52 but it "shouldn't" make any difference.