-- Jeff
It begins! (Wren Prototype build log)
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
the 62256s I have don't play nicely with the 6502 for whatever reason
allisonlastname wrote:
exploded
-- 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
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
And now the RAM has somehow exploded.
As Jeff suggests, chips generally explode only if they exceed their substrate's current rating, usually because of an over-voltage situation. Are you still working on breadboards? If so, that's a likely explanation.
Neil
Re: It begins! (Wren Prototype build log)
I really like these "skinny" SRAMs:
https://www.mouser.com/ProductDetail/Re ... cyCode=USD
They're being discontinued by the manufacturer, but Mouser still has quite a few in stock.
For my first project I used one of these:
https://www.jameco.com/z/HM62256LP-70-H ... 82472.html
I think I got it because it's the same part Ben Eater used, and I didn't know what I was doing yet. This seems to be yet another case where the datasheet specifies TTL voltage levels, but where the actual parts are over-specced sufficiently that they don't have any trouble working with the 65C02.
Like others, early on I encountered problems using a "skinny" Alliance 15ns SRAM. Switching it out with one of the IDT/Renesas ones did away with the glitches.
https://www.mouser.com/ProductDetail/Re ... cyCode=USD
They're being discontinued by the manufacturer, but Mouser still has quite a few in stock.
For my first project I used one of these:
https://www.jameco.com/z/HM62256LP-70-H ... 82472.html
I think I got it because it's the same part Ben Eater used, and I didn't know what I was doing yet. This seems to be yet another case where the datasheet specifies TTL voltage levels, but where the actual parts are over-specced sufficiently that they don't have any trouble working with the 65C02.
Like others, early on I encountered problems using a "skinny" Alliance 15ns SRAM. Switching it out with one of the IDT/Renesas ones did away with the glitches.
"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)
I think I might be haunted.
First off, I have no idea how the 43256 (figuratively) exploded. I was running the board on 5v from a USB-UART adaptor, so there shouldn't have been anything more than 5v on the board. It could have been ESD, but I didn't go anywhere near it. Who knows.
Secondly, I put a 62256 in the board to have another crack at debugging it - and this time it works. I don't know why, or how, but this time it works. Is this what they felt like designing the BBC micro?
First off, I have no idea how the 43256 (figuratively) exploded. I was running the board on 5v from a USB-UART adaptor, so there shouldn't have been anything more than 5v on the board. It could have been ESD, but I didn't go anywhere near it. Who knows.
Secondly, I put a 62256 in the board to have another crack at debugging it - and this time it works. I don't know why, or how, but this time it works. Is this what they felt like designing the BBC micro?
probably the youngest person on this forum
Re: It begins! (Wren Prototype build log)
allisonlastname wrote:
I think I might be haunted.
First off, I have no idea how the 43256 (figuratively) exploded. I was running the board on 5v from a USB-UART adaptor, so there shouldn't have been anything more than 5v on the board. It could have been ESD, but I didn't go anywhere near it. Who knows.
Secondly, I put a 62256 in the board to have another crack at debugging it - and this time it works. I don't know why, or how, but this time it works. Is this what they felt like designing the BBC micro?
First off, I have no idea how the 43256 (figuratively) exploded. I was running the board on 5v from a USB-UART adaptor, so there shouldn't have been anything more than 5v on the board. It could have been ESD, but I didn't go anywhere near it. Who knows.
Secondly, I put a 62256 in the board to have another crack at debugging it - and this time it works. I don't know why, or how, but this time it works. Is this what they felt like designing the BBC micro?
https://www.youtube.com/watch?v=XXBxV6-zamM
but they already had at least 2 systems under their belts - the Acorn system 1 and the Atom.
And to let you know you're not the only one with frustrations - my current project is on breadboards and I've so-far had 2 issues that caused me much head scratching - both wires in the wrong places... but it's now running very well at 2Mhz, so don't give up!
Cheers,
-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)
Except now it doesn't. It worked for a few minutes but now all reads are returning nonsense. I didn't touch the board at all in that time.
probably the youngest person on this forum
Re: It begins! (Wren Prototype build log)
I've seen that symptom (or similar) where a control input is floating: sometimes the level is such that it operates, at other times, charge accumulates/dissipates at the gate until the voltage reaches a value that stops things.
This is a default CMOS logic fault; I'd be looking for unconnected pins, possibly in the control logic or enable lines. Or indeed the power; while memory chips usually need reasonable amounts of power, most CMOS chips will self-power through an input held high while the chip is unpowered.
Neil
This is a default CMOS logic fault; I'd be looking for unconnected pins, possibly in the control logic or enable lines. Or indeed the power; while memory chips usually need reasonable amounts of power, most CMOS chips will self-power through an input held high while the chip is unpowered.
Neil
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
I've tested all the control pins with a multimeter, and they're definitely connected to the stuff that produces those control signals. Unless there's something disconnected internally, it's not that.
probably the youngest person on this forum
Re: It begins! (Wren Prototype build log)
Sometimes if there's an unreliable connection, putting your probe onto the thing makes it work. That does make it more difficult to locate the problem.
I think the thing to do is to keep firmly in mind that there is a problem - ruling everyone out logically can't solve it. Check all your assumptions.
I think the thing to do is to keep firmly in mind that there is a problem - ruling everyone out logically can't solve it. Check all your assumptions.
Re: It begins! (Wren Prototype build log)
drogon wrote:
And to let you know you're not the only one with frustrations - my current project is on breadboards and I've so-far had 2 issues that caused me much head scratching - both wires in the wrong places...
/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
Re: It begins! (Wren Prototype build log)
Tsk. We all should know to remove the expensive components from the board before breaking it angrily.
Neil
Neil
- allisonlastname
- Posts: 88
- Joined: 06 Mar 2023
- Location: UK
- Contact:
Re: It begins! (Wren Prototype build log)
So.
I acquired some W24512AK RAMs following a previous recommendation in this thread, and installed one in Wren. But it doesn't seem to work. I'll test another one on a breadboard with an arduino, because it's entirely possible that they're all dead on arrival, seeing as I got them on aliexpress.
My leading hypothesis is that the write cycle isn't working, as on a read cycle, it's outputting all zeroes. Namely, 0.4v on each data pin, which the datasheet lists as the maximum output low voltage.
Thankfully, everything else is working. With any luck the RAM issue will just be something stupid I've missed and I finally be able to get on with programming.
I acquired some W24512AK RAMs following a previous recommendation in this thread, and installed one in Wren. But it doesn't seem to work. I'll test another one on a breadboard with an arduino, because it's entirely possible that they're all dead on arrival, seeing as I got them on aliexpress.
My leading hypothesis is that the write cycle isn't working, as on a read cycle, it's outputting all zeroes. Namely, 0.4v on each data pin, which the datasheet lists as the maximum output low voltage.
Thankfully, everything else is working. With any luck the RAM issue will just be something stupid I've missed and I finally be able to get on with programming.
probably the youngest person on this forum