My boards always include a LED on an PLD output pin for this kind of reason.
POC VERSION TWO
Re: POC VERSION TWO
BigDumbDinosaur wrote:
If the preceding diagnostic path turns out to be a bust I will do just what you described.
My boards always include a LED on an PLD output pin for this kind of reason.
8 bit fun and games: https://www.aslak.net/
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC VERSION TWO
Aslak3 wrote:
You could even eliminate everything except the ROM decoding and a simple output register on the CPLD. Use a single output pin (maybe the QUARTs chip select, with the IC removed?) as an output and attach the logic analyser to it.
Quote:
I assume it is possible to run up the '816 RAM-less?
Quote:
My boards always include a LED on an PLD output pin for this kind of reason.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
POC VERSION TWO: Shaky clock?
BigDumbDinosaur wrote:
cbscpe wrote:
I'd rather would create a minimal CPLD design...
Recall that Ø2 is the output of a flip-flop driven by an oscillator. The single-stepper does nothing more than imitate the low/high output of the oscillator, pulling the flop's CLK input low when a push button is pressed and then bringing CLK high shortly after the push button is released—a DS1813 reset generator debounces the push button. Each time CLK goes high the flop's Q output, which is from where Ø2 is derived, should change state. So, the theory goes, two push button press/release cycles would produce one complete Ø2 cycle, which would allow me to look at various logic levels with Ø2 held in either state.
For initial testing purposes, I put my logic probe on the flop's Q output just to prove that my stepper was stepping. Several times I noted that the probe didn't always say Q was high when it should have been. First thought was perhaps the flop was defective. Then it occurred to me to switch the logic probe (a BK Precision DP-21) from CMOS to TTL mode, which has the effect of changing the probe's notion of what voltage level constitutes a logic 0 or logic 1. Now the probe consistently indicated when Q was low or high.
The logical progression with this would be to replace the 74ABT74 flop with a 74AC74 equivalent, since the latter's outputs when high are very close to Vcc. I don't have any 'AC74s in SOIC14 so I had to order one. That will be the easy part. Replacing it...well, I still can't see from my left eye...
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC VERSION TWO: Shaky clock?
BigDumbDinosaur wrote:
I got my little clock single-stepper built and tried it out. Right off the bat I could see where the Ø2 clock might be an issue.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: POC VERSION TWO
I would try to put a strong pull-up first in PHI2, eg something like 330 Ohms.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC VERSION TWO
cbscpe wrote:
I would try to put a strong pull-up first in PHI2, eg something like 330 Ohms.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: POC VERSION TWO
What clock speed did you use with the pullup? That can't be that the waveform is bad. In my opinion there is some sort of connection to PHI2 that should not be.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC VERSION TWO
cbscpe wrote:
What clock speed did you use with the pullup? That can't be that the waveform is bad. In my opinion there is some sort of connection to PHI2 that should not be.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: POC VERSION TWO
Strange. Why should the pull-up make the pulse trapeziodal? There is no reason for that. The ABT output can sink 20mA and source -15mA. The pull-up should virtually have no impact. Certainly not when you stay below the source capabilities. What value did you use for the pull-up.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC VERSION TWO
cbscpe wrote:
Strange. Why should the pull-up make the pulse trapeziodal? There is no reason for that. The ABT output can sink 20mA and source -15mA. The pull-up should virtually have no impact. Certainly not when you stay below the source capabilities. What value did you use for the pull-up.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: POC VERSION TWO
680 ohms times even 20pF on the line makes for a time constant of 13.6ns. Although that TC picks up after the 74ABT part gets its output as high as it can, it might still be a problem. The specified maximum acceptable rise time for the '816 is 5ns.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: POC VERSION TWO
Is this 5ns really the limiting factor here? I doubt. It still puzzles me that the signal is trapezoidal. With 1 MHz each Phase is 500ns. To be able to see a trapezoidal signal with a 680Ohm pull-up is not normal. Even if the RC time of PHI2 due to capacitance is 20ns then you barely can see that. Also the ABT should bring the signal to a reasonable Level in a very short time, less than 3ns. If after the level from the ABT the rest of the edge shows a slow rise time then I still think there is some unexpected load on PHI2. A decoupling capacitor, output, etc.
BDD, how many input signals are connected to PHI2 and what is the rise time of your trapezoidal waveform and is Voh with the pull-up at the expected Level, i.e. 5V?
BDD, how many input signals are connected to PHI2 and what is the rise time of your trapezoidal waveform and is Voh with the pull-up at the expected Level, i.e. 5V?
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC VERSION TWO
cbscpe wrote:
BDD, how many input signals are connected to PHI2 and what is the rise time of your trapezoidal waveform and is Voh with the pull-up at the expected Level, i.e. 5V?
The clock oscillator only drives the CLK input of the flop. Incidentally, I mistyped earlier. The test frequency was an 8 MHz oscillator, resulting in a 4 MHz Ø2.
As for the waveform, I can't explain it but believe at this point that the flop has a problem. It will get changed out and replaced with a 74AC74.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: POC VERSION TWO
Indeed the CPU and the CPLD only is not many. I thought there were also some 6522. I agree the flop is now the suspect.
Re: POC VERSION TWO
BigDumbDinosaur wrote:
Ø2 (the flop's Q output) drives the '816 and the CPLD. I have verified that there are no other connections to Ø2.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html