6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Apr 29, 2024 8:13 am

All times are UTC




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: 8501 dissection
PostPosted: Fri May 28, 2021 12:23 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1392
@Ed:
Thanks for the kind words from the "Visual6502 corner", I really appreciate this.
Even if we won't manage to make sense of the NMI situation, at least we now are aware that the 8501 designers
had a creative aproach for "tacking" the unused NMI# pad to a (supposed to be safe) potential.
//Since a glitch at the NMI# pad at the wrong moment could disrupt the RESET sequence of the CPU.
Edit: NMI# riddle solved.

@Frank:
I'd also like to thank you again publicly for providing me those very good polygonized pictures,
I wouldn't be able to do that sort of work without them.
//I'm not good at interpreting the very faint diffusion layer in HMOS-II chips.
I really look forward to our (not so) little next projects... and 6509 is next.


Last edited by ttlworks on Mon May 31, 2021 7:13 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Fri May 28, 2021 12:51 pm 
Offline

Joined: Thu Jul 20, 2017 9:58 am
Posts: 91
ttlworks wrote:
@Frank:
I'd also like to thank you again publicly for providing me those very good polygonized pictures,
I wouldn't be able to do that sort of work without them.
//I'm not good at interpreting the very faint diffusion layer in HMOS-II chips.
I really look forward to our (not so) little next projects... and 6509 is next.


I wish I could polygonize them faster... :D


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Mon Aug 02, 2021 1:57 pm 
Offline

Joined: Sat Sep 24, 2011 6:31 am
Posts: 3
Wow, this took me back.


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Tue Mar 22, 2022 11:41 am 
Offline
User avatar

Joined: Tue Aug 11, 2020 3:45 am
Posts: 311
Location: A magnetic field
ttlworks on Fri 28 May 2021 wrote:
It looks like the NMI# trace is tacked to the output capacitor of the bias generator
(the side of the capacitor which connects to the two FETs working as diodes)
by using a pullup (pulldown ?) FET, and we have no idea why.


Has NMI been converted into a power glitch detector? Does typical hardware have NMI routine which is consistent with power glitch?

_________________
Modules | Processors | Boards | Boxes | Beep, Beep! I'm a sheep!


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Thu Mar 24, 2022 8:47 am 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1392
Sheep64 wrote:
Has NMI been converted into a power glitch detector?

No, it hasn't.
I figured out later, that it's a trick to bring NMI# to a slightly negative voltage potential,
just to make sure that NMI# can't trigger by accident.

Quote:
Does typical hardware have NMI routine which is consistent with power glitch?

I'm interpreting your question as "is it typical to have a NMI routine triggered by power glitch detection hardware ?"

I have not seen something like that in a 6502 system... yet...
but for old VMEbus 68k machine control hardware it would be normal to have some circuitry which detects power supply failure
and triggers INT7 for saving machine status etc. "to NVRAM or such" in time.


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Thu Mar 24, 2022 2:47 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3349
Location: Ontario, Canada
ttlworks wrote:
I figured out later, that it's a trick to bring NMI# to a slightly negative voltage potential,
just to make sure that NMI# can't trigger by accident.
Hmm, so why didn't they prevent accidental triggering by simply tying NMI# to Gnd? Perhaps they wanted to be able to intentionally trigger NMI# for factory testing (before the die got encapsulated)... ?

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Thu Mar 24, 2022 5:11 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1392
Dr Jefyll wrote:
Perhaps they wanted to be able to intentionally trigger NMI# for factory testing (before the die got encapsulated)... ?

Most certainly yes, but it's an interesting question if the voltage levels for triggering the NMI# pad would be TTL compatible:

There is a lot of trace resistance between the NMI# pad and the inverter which senses NMI#,
and the FET which generates the negative voltage bias on the NMI# trace sits close to said inverter.


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Tue Mar 29, 2022 3:00 pm 
Offline
User avatar

Joined: Tue Aug 11, 2020 3:45 am
Posts: 311
Location: A magnetic field
ttlworks on Thu 24 Mar 2022 wrote:
There is a lot of trace resistance between the NMI# pad and the inverter which senses NMI#


Tying NMI to ground (or power) would leave it inert. That's the obvious thing to do but that's not observed.

If the bias ring has high capacitance and the trace has high resistance then there is a large resistor-capacitor product. In favorable conditions, tying NMI to the bias ring is no different to tying NMI to ground (or a little less). However, this resistor-capacitor network would be relatively stable compared to ground-bounce. In this case, power glitches exceeding a certain speed and magnitude would trigger the unused NMI. Sensitivity could be tuned by varying the length or width of the trace.

One thing we cannot determine from die shots is the stage in the process where someone thought "Hey, if we tie it here, we can re-purpose all of this apparatus rather than wasting it!" Unfortunately, this apparatus remains wasted if all 8501 systems had NMI vector to RTI or routines which detect "spurious" interrupt and exit.

Actually, it might be possible to invoke Dr Jefyll's programmer's panic switch by deliberately invoking a brief power glitch near 8501. Why waste a pin for such functionality?

_________________
Modules | Processors | Boards | Boxes | Beep, Beep! I'm a sheep!


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Wed Mar 30, 2022 7:52 am 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1392
The 8501 has no NMI# pin:
There is no wire bonded to the NMI# pad of the chip.

So we can't just observe what effect a glitch in the power supply might have to the NMI# circuitry of the 8501.

Unfortunately nobody in this forum seems to have an academic degree in semiconductor physics,
so debating about what the designers did there and why, which effect it exactly might have etc.,
only would be speculative without leading us to a useful result.

Would suggest to buy an 8501 for $70 at ebay, then to inject pulses into the power supply and to see what happens.
But I won't do that. :)


Actually, the purpose of this dissection was to gather enough info about the 8501 innards for building a FPGA based 8501 plug_in replacement,
because it became increasingly difficult to buy (used) 8501 chips as spare parts, and because the ebay prices for said chips went through the roof...


Top
 Profile  
Reply with quote  
 Post subject: Re: 8501 dissection
PostPosted: Thu Apr 07, 2022 10:03 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
ttlworks wrote:
Unfortunately nobody in this forum seems to have an academic degree in semiconductor physics,


Ha ha! Might well be true, but as it happens I do have a Masters in VLSI Design, which covered both Computer Science and Electrical Engineering topics. It was a fun-filled intensive 12 month course, but I started it with only a hobbyist knowledge of all these things, so I'd say the textbooks are well work a look by any interested party.

This was one:
Introduction to MOS LSI design
By J. Mavor, Jack Denyer, Mervyn A. Jack, Peter B. Denyer
1983
242 pages
available to borrow online here
https://archive.org/details/introductiontomo0000mavo

and this was another:
Introduction to VLSI Systems
By Carver Mead and Lynn Conway
1980
400 pages approx
and available online at Conway's site here
https://ai.eecs.umich.edu/people/conway ... IText.html


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: