It begins! (Wren Prototype build log)
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
It begins! (Wren Prototype build log)
I'm still waiting for a few more parts (namely ZIF sockets and oscillators) but I have chips on the board and wires going between them. I'll probably add another breadboard for the power supply and clock, but I'm waiting for parts to arrive so I can move my flash programmer (just barely visible in the top of the frame) to some stripboard, which will free up a breadboard.
The power/ground network seems good but I don't have any experience with this so I could be doing it wrong (power and ground are red and black wires respectively, but blue where they're being used to pull a pin in a particular direction). The address bus is yellow, control lines (both those to/from chips and intermediate logic lines) are blue, and the data bus will be green when I start wiring it up.
The flash chip will be in a ZIF socket in the "final" build, but as I mentioned earlier that hasn't arrived yet.
If you have any questions or pointers please let me know.
The power/ground network seems good but I don't have any experience with this so I could be doing it wrong (power and ground are red and black wires respectively, but blue where they're being used to pull a pin in a particular direction). The address bus is yellow, control lines (both those to/from chips and intermediate logic lines) are blue, and the data bus will be green when I start wiring it up.
The flash chip will be in a ZIF socket in the "final" build, but as I mentioned earlier that hasn't arrived yet.
If you have any questions or pointers please let me know.
probably the youngest person on this forum
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
I'll also be using a couple of SST39SF010s in my '816 system.
If a crystal oscillator is holding up your project, Garth was telling me just yesterday about a VCO clock circuit he uses in prototyping. It consists of a 74HC14, trim pot, and a few capacitors. Looks like an easy build if you're in a hurry.
If a crystal oscillator is holding up your project, Garth was telling me just yesterday about a VCO clock circuit he uses in prototyping. It consists of a 74HC14, trim pot, and a few capacitors. Looks like an easy build if you're in a hurry.
Last edited by No True Scotsman on Wed Aug 16, 2023 5:32 pm, edited 1 time in total.
Re: It begins! (Wren Prototype build log)
Looks like you're off to a good start!
I would suggest doing *all* the power connections before doing any of the bus wiring. Especially with the "flying wires" method, all the aerial wires will make it cumbersome to aim your smaller jumper wires later on.
ZIF sockets don't typically play well with breadboards, but (depending on what type of socket it is) you might be able to mount it in a machine pin socket as a kind of "socket carrier." This works really well with the nice (but expensive!) Aries sockets, but less well with the more common 3M type ones (those big blue/green ones).
I would suggest doing *all* the power connections before doing any of the bus wiring. Especially with the "flying wires" method, all the aerial wires will make it cumbersome to aim your smaller jumper wires later on.
ZIF sockets don't typically play well with breadboards, but (depending on what type of socket it is) you might be able to mount it in a machine pin socket as a kind of "socket carrier." This works really well with the nice (but expensive!) Aries sockets, but less well with the more common 3M type ones (those big blue/green ones).
"The key is not to let the hardware sense any fear." - Radical Brad
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
Paganini wrote:
ZIF sockets don't typically play well with breadboards....
Re: It begins! (Wren Prototype build log)
The wiring starts to get hairy after a while - so quietly forget the 6522 - unless it's a vital part of your bootstrap...
My Ruby system on day 1:
I bought some "jumper jerky" from Pimoroni (I think) for some of the bus connections, but it actually proved to be harder to use and one end or the other of an 8-bit bus would pop-out, but that board did work and it produced video too (although that was done by the ATmega separate to the 65C02).
Hard to see what's there but top-right is the ATmega with 16Mhz can oscillator, middle is 32KB of RAM (reflected over both 32KB regions) Left is the 65C02 and the GAL under it. (doing the write qualify and other stuff to handle 2 x 32KB RAM chips)
On day 2, I moved to stripboard which made it far more robust and worked solidly up to 16Mhz. I mounted 2 x 32KB RAM chips one on-top of the other but brought out the /CS pin on the top one to a separate output on the GAL. Output was a simple 8-bit latch and single bit input - I didn't use the 65C22 until the PCB version.
I was in-circuit programming the ATmega (which holds the 6502 boot code) so didn't bother with ZIF sockets, but I think I might not bother with one for a breadboard - put in some link pins to make it trivial to locate it when you put it back in again... I experimented with a few different schemes for the GAL which is why it's at the bottom of the board to make it easy out/in.
Wren... Small bird - loud noise!
Hope it goes well..
-Gordon
My Ruby system on day 1:
I bought some "jumper jerky" from Pimoroni (I think) for some of the bus connections, but it actually proved to be harder to use and one end or the other of an 8-bit bus would pop-out, but that board did work and it produced video too (although that was done by the ATmega separate to the 65C02).
Hard to see what's there but top-right is the ATmega with 16Mhz can oscillator, middle is 32KB of RAM (reflected over both 32KB regions) Left is the 65C02 and the GAL under it. (doing the write qualify and other stuff to handle 2 x 32KB RAM chips)
On day 2, I moved to stripboard which made it far more robust and worked solidly up to 16Mhz. I mounted 2 x 32KB RAM chips one on-top of the other but brought out the /CS pin on the top one to a separate output on the GAL. Output was a simple 8-bit latch and single bit input - I didn't use the 65C22 until the PCB version.
I was in-circuit programming the ATmega (which holds the 6502 boot code) so didn't bother with ZIF sockets, but I think I might not bother with one for a breadboard - put in some link pins to make it trivial to locate it when you put it back in again... I experimented with a few different schemes for the GAL which is why it's at the bottom of the board to make it easy out/in.
Wren... Small bird - loud noise!
Hope it goes well..
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
No True Scotsman wrote:
It consists of a 74HC14, trim pot, and a few capacitors.
Paganini wrote:
I would suggest doing *all* the power connections before doing any of the bus wiring. Especially with the "flying wires" method, all the aerial wires will make it cumbersome to aim your smaller jumper wires later on.
Quote:
ZIF sockets don't typically play well with breadboards, but (depending on what type of socket it is) you might be able to mount it in a machine pin socket as a kind of "socket carrier." This works really well with the nice (but expensive!) Aries sockets, but less well with the more common 3M type ones (those big blue/green ones).
drogon wrote:
Wren... Small bird - loud noise!
probably the youngest person on this forum
Re: It begins! (Wren Prototype build log)
Great start! I'd say the power and ground is enough. For my recent breadboard prototype I didn't wire the power in a grid, only the ground, and I did that by connecting from IC's ground pins to the opposite rail, rather than having separate wires. The rationale was that the ground pins of the ICs are speecifically what I want electrons to be able to get to/from easily for ground returns with minimal trips through connection points.
Rather than using ZIF sockets, I make little straps out of paper and selotape and put one around each ROM IC, so that I can more easily pull them out:
My wife is very good at sewing, and I originally asked her to make these things for me out of ribbon, but she laughed and told me to just use paper instead, so here we are!
It sounds silly but I find this method works very well, and I've never damaged an EEPROM pin despite what must be hundreds or thousands of removals and insertions. It should be fairly obvious how to make it, but I made a how-to video here: https://youtu.be/TGueNvmNNCM
Rather than using ZIF sockets, I make little straps out of paper and selotape and put one around each ROM IC, so that I can more easily pull them out:
My wife is very good at sewing, and I originally asked her to make these things for me out of ribbon, but she laughed and told me to just use paper instead, so here we are!
It sounds silly but I find this method works very well, and I've never damaged an EEPROM pin despite what must be hundreds or thousands of removals and insertions. It should be fairly obvious how to make it, but I made a how-to video here: https://youtu.be/TGueNvmNNCM
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
If I were gonna use a ZIF socket, the EEPROM is definitely where I'd use it after watching Ben Eater pull and re-insert one dozens of times.
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
gfoot wrote:
Rather than using ZIF sockets, I make little straps out of paper and selotape and put one around each ROM IC, so that I can more easily pull them out:
probably the youngest person on this forum
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
No True Scotsman wrote:
Garth was telling me just yesterday about a VCO clock circuit he uses in prototyping.
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
What is it with ICs having all 8 data pins (mostly) contiguous, and then the lower order address pins contiguous, and then the high order address pins all over the place? The 6502 doesn't do it but the 39SF010 and the 62256 both do.
probably the youngest person on this forum
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
What is it with ICs having all 8 data pins (mostly) contiguous, and then the lower order address pins contiguous, and then the high order address pins all over the place? The 6502 doesn't do it but the 39SF010 and the 62256 both do.
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
What is it with ICs having all 8 data pins (mostly) contiguous, and then the lower order address pins contiguous, and then the high order address pins all over the place? The 6502 doesn't do it but the 39SF010 and the 62256 both do.
And if you connect the EEPROM up in a scrambled manner, you'll need to scramble the bits as it's written...
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
What is it with ICs having all 8 data pins (mostly) contiguous, and then the lower order address pins contiguous, and then the high order address pins all over the place? The 6502 doesn't do it but the 39SF010 and the 62256 both do.
Code: Select all
A7 VCC
A6 A8
A5 A9
A4 VEE
A3 /CE
A2 VDD
A1 PGM
A0 D7
D0 D6
D1 D5
D2 D4
GND D3
Now it's the 4K x 8 2732. We need another address pin, so there's a bit more shuffling among the other pins to make room for A11 where VPP used to be. The pinout now looks like this:
Code: Select all
A7 VCC
A6 A8
A5 A9
A4 A11
A3 /OE / VPP
A2 A10
A1 /CE
A0 D7
D0 D6
D1 D5
D2 D4
GND D3
Code: Select all
VPP VCC
A12 /PGM
A7 NC
A6 A8
A5 A9
A4 A11
A3 /OE
A2 A10
A1 /CE
A0 D7
D0 D6
D1 D5
D2 D4
GND D3
Next comes the 27256, and we've run out of pins again. PGM goes, and A14 takes its place. For the 27512, VPP moves back to sharing with /OE, and A15 takes over pin 1.
It's a pattern that we see all too often in computing. The final design makes no sense in itself, but only as the end-product of a series of short-term decisions. With each chip, the new functions are squeezed in wherever they will fit, with no concern for what's going to happen on the next one.
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
John West wrote:
With each chip, the new functions are squeezed in wherever they will fit, with no concern for what's going to happen on the next one.