6502 Design & concept questions.
Re: 6502 Design & concept questions.
Placing components is usually just a matter of trial and error. First you start with the things that have a fixed location, and then put the rest where you think it is easiest to route. Don't forget to put the bypass caps close to the power pins. Do a quick and dirty layout, to see if it will work, and adjust/erase if necessary.
Speaking about power, you don't seem to have a power connector, or are you using the AVR ISP connector ?
For as much as possible, try to put your pins on a 100 mil grid.
Are you having a PCB manufactured, or are you going to etch it yourself ? Make sure your trace width, drill size, and via sizes are all set appropriately before you start.
Speaking about power, you don't seem to have a power connector, or are you using the AVR ISP connector ?
For as much as possible, try to put your pins on a 100 mil grid.
Are you having a PCB manufactured, or are you going to etch it yourself ? Make sure your trace width, drill size, and via sizes are all set appropriately before you start.
Re: 6502 Design & concept questions.
Arlet wrote:
Speaking about power, you don't seem to have a power connector, or are you using the AVR ISP connector ?
I’ll try to etch the board myself and try a trace width of 0.01”. There are some limitations, especially with the through holes.
Marco
Re: 6502 Design & concept questions.
Careful with PC power supplies. They can deliver a lot of current, so one mistake on the board is enough to vaporize traces and components. I always recommend using a power supply with current limit. Or at least put a resistive element in series, like a small bulb from a bike light.
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 6502 Design & concept questions.
See my brief write-up on custom PCBs at http://wilsonminesco.com/6502primer/CustomPCB.html, and the links there.
If you're sticking to the slower parts, you can get away with nearly anything (like the huge 2-layer boards of early home computers did with no ground plane) but I still like to encourage good habits and neat work that will pay off when you get into the faster stuff.
Again, remember you can mix up the data lines to RAM, and you can mix up the address lines to SRAM, if it makes the layout easier. Like ElEctric_Eye said, there's really no reason for them to tell which data lines are which, or which address lines are which. The fact that CADs don't gracefully let you change them is one of several reasons I do not use schematic capture software and ratsnesting (although I had to get very proficient at it at my last place of work). In spite of the schematic capture, we still got PCB routing errors, unlike the method I use now when I do the schematics by hand and check the PCB layouts by hand. (I use CAD only for PCB layout, not the schematic.) Make sure you use the sections of a quad NAND for example that reach the best for the layout. If you use schematic capture, you'll have to do some back-annotating after you see which sections reach the best.
I have not done very much digital-only PCB layout, but I've done a lot of analog, up to 500 parts on a board; and packing it in by hand and routing it while I'm placing it, I get things so dense that basically you can't see the top surface of the board except at the edges. That's not possible if you just sprinkle the parts in and then set the autorouter to work. A human can always do a much better job than an autorouter. As for trace width, most PCB manufacturers don't start charging extra until you get down below .006". Even at .010", you can get two traces on the same layer between pads of DIP ICs.
If you're sticking to the slower parts, you can get away with nearly anything (like the huge 2-layer boards of early home computers did with no ground plane) but I still like to encourage good habits and neat work that will pay off when you get into the faster stuff.
Again, remember you can mix up the data lines to RAM, and you can mix up the address lines to SRAM, if it makes the layout easier. Like ElEctric_Eye said, there's really no reason for them to tell which data lines are which, or which address lines are which. The fact that CADs don't gracefully let you change them is one of several reasons I do not use schematic capture software and ratsnesting (although I had to get very proficient at it at my last place of work). In spite of the schematic capture, we still got PCB routing errors, unlike the method I use now when I do the schematics by hand and check the PCB layouts by hand. (I use CAD only for PCB layout, not the schematic.) Make sure you use the sections of a quad NAND for example that reach the best for the layout. If you use schematic capture, you'll have to do some back-annotating after you see which sections reach the best.
I have not done very much digital-only PCB layout, but I've done a lot of analog, up to 500 parts on a board; and packing it in by hand and routing it while I'm placing it, I get things so dense that basically you can't see the top surface of the board except at the edges. That's not possible if you just sprinkle the parts in and then set the autorouter to work. A human can always do a much better job than an autorouter. As for trace width, most PCB manufacturers don't start charging extra until you get down below .006". Even at .010", you can get two traces on the same layer between pads of DIP ICs.
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: 6502 Design & concept questions.
Arlet wrote:
Careful with PC power supplies. They can deliver a lot of current, so one mistake on the board is enough to vaporize traces and components.
GARTHWILSON wrote:
but I still like to encourage good habits and neat work that will pay off when you get into the faster stuff.
I would really love to make Daryl’s SBC3 or similar. But frankly that’s too complex for me to start with.
You have to put yourself in amateurish beginners shoes. Those blogs swirling around the net show little steps with results. That’s what makes it attractive. It’s a big leap from having a simple breadboard setup running and your workbench computer, POC1.1 or SBC3.
Quote:
remember you can mix up the data lines to RAM, and you can mix up the address lines to SRAM
Quote:
Make sure you use the sections of a quad NAND
Checking everything by hand and even make your own parts library is indeed the best thing to do. For instance I used a VIA symbol I found on the net and luckily I discovered that VSS and VCC were swapped
Quote:
I have not done very much digital-only PCB layout, but I've done a lot of analog, up to 500 parts on a board; and packing it in by hand and routing it while I'm placing it, I get things so dense that basically you can't see the top surface of the board except at the edges. That's not possible if you just sprinkle the parts in and then set the autorouter to work. A human can always do a much better job than an autorouter. As for trace width, most PCB manufacturers don't start charging extra until you get down below .006". Even at .010", you can get two traces on the same layer between pads of DIP ICs.
Marco
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 6502 Design & concept questions.
Quote:
Those blogs swirling around the net show little steps with results. That’s what makes it attractive. It’s a big leap from having a simple breadboard setup running and your workbench computer, POC1.1 or SBC3.
Quote:
I would really love to make Daryl’s SBC3 or similar. But frankly that’s too complex for me to start with.
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: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 6502 Design & concept questions.
GARTHWILSON wrote:
lordbubsy wrote:
I would really love to make Daryl’s SBC3 or similar. But frankly that’s too complex for me to start with.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 6502 Design & concept questions.
Arlet wrote:
Careful with PC power supplies. They can deliver a lot of current, so one mistake on the board is enough to vaporize traces and components. I always recommend using a power supply with current limit. Or at least put a resistive element in series, like a small bulb from a bike light.
Incidentally, any reasonably good PC power supply will crowbar if subjected to a direct short. However, it's not something that should be relied upon in powering up a brand new design.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: 6502 Design & concept questions.
BigDumbDinosaur wrote:
Incidentally, any reasonably good PC power supply will crowbar if subjected to a direct short. However, it's not something that should be relied upon in powering up a brand new design.
Re: 6502 Design & concept questions.
lordbubsy wrote:
Arlet wrote:
Speaking about power, you don't seem to have a power connector, or are you using the AVR ISP connector ?
I’ll try to etch the board myself and try a trace width of 0.01”. There are some limitations, especially with the through holes.
Re: 6502 Design & concept questions.
Arlet is right, I’ve had vaporized traces in the past. (even a coil on a C64 board
), then I started to use fuses. They saved the day a quite few times.
I know what you mean, it’s a dedicated power supply with an additional 9V~ transformer and worked without, but I have used a few LED’s and resistors for bling bling anyway.
That’s a very nice offer, and really tempting.
I should rephrase that statement, I meant I would really love to design and build a SBC like those.
If doing it myself isn’t going to happen, I definitely would like to make use of that offer. For now that feels a little bit like cheating. And I won’t like to lose the drive designing it myself.
As a side project, I am close to programming my first CPLD. I have to wait for some capacitors. The software is installed and I have made a small sample project. It’s ready to roll...
Daryl kindly assured me that the programming cable and test board I’m building should work for all XC95xx 44-PIN CPLD’s.
For designing a ‘816 based SBC my greatest challenge is routing a board of that size. I probably will make use of the ExpressPCB’s board manufacturing service. I have relatively good confidence in designing the glue logic with a CPLD.
It’s really exciting!
Edit
PS.
do I *need* a special tool to swap those PLCC44 IC's?
bogax wrote:
You may need a relatively substantial load, probably on the 5V to keep it in regulation.
GARTHWILSON wrote:
Contact him and see if he has an SBC-3 board to sell you.
BigDumbDinosaur wrote:
I have enough parts here to build two more POC V1.1 units, with or without the SCSI host adapter. Lemme know via PM if you are interested
Quote:
I would really love to make Daryl’s SBC3 or similar. But frankly that’s too complex for me to start with.
If doing it myself isn’t going to happen, I definitely would like to make use of that offer. For now that feels a little bit like cheating. And I won’t like to lose the drive designing it myself.
As a side project, I am close to programming my first CPLD. I have to wait for some capacitors. The software is installed and I have made a small sample project. It’s ready to roll...
Daryl kindly assured me that the programming cable and test board I’m building should work for all XC95xx 44-PIN CPLD’s.
For designing a ‘816 based SBC my greatest challenge is routing a board of that size. I probably will make use of the ExpressPCB’s board manufacturing service. I have relatively good confidence in designing the glue logic with a CPLD.
It’s really exciting!
Edit
PS.
do I *need* a special tool to swap those PLCC44 IC's?
Marco
Re: 6502 Design & concept questions.
lordbubsy wrote:
I probably will make use of the ExpressPCB’s board manufacturing service.
Quote:
do I *need* a special tool to swap those PLCC44 IC's?
Re: 6502 Design & concept questions.
Bogax wrote:
You may need a relatively substantial load, probably on the 5V to keep it in regulation.
As noted, for a PC power supply the minimum load could be very substantial. But detailed spec's on such supplies are hard to come by, meaning you'd probably have to resort to an experiment. ( For such an experiment, use resistors as a load --not your precious project!
BigDumbDinosaur wrote:
Incidentally, any reasonably good PC power supply will crowbar if subjected to a direct short.
PaulF wrote:
The purpose of a crowbar circuit is not to protect the power supply against a short circuit (That's what current limiting does.) A crowbar is used to protect the powered system from a failure of the power supply. Should the output voltage rise too high (say 6.25V ina 5V system), the crowbar circuit puts a massive short across the output of the power supply, blowing fuses (and probably the rest of the power supply as well, but if the crowbar goes, it had failed anyway!). The idea is to kill the power supply before the output voltage rises high enough to damage the circuit it is powering.
Jeff
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
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 6502 Design & concept questions.
Arlet wrote:
BigDumbDinosaur wrote:
Incidentally, any reasonably good PC power supply will crowbar if subjected to a direct short. However, it's not something that should be relied upon in powering up a brand new design.
Since much of what we build is powered by 5 volts, inserting a 7805 regulator into the circuit would have the effect of limiting current to a bit over one amp into a short. That much current probably won't damage the average PCB or wire-wrap assembly.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: 6502 Design & concept questions.
Yes, using the +12V rail and a 7805 is a better plan than using the +5V rail directly. The 7805's overcurrent protection kicks in a lot quicker.