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

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Feb 15, 2013 4:26 pm 
Offline

Joined: Mon Feb 11, 2013 9:07 am
Posts: 3
I'm still working on this thing, it's not working any more. Instead of showing the pattern, the LEDs stay lit and won't turn off.
I checked the ROM, the right data's loaded. That was the problem I had before, but it's not that this time. I checked every power and chip enable pin, they're all connected correctly. I checked all the data and address lines, they're connected properly...

I did find a problem with the clock timer, the 74LS04. it wasn't producing a wave. I don't have the proper equipment to check, I test it by connecting a LED between the chip and the power, then turning it around to see if its producing both positive and negative. First time I tried, it was only producing a positive output. I replaced the chip with a spare and it seemed to work normally, as far as I could tell. it was producing positive and negative output. The computer wasn't working properly though.

That's about all I can think of at the moment. It's got me stumped, it was working last time I checked and now it's not. Can anyone provide any suggestions? Can you see something obvious that i've missed? Anything?


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 15, 2013 4:56 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
I remember always having problems making an oscillator work using an 'LS' inverter and a crystal. I had better luck using a CMOS 4069 inverter. But if I were you, I would just avoid that situation altogether and buy a can oscillator. They're much more dependable.

Someone here suggested that you can place a AM radio close to your circuit and listen for the activity of the code racing through its paces.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 15, 2013 5:42 pm 
Offline

Joined: Mon Feb 11, 2013 9:07 am
Posts: 3
Okay... what's a can oscillator? Is that the type with 4 pins? and how would I use the radio? Do I have to tune it to the same frequency as the CPU?


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 15, 2013 6:59 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
kattbjorn wrote:
Okay... what's a can oscillator? Is that the type with 4 pins? and how would I use the radio? Do I have to tune it to the same frequency as the CPU?

Yes can oscillators have 4 pins, usually Power, Gnd, Output Enable, and Signal Out. Make sure you get one that's 5V power.

What size resistor do you have in series with your LED tester?

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 15, 2013 8:24 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Are you getting a good reset pulse with a clean (debounced) release? Are IRQ\ and NMI\ pulled up? I see you have a VIA there. Make sure its CS1 and CS2\ are true before phase 2 rises, ie, that you didn't bring phase 2 into the select logic. (You probably did it right if it worked before.)

There might be something helpful on the debugging page of the 6502 primer, at http://wilsonminesco.com/6502primer/debug.html . There are a lot of tips at viewtopic.php?t=342

_________________
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  
PostPosted: Sun Feb 17, 2013 1:41 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
GARTHWILSON wrote:
...(You probably did it right if it worked before.)...

If he was using a LED without a resistor to test signals off the 6502, he may have 'eventually' overloaded the output drivers. This would be my first concern, especially since he had it working. I am unsure of his skill level.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 17, 2013 3:08 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8513
Location: Midwestern USA
ElEctric_EyE wrote:
If he was using a LED without a resistor to test signals off the 6502, he may have 'eventually' overloaded the output drivers. This would be my first concern, especially since he had it working. I am unsure of his skill level.

Good point, especially if using 74LS hardware, which doesn't tolerate such overloads for long. A lot of Commodore 64 and 12 owners who tinkered with connecting things to the user port discovered that the hard way when they took out one of the CIAs trying to drive loads without any buffering.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 07, 2013 4:46 pm 
Offline

Joined: Thu Feb 28, 2013 7:00 pm
Posts: 1
When using a voltage source, always have a resistor. Think about what happens when the voltage changes by a small amount, with no resistor, the LED current would shoot up. If it is current source, then you would not need a series resistor because the LED would run at the current source level.

_________________
pcb assembling


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

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