It begins! (Wren Prototype build log)
Re: It begins! (Wren Prototype build log)
That's great, it's always good when things work in the end!
I'd suggest also running a full RAM test, to check you can write and read all RAM locations without corrupting others. You could also consider running the Dormann test site, which I only started using recently, but which has already caught a few failures in my systems.
I'd suggest also running a full RAM test, to check you can write and read all RAM locations without corrupting others. You could also consider running the Dormann test site, which I only started using recently, but which has already caught a few failures in my systems.
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
IT'S ALIVE!
-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)
Strange issue: the RAM doesn't seem to be accepting write cycles. I've checked the connections and they're all correct, so I have no idea what could be going wrong.
probably the youngest person on this forum
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: It begins! (Wren Prototype build log)
Is it still the same circuit as posted here?
allisonlastname wrote:
Here's the current version that I have on the breadboard.
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
Strange issue: the RAM doesn't seem to be accepting write cycles. I've checked the connections and they're all correct, so I have no idea what could be going wrong.
EDIT: Are you using decoupling capacitors? I don't see any on your schematic nor on the breadboard. To quote BDD:
BigDumbDinosaur wrote:
Each device should be paired with a bypass (aka decoupling) capacitor. Time and time again, we have seen unstable or DOA designs that were victims of nothing more than inadequate or non-existing bypassing. Typical practice places a 0.1µF ceramic (MLCC) capacitor so it is as physically close to the device's VCC pin as possible. Capacitor connections should be as short and direct as possible. I use 50 volt, X7R capacitors in my builds. Bypass capacitors are cheap, don't be shy about using them. 
BigDumbDinosaur wrote:
and3rson wrote:
Just wondering - is there a reason why you're pulling /RST high? DS1813 should work just fine without it.
The pullup inside the DS1813 is weak. An external pullup makes the circuit a lot less noise-sensitive.
/Andrew
deck65 - 6502 slab with screen and keyboard | ПК-88 - SBC based on KM1810VM88 (Ukrainian i8088 clone) | leo80 - simple Z80 SBC
nice65 - 6502 assembly linter | My parts, footprints & 3D models for KiCad/FreeCAD
deck65 - 6502 slab with screen and keyboard | ПК-88 - SBC based on KM1810VM88 (Ukrainian i8088 clone) | leo80 - simple Z80 SBC
nice65 - 6502 assembly linter | My parts, footprints & 3D models for KiCad/FreeCAD
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
and3rson wrote:
The schematic seems to have no issues to me. Maybe double-check NAND wiring (U5A & U5D)? Do you have a logic analyzer? If so - you could check if RAM's /CS & /WE are properly asserted during RAM write cycles.
EDIT: Are you using decoupling capacitors? I don't see any on your schematic nor on the breadboard.
EDIT: Are you using decoupling capacitors? I don't see any on your schematic nor on the breadboard.
probably the youngest person on this forum
Re: It begins! (Wren Prototype build log)
When you checked the wiring, did you look at VCC and GND too? If you happen to be using those little jumpers shaped like staples it's really easy to get them off by one row and accidentally leave (e.g.) your RAM's power pin floating. This sort of thing can be frustratingly pernicious, and can be pretty tough to spot (at least by my middle-aged vision) without a magnifier of some type.
"The key is not to let the hardware sense any fear." - Radical Brad
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
There's 4.98V between Vcc and ground on the RAM chip, which is well within limits according to the datasheet.
probably the youngest person on this forum
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
Ok, I've tested the RAM chip by false-feeding it on a separate breadboard, and no matter what I do I can't make it accept writes properly. I also tested a few others I got in the same order, and all of those exhibited the same behaviour. I find it hard to believe that all of them were dead on arrival, but it seems to be the only explanation.
probably the youngest person on this forum
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
Ok, I've tested the RAM chip by false-feeding it on a separate breadboard, and no matter what I do I can't make it accept writes properly. I also tested a few others I got in the same order, and all of those exhibited the same behaviour. I find it hard to believe that all of them were dead on arrival, but it seems to be the only explanation.
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?
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
I got them from Mouser. And yeah, it probably is a stupid error, but I can't think what. I've triple-checked all the pins and run it with false-fed signals and it still doesn't work.
probably the youngest person on this forum
Re: It begins! (Wren Prototype build log)
Not sure what your flash programmer looks like but you might use that with minor hardware/software modifications to test your RAM chips...
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
I got them from Mouser. And yeah, it probably is a stupid error, but I can't think what. I've triple-checked all the pins and run it with false-fed signals and it still doesn't work.
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: It begins! (Wren Prototype build log)
allisonlastname wrote:
no matter what I do I can't make it accept writes properly
I agree with Garth. You might find some new insight after setting the problem aside for a while. (Also, do the reads and writes achieve the appropriate levels noted for reads and writes in the data sheet's Truth Table? Just checking!)
-- 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