6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 9:19 pm

All times are UTC




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Weird JMP problem
PostPosted: Sun Mar 03, 2013 8:53 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Or indeed, as we've said before, you want an adequately fast rise and fall time on the clock. Your hyperbole does not always improve your message, BDD.
Cheers
Ed


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Mon Mar 04, 2013 9:03 pm 
Offline

Joined: Sat Mar 02, 2013 3:21 am
Posts: 26
Just tried the 74HC14. Works possibly a little better, but still conks out when I wait longer than a few seconds between cycles.


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Wed Mar 06, 2013 4:57 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
Mercury1964 wrote:
... but still conks out when I wait longer than a few seconds between cycles.
That's twice you've remarked on the delay aspect. One possible explanation for the effect is that you have an error in the logic that enables the memory chip, and that it is being enabled during the period when PHI2 is low rather than when PHI2 is high. In that case the data would appear earlier than required. Because there's some capacitance present, the data could conceivably remain valid, stored by the capacitance, for several seconds even after the memory IC is disabled. But it's an unreliable phenomenon; eventually the voltages would drift to meaningless values.

Dunno if that explanation is helpful for you, but at any rate the question is this: what sort of logic do you have connected to the Chip Enable and Output Enable of the memory chip? You need both of those inputs to be active (ie, low) during the PHI2 high period of a Read cycle.

cheers,
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: Weird JMP problem
PostPosted: Wed Mar 06, 2013 9:55 pm 
Offline

Joined: Sat Mar 02, 2013 3:21 am
Posts: 26
It's a SPDT switch, shared between PHI2 and a button connected to ground. I'll try disconnecting the switch and directly connecting PHI2 to the OE and CE lines of the RAM.


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Wed Mar 06, 2013 10:29 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Quote:
I'll try disconnecting the switch and directly connecting PHI2 to the OE and CE lines of the RAM.

These lines of the RAM are negative logic, so they will have to be low when phase 2 is high.

_________________
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Wed Mar 06, 2013 10:32 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
GARTHWILSON wrote:
These lines of the RAM are negative logic, so they will have to be low when phase 2 is high.
Right. One simple solution is to connect PHI2 and R/W to the inputs of a NAND gate (eg: 74hc00) and connect the output of the NAND gate to OE of the memory. CE can simply be grounded, for now at least, since you have no other memory or IO devices on the bus. The setup for your experiment can be simpler than what an actual, functional system would use.

I don't know what to say about WE because I don't understand how you're loading your test code into the RAM. Obviously it has to get written somehow, so we can't consider WE "unused" and just tie it high (ie, inactive).

On the bright side, I think we've explained the delay effect you mentioned, and perhaps some other symptoms as well. Seems like you need to focus your attention on what the various control lines (PHI2, WE, RE etc) do. Also be aware that, in some cases, a logic high indicates True or Active; in other cases (as with OE and WE) a logic high calls for False or Inactive. If you have any more questions it will be very helpful if you supply a diagram of your circuit. :!:

cheers,
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: Weird JMP problem
PostPosted: Thu Mar 07, 2013 11:35 pm 
Offline

Joined: Sat Mar 02, 2013 3:21 am
Posts: 26
Okay. I'm about 70% done with the new schematic, I'll upload it in a bit.


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Tue Mar 19, 2013 7:32 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Any progress?

_________________
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Wed Mar 20, 2013 9:07 pm 
Offline

Joined: Sat Mar 02, 2013 3:21 am
Posts: 26
Almost. I've been pretty busy with schoolwork over the past week, but I'll upload them after I finish the clock signal generator.
Is Eeschema format okay?


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird JMP problem
PostPosted: Wed Mar 20, 2013 9:19 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Quote:
Is Eeschema format okay?

It sounds like schematic CAD. I've never heard of it, but anything you can make an image from to post is fine. Posting an Eeschema file directly probably won't work, but it should be easy to get a screen shot if necessary to get an image file.

_________________
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?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 18 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: