6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 10:34 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Mon Apr 29, 2024 11:41 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
Paganini wrote:
Had a bit of a setback today; it seems like my DS1813 reset controller is broken. Any time it's plugged in RESET\ is held low.

I’ve never had a problem with the DS1813.  Did you check VCC at pin 2 to verify that it is above the reset threshold?  If VCC at that pin is low, the 1813 may/will not come out of reset.  Also, did you verify that pin 3 is solidly grounded?

Quote:
I'll hope that my good old G65SC02 is forgiving.

As long as reset is held down for at least six full clock cycles after the oscillator has stabilized, and the transition from low to high on the reset line is fast and clean, you shouldn’t have any trouble.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 30, 2024 4:05 pm 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 491
BigDumbDinosaur wrote:
Did you check VCC at pin 2 to verify that it is above the reset threshold?  If VCC at that pin is low, the 1813 may/will not come out of reset.
Good call, BDD. I had checked continuity but not voltage. It turns out Vcc was quite low in that area of the board; now it isn't and the DS1813 is working again! :D

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 30, 2024 7:27 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
Paganini wrote:
BigDumbDinosaur wrote:
Did you check VCC at pin 2 to verify that it is above the reset threshold?  If VCC at that pin is low, the 1813 may/will not come out of reset.
Good call, BDD. I had checked continuity but not voltage. It turns out Vcc was quite low in that area of the board; now it isn't and the DS1813 is working again! :D

While I was in the Navy and attending electronics school, one of the instructors had what he called a “look at the gas gauge” checklist for troubleshooting malfunctioning gear.  It was based on the idea that if your car stops running, you check the easy things before assuming engine failure, such as, “are you out of gas?”  :D  That philosophy has served me very well over the decades.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 3:57 am 
Offline
User avatar

Joined: Tue Feb 28, 2023 11:39 pm
Posts: 258
Location: Texas
BigDumbDinosaur wrote:
Paganini wrote:
BigDumbDinosaur wrote:
Did you check VCC at pin 2 to verify that it is above the reset threshold?  If VCC at that pin is low, the 1813 may/will not come out of reset.
Good call, BDD. I had checked continuity but not voltage. It turns out Vcc was quite low in that area of the board; now it isn't and the DS1813 is working again! :D

While I was in the Navy and attending electronics school, one of the instructors had what he called a “look at the gas gauge” checklist for troubleshooting malfunctioning gear.  It was based on the idea that if your car stops running, you check the easy things before assuming engine failure, such as, “are you out of gas?”  :D  That philosophy has served me very well over the decades.


Has somewhat evolved in the world of tech support: "Are you sure it's plugged in?" Being the first thing I would ask when I worked at Dell tech support in the late 90s.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 5:48 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 989
Location: Potsdam, DE
Yuri wrote:
Has somewhat evolved in the world of tech support: "Are you sure it's plugged in?" Being the first thing I would ask when I worked at Dell tech support in the late 90s.


I found asking that tended to get the 'of course it is' response, even if it wasn't... on the other hand, asking them to remove the mains cable (at both ends) and then replace it would often result in an embarrassed 'oh, it's working now...' :D

Neil


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 9:21 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
barnacle wrote:
Yuri wrote:
Has somewhat evolved in the world of tech support: "Are you sure it's plugged in?" Being the first thing I would ask when I worked at Dell tech support in the late 90s.


I found asking that tended to get the 'of course it is' response, even if it wasn't... on the other hand, asking them to remove the mains cable (at both ends) and then replace it would often result in an embarrassed 'oh, it's working now...' :D

Neil


Is it plugged in? Is it turned on? Have you tried turning it off and on again ...

https://www.youtube.com/watch?v=5UT8RkSmN4k

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 6:08 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
And the perennial cure for all that ails Microsoft Windows: “Did you reboot the computer?”

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2024 12:20 pm 
Offline

Joined: Sat Oct 09, 2021 11:21 am
Posts: 718
Location: Texas
Paganini wrote:
Had a bit of a setback today; it seems like my DS1813 reset controller is broken. Any time it's plugged in RESET\ is held low. That was my last one (I only bought 5 because they're kind of expensive) so I had to rejigger that area of the board a bit to use Garth's reset circuit from the Primer. I didn't have the exact resistor values, but I got as close as I could (22k and 4.7k resistors, instead of 27k and 5.6k) but it *seems* to be working OK. I'll hope that my good old G65SC02 is forgiving.



Ben Eater only uses a 0.1uF cap I believe. He has said that he needs to redo that reset circuit, but he's only got a million-something views on youtube of his board doing cool things. Ya know, little things :) The point is that you shouldn't need super specific values, though I do take everything Garth says as gold. Glad it was fixed with BDD's suggestion though.

Quote:
Anyway, the good part is, it worked first try! I haven't fully tested the build yet; I just put a NOP ROM in. But, I got a clean reset, read the reset vector ($8000) jumped to it, and started executing NOPs. So that means I didn't make any major wiring mistakes. I always feel really good when a project works right away and I don't have to do a lot of error hunting.


Small victories are important. They keep you going. Though, having it work the first time is more than just a 'small' victory. Great job!

Quote:
This is probably a good time to reiterate how much I like having Hoglet's decoder available for this kind of thing. I can immediately use it as a kind of makeshift output device; no messing around with LCDs or VIA LEDs. I can just plug in a little doodad and immediately see in detail if my board is doing what I told it to. It's a great resource!


Good point. That would tell you a LOT more than just a probe or scope.

Good looking board by the way. It's interesting how you actually DON'T have a jumble of wires as usual with breadboards. It's a lot of wires, but not jumbled. They seem organized and honestly because they are so thin you can still see everything going on. You have used the strengths of the breadboard and wire-wrap to create a good design!

Thanks for the update!

Chad


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2024 12:35 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
sburrow wrote:
Paganini wrote:
Had a bit of a setback today; it seems like my DS1813 reset controller is broken. Any time it's plugged in RESET\ is held low. That was my last one (I only bought 5 because they're kind of expensive) so I had to rejigger that area of the board a bit to use Garth's reset circuit from the Primer. I didn't have the exact resistor values, but I got as close as I could (22k and 4.7k resistors, instead of 27k and 5.6k) but it *seems* to be working OK. I'll hope that my good old G65SC02 is forgiving.



Ben Eater only uses a 0.1uF cap I believe. He has said that he needs to redo that reset circuit, but he's only got a million-something views on youtube of his board doing cool things. Ya know, little things :) The point is that you shouldn't need super specific values, though I do take everything Garth says as gold. Glad it was fixed with BDD's suggestion though


When I put my 6507 board together I too used a 0.1µF capacitor - figuring that if it was good enough for 30 million Atari 2600s it was good enough for me.

And it was, although not 100% reliable and I sometimes needed to push the reset button ... that is until I plugged in a modern 65C22 - then it became 100% reliable from power on.

Weird little things.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2024 5:43 pm 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 491
sburrow wrote:
Good looking board by the way. It's interesting how you actually DON'T have a jumble of wires as usual with breadboards. It's a lot of wires, but not jumbled. They seem organized and honestly because they are so thin you can still see everything going on. You have used the strengths of the breadboard and wire-wrap to create a good design!


Thanks Chad! When I started, I had in mind that the construction method would just be a kind of interesting novelty. But now I really like it, both for the aesthetic reasons you just mentioned, and also for the speed / ease of construction.

In other news, I did some basic testing of my ACIAs. The "Rockwell" ones all seem fine, except that two of them lost pins when I pulled them back out of the breadboard. The "CMD" ones are at least actual 6551s; 4 of them work, 1 of them spews garbage as soon as it is enabled. I don't really trust them because they look so wonky, so I will probably stick with one of the Rockwell ones.

When I say "testing," what I mean is that I was able to set up a 3-wire serial connection with my old Windows XP laptop and echo back what I type from its terminal emulator. I haven't done anything to check the current draw to see whether or not they're actually CMOS. I may do that after lunch!

Edit: I did that. The Rockwell ones seem to draw around 2mA. The "CMD" ones draw 1mA, but don't work at all when their power supply goes through my DMM!

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Fri May 17, 2024 4:41 pm 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 491
I've continued to tinker with this project a little bit - tidy up the wiring and so on.

One of the many containers in my workshop is a flat Sterilite box that I got a Publix a while back. At some point I noticed that my breadboard assembly fits really nicely into it, and I got the crazy idea of turning it into an enclosure for an honest-to-goodness breadboard retrocomputer. So... I did that. :)
Attachment:
PXL_20240517_162520309.jpg
PXL_20240517_162520309.jpg [ 2.11 MiB | Viewed 777 times ]
As Mary Berry would say, "It does look home-made." The keyword here is "semipermanent." Everything is adhesive mounting foam, gorilla glue, and heavy card, rather than the ABS plastic, acrylic, and steel I have on the back burner for sturdier projects. Still, it's nice to have a power switch, reset button, and serial port that are away from the breadboards and able to take a little more pressure.
Attachment:
PXL_20240517_162109197.jpg
PXL_20240517_162109197.jpg [ 1.6 MiB | Viewed 777 times ]
Attachment:
PXL_20240517_162101229.MP.jpg
PXL_20240517_162101229.MP.jpg [ 5.64 MiB | Viewed 777 times ]
Attachment:
PXL_20240517_162153370.jpg
PXL_20240517_162153370.jpg [ 2.04 MiB | Viewed 777 times ]
Attachment:
PXL_20240517_162131113.jpg
PXL_20240517_162131113.jpg [ 2.72 MiB | Viewed 777 times ]

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Fri May 17, 2024 6:24 pm 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 989
Location: Potsdam, DE
So the obvious question is: is it bigger than a breadbox?

(those of a certain age and locality might remember that...)

Neil


Top
 Profile  
Reply with quote  
PostPosted: Fri May 17, 2024 9:32 pm 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 491
Attachment:
yl1psz91dhjb1.jpeg
yl1psz91dhjb1.jpeg [ 250.35 KiB | Viewed 757 times ]

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Fri May 17, 2024 9:38 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
barnacle wrote:
So the obvious question is: is it bigger than a breadbox?

(those of a certain age and locality might remember that...)

Neil

My grandmother had a breadbox.  It wasn’t made of plastic, was smaller in length and width, but much taller and most importantly, its contents were edible.  :D  Best part was grandma baked her bread from scratch—no store-bought bread for her!  Needless to say, her oldest grandson (me) was always enthused about coming to visit, although it meant an overnight train trip from Chicago to Gananoque (Ontario) get there.  Of course, most normal small boys like riding trains, so it was more a nuisance for the adults.  :wink:

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sat May 18, 2024 7:11 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
The breadbox question came to me(*) rather late in the game, with the little gadget 20Q. It turns out the game Twenty Questions, which I have played (here in the UK), is from the USA, late in the 1800s, and by the time the breadbox question was popularised in comedy (mid 1900s) must have been old hat. Different cultures will of course have converged on different standard tactics in the game.

I did find it surprising that the 20Q gadget's training comes from the web game, which in turn comes from a version circulating on floppy disks. The thing being that the gadget needs a database which is trained on lots of human challenges - the gadget cannot learn, but the web game, and the floppy game, could.

For me, at the time of coming across the gadget, the web was very new indeed, and I would have supposed a different ordering.

As it turns out, the gadget wasn't so American in its outlook that it didn't impress here in the UK. A breadbox here is presumably something like a breadbox there. (Edit: except, I now realise, we say breadbin here.)

I'm still intrigued as to how much data is in the gadget, and how it is made use of (and by what kind of CPU, of course.) I gather it's some kind of machine learning or neural net - it can cope with inconsistent answers from the user. A simple decision tree won't.

Also of interest, some million valid answers can be reached with twenty questions, but the gadget is apparently primed with just ten thousand. Still, as it turns out, enough to be entertaining.

To come very slightly more towards on-topic, there was a Basic guessing game called, I think, ANIMAL which self-modified, learning with play ever more examples of animals and their distinguishing characteristics. While ANIMAL can run on a microcomputer, it might be that 20Q requires just a little too much data. Or maybe not, maybe it's a good challenge to implement it on a 6502, or '816.

(*) Edit: Oops, I've made a huge mistake. In the case of the 20Q device here in the UK (and it might have been localised) the size question wasn't about a breadbox at all - but a loaf of bread.


Last edited by BigEd on Sat May 18, 2024 12:38 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: