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

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sun Jan 13, 2013 9:36 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
I bought a Bus Pirate last year, and recently richarde borrowed it. He's just sent me these traces from the pins of a BBC Micro's 6502 - these timings are therefore typical and don't replace the need to study the spec when designing a system.

Attachment:
BBC 6502 Signals.png
BBC 6502 Signals.png [ 59.91 KiB | Viewed 1021 times ]


However, it's interesting to see what's happening in a typical working system. We note that the phi1 and phi2 signals are indeed (just about) non-overlapping. We think the Bus Pirate is sampling at 100MHz, so there's a quantisation of the edges, and of course the true sample times may be slightly jittered. If anyone can provide traces from an actual logic analyser that would be great.

(This is an NMOS 6502, normally clocked at 2MHz)

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 13, 2013 9:44 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Thanks. It's interesting to see that the R/W\ line actually went down before the address lines changed, strengthening the case for making sure that writing to RAM is qualified by phase 2.

_________________
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?


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 13, 2013 9:56 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Yes, well spotted. In this particular design the RAM subsystem is used for video output during phase 1 so that qualification probably happens naturally.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 14, 2013 10:30 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
GARTHWILSON wrote:
Thanks. It's interesting to see that the R/W\ line actually went down before the address lines changed, strengthening the case for making sure that writing to RAM is qualified by phase 2.

Like I've been saying all along... :D

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


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 24, 2015 11:49 am 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
BigEd, I've been looking at the Bus Pirate, can you recommend it? (http://dangerousprototypes.com/docs/Bus_Pirate)


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 24, 2015 12:27 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
I have to confess, I've barely used it, and I note that two years have passed since I started the thread. For a little more money you can get the Open Workbench Logic Sniffer
http://www.seeedstudio.com/depot/preord ... l?cPath=75
which is probably worth investigating as an alternative. I have one of these too, and unfortunately it's the same story - I haven't made use of it.

Sorry I can't be much help
Ed


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 44 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:  
cron