6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 1:52 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Aug 02, 2015 6:54 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
cbscpe wrote:
And I suppose most of those 45mA are from the LCD backlight :wink:

Yes indeed lol.

BTW do you think I need pull up resistors on the input side of the buffers? The AVR has this on anyway, but I was thinking of erratic behaviour from the buffers themsevles if that part of the bus input is high impendance. What do you think?


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 03, 2015 3:31 am 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
No I don't think it is necessary, in any case there is almost always someone active on the bus. I never used pull-ups in my projects.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 03, 2015 10:51 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Cool. I ended up putting 10K pullups on the signals buffer IC as those (the incoming signals /ROM select, /RAM select, etc.) are active-low. The rest have been left as-is.

Here's an updated firmware source file (now optimised) - see attached.


Attachments:
File comment: Source and object code for Monitor V2 AVR. Feel free to use it in part of in full free of charge, as long as you acknowledge my efforts.
MonitorV2.zip [47.8 KiB]
Downloaded 60 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 06, 2015 10:24 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
I've uploaded a video of both the GAL bus monitor and the AVR one. Each is demo'd attahed to my first 6502 home brew computer running at a glorious 1Hz ( :mrgreen: ) so that you can see what's going on.

GAL:
https://www.youtube.com/watch?v=2EZGFIB9Wv4

AVR:
https://www.youtube.com/watch?v=wDRIcP--S74


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 07, 2015 8:58 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
I have to say the AVR one looks like it could be much more informative! But both are great things to have built and finished. Finishing seems to be the hardest part.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 08, 2015 7:32 am 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
BigEd wrote:
I have to say the AVR one looks like it could be much more informative! But both are great things to have built and finished. Finishing seems to be the hardest part.

I totally agree. One of the main reasons for creating these is to help diag my newer 6502 projects as I find converting the buses to hex one cycle at a time is just too onerous and had effictively put me off going further as I've had to do this once already.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 29, 2015 8:35 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Found a random boot issue where the monitor would be unable to boot and a large amount of current being drawn. I suspected that this was down to the buffers sat between the 6502 bus and the AVR having their /enable (G) pins on high impedance in the second or so that the AVR finishes powering/booting. To resolve the issue I've added 10K bus type network pull up resistors on those lines which means, by default, the buffers ICs isolate each side from the other. Seems to have worked thus far.
Here's a new circuit diagram (in case anyone is still awake at the back :)):
Attachment:
BusMonitorV2rev2.png
BusMonitorV2rev2.png [ 49.52 KiB | Viewed 325 times ]


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 58 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: