First CPU project, oscilloscope and more
-
Goerofmuns
- Posts: 7
- Joined: 11 Jun 2014
First CPU project, oscilloscope and more
Hello there!
I've been interested in electronics for a while, and I've done the whole Arduino and blinking LED things. I have decent programming background knowledge and I'm quite computer savvy. Electronics is great and all, but I wanted a more interesting project, then I came across the 6502 and the wonders it brings. I've been wanting to build a computer from scratch for a while now, and this seemed like the prefect thing. After reading quite a bit, I think I get the basics of memory, addressing, opcodes and assembly. I would like to get started as soon as possible, but I've came across a dilemma.
I have about 250 euros to spend on this, although I could do more. I have a good digital soldering Iron, and a small cheap Digital Multimeter, aaaannndddd thats about it. I see it looks like I will need an oscilloscope for this project, I've always wanted one and this seems like the perfect opportunity. However I don't know what to buy, there's analog and digital. I know the difference, but not whats best for me.
I live in a -reasonably- remote part of the world, I can get stuff shipped over, but there are no electronics shops over here. I know this is fine for components but for O-scopes I heard it would be good to buy local and get a warranty. I see many are going very cheap on ebay, is it a good Idea to buy a cheap old one and learn all the tricks of the trade on that? I've seen the Rigol 1102E recommended a lot but I've also heard that it's better to start analog, or have both. I've also seen those USB ones, although I personally would prefer an actual instrument.
Unfortunately it looks like I'll have to wait a few months until I can start on this project if I'm buying an O-scope. Oh well.
I've been interested in electronics for a while, and I've done the whole Arduino and blinking LED things. I have decent programming background knowledge and I'm quite computer savvy. Electronics is great and all, but I wanted a more interesting project, then I came across the 6502 and the wonders it brings. I've been wanting to build a computer from scratch for a while now, and this seemed like the prefect thing. After reading quite a bit, I think I get the basics of memory, addressing, opcodes and assembly. I would like to get started as soon as possible, but I've came across a dilemma.
I have about 250 euros to spend on this, although I could do more. I have a good digital soldering Iron, and a small cheap Digital Multimeter, aaaannndddd thats about it. I see it looks like I will need an oscilloscope for this project, I've always wanted one and this seems like the perfect opportunity. However I don't know what to buy, there's analog and digital. I know the difference, but not whats best for me.
I live in a -reasonably- remote part of the world, I can get stuff shipped over, but there are no electronics shops over here. I know this is fine for components but for O-scopes I heard it would be good to buy local and get a warranty. I see many are going very cheap on ebay, is it a good Idea to buy a cheap old one and learn all the tricks of the trade on that? I've seen the Rigol 1102E recommended a lot but I've also heard that it's better to start analog, or have both. I've also seen those USB ones, although I personally would prefer an actual instrument.
Unfortunately it looks like I'll have to wait a few months until I can start on this project if I'm buying an O-scope. Oh well.
Last edited by Goerofmuns on Wed Jun 11, 2014 7:41 am, edited 1 time in total.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: First CPU project, oscilloscope and more
Take a look at my 6502 primer on my website at http://wilsonminesco.com/6502primer/index.html, which has 22 chapters, one being on basic test equipment. At the moment the access seems to be extremely slow (whereas it should be around 100Mbps) but I'll have our son who does the technical part of maintaining it get right on it in the morning. I wish I had known half hour ago. He just went to bed.
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: First CPU project, oscilloscope and more
I thought there was a previous discussion somewhere here specifically about what order to buy equipment in, if you had a limited budget. But I can't find it. Archived version of Garth's page is here.
For sure there are people on this forum with very well-equipped labs, but also we've seen successful projects and successful diagnosis with little more than LEDs, critical thinking, and logical experimentation.
Ideally your multimeter has a frequency counting function. A logic probe is useful too (something which shows high, low, pulsing, oscillating states.)
If you don't have an oscilloscope, some types of problem will be harder to diagnose - but not impossible. Most problems are wiring trouble, power supply hookup, and noise on the power lines. So solid power wiring with appropriate decoupling gets a long way. You don't want high frequencies or over-fast edges, so don't go overboard on the fastest possible logic family.
A few previous discussions and debugging adventures:
- Beginner in digital circuitry
- Micro UK101 Build
- Recommended oscilloscope features?
- Cheap oscilloscope & other test equipment
Cheers
Ed
For sure there are people on this forum with very well-equipped labs, but also we've seen successful projects and successful diagnosis with little more than LEDs, critical thinking, and logical experimentation.
Ideally your multimeter has a frequency counting function. A logic probe is useful too (something which shows high, low, pulsing, oscillating states.)
If you don't have an oscilloscope, some types of problem will be harder to diagnose - but not impossible. Most problems are wiring trouble, power supply hookup, and noise on the power lines. So solid power wiring with appropriate decoupling gets a long way. You don't want high frequencies or over-fast edges, so don't go overboard on the fastest possible logic family.
A few previous discussions and debugging adventures:
- Beginner in digital circuitry
- Micro UK101 Build
- Recommended oscilloscope features?
- Cheap oscilloscope & other test equipment
Cheers
Ed
-
Goerofmuns
- Posts: 7
- Joined: 11 Jun 2014
Re: First CPU project, oscilloscope and more
GARTHWILSON wrote:
Take a look at my 6502 primer on my website at http://wilsonminesco.com/6502primer/index.html, which has 22 chapters, one being on basic test equipment. At the moment the access seems to be extremely slow (whereas it should be around 100Mbps) but I'll have our son who does the technical part of maintaining it get right on it in the morning. I wish I had known half hour ago. He just went to bed.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: First CPU project, oscilloscope and more
Goerofmuns wrote:
Hello there!
Quote:
I live in a -reasonably- remote part of the world...
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: First CPU project, oscilloscope and more
Goerofmuns wrote:
Thanks! Access is too slow right now, what are you running? Linux server, or external hosting? I want to get an old desktop and make a file server with it, but I don't think my mum would be too happy with whirring fans constantly going under the stairs.....
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: First CPU project, oscilloscope and more
BigEd wrote:
For sure there are people on this forum with very well-equipped labs, but also we've seen successful projects and successful diagnosis with little more than LEDs, critical thinking, and logical experimentation.
Ideally your multimeter has a frequency counting function. A logic probe is useful too (something which shows high, low, pulsing, oscillating states.)
Ideally your multimeter has a frequency counting function. A logic probe is useful too (something which shows high, low, pulsing, oscillating states.)
Lawrence
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: First CPU project, oscilloscope and more
Aslak3 wrote:
BigEd wrote:
For sure there are people on this forum with very well-equipped labs, but also we've seen successful projects and successful diagnosis with little more than LEDs, critical thinking, and logical experimentation.
Ideally your multimeter has a frequency counting function. A logic probe is useful too (something which shows high, low, pulsing, oscillating states.)
Ideally your multimeter has a frequency counting function. A logic probe is useful too (something which shows high, low, pulsing, oscillating states.)
Lawrence
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: First CPU project, oscilloscope and more
BigDumbDinosaur wrote:
Yes, but a good logic probe sure eases the difficulty in troubleshooting a DOA circuit.
8 bit fun and games: https://www.aslak.net/
Re: First CPU project, oscilloscope and more
Goerofmuns wrote:
I've seen the Rigol 1102E recommended a lot bu
If you are comfortable with electronics, then it's very likely you can build your circuit and get it working with just a multimeter alone. I like a scope, 'cos you can see the waveforms and tell if a chip is being accessed. So long as you are cautious with the build, I don't think one is necessary.
Something as simple as an 8bit latch and eight leds or two til311 latched to the data bus, can give you a great deal of confidence that your basic system is working.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: First CPU project, oscilloscope and more
I frequently use an oscilloscope for debugging software, for example pulsing an output pin every time the program counter reaches a particular place in the software, in realtime applications that cannot be slowed down or stopped for viewing something. With two inputs, you can have a pair of these and use one to sync to for example, to visually frame a set of pulses on the other. Old 20MHz analog 'scopes can often be found for free. One of mine was.
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?
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: First CPU project, oscilloscope and more
Aslak3 wrote:
BigDumbDinosaur wrote:
Yes, but a good logic probe sure eases the difficulty in troubleshooting a DOA circuit.
I also have an H-P 275 MHz 'scope that doesn't get as much use as the logic probe. Go figure!
x86? We ain't got no x86. We don't NEED no stinking x86!
-
Goerofmuns
- Posts: 7
- Joined: 11 Jun 2014
Re: First CPU project, oscilloscope and more
Woah. So many replies in one night. I always love an active forum. So I think I'll put off the O-Scope for now, maybe when I move, but I'll probably add a logic analyzer to my mouser basket. I'm also making a Binary-to-Hexadecimal thing with the Atmega from my Arduino Uno, HexOut style. That should help with addresses and the like, also I need something to do while I wait for parts
.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: First CPU project, oscilloscope and more
Goerofmuns wrote:
Woah. So many replies in one night. I always love an active forum.
Quote:
So I think I'll put off the O-Scope for now, maybe when I move, but I'll probably add a logic analyzer to my mouser basket.
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?
-
Goerofmuns
- Posts: 7
- Joined: 11 Jun 2014
Re: First CPU project, oscilloscope and more
Quote:
Here's a logic analyzer, the Agilent 16821A 34-Channel Portable Logic Analyzer, kind of a low-end one, at $26,000 starting price: