ukVac.com Homepage
Forum Home Forum Home > Technical > Tech, Maintenance & Repairs
  New Posts New Posts RSS Feed - Arduino In-Circuit Tester: Build Project
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skin:


Arduino In-Circuit Tester: Build Project

 Post Reply Post Reply Page  <1234 14>
Author
Message
 Rating: Topic Rating: 3 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
ColinD View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 Jun 2010
Location: Merseyside
Status: Offline
Points: 1759

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote ColinD Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 5:55pm
Originally posted by DanP DanP wrote:

Would love to be involved in this but realistically I can't guarantee I can devote the required time to it so I've stayed out of the first batch of volunteers.   If another batch happens I'm happy to look to work on 6502 based Atari stuff (Centipede or ROTJ say).

Will be keen to see how you get on chaps!

Dan


Same here.... Looks cool :-)
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 5:56pm
You know that at the moment it's a standalone item? Yes? No computer interface at all...
Back to Top
DanP View Drop Down
Admin Group
Admin Group
Avatar
Whipcracker

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 17 Apr 2000
Location: Essex
Status: Offline
Points: 6025

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote DanP Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 6:00pm
Originally posted by guddler guddler wrote:

You know that at the moment it's a standalone item? Yes? No computer interface at all...

Yep Wink
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 6:01pm
Yeah, that wasn't aimed at you, it was aimed at Phill who was asking if anyone wanted a Mac version
Back to Top
DanP View Drop Down
Admin Group
Admin Group
Avatar
Whipcracker

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 17 Apr 2000
Location: Essex
Status: Offline
Points: 6025

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote DanP Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 6:07pm
How difficult would it be to build an interface to output a modern system?  Doesn't the arduino have USB onboard?   Wouldn't an initial terminal output type view be fairly simple to code?   Something similar to the Fluke output to AUX onto a terminal via RS232?   Sorry if I'm talking gibberish here, not really had much time to loom into it, just thinking out loud really.

Dan
Back to Top
Nes4life View Drop Down
Senior Members
Senior Members
Avatar

First Year of Supporting ukvac.com!

First Year of Supporting ukvac.com!



Joined: 02 Jan 2014
Location: Ashford, Kent
Status: Offline
Points: 5213

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nes4life Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 6:17pm
Not gibberish at all. I can make a Mac app with full gui interface; simples.
After the arduino performs all its tests for a game it could wait for further instructions from the USB (from a Mac or PC) and then return results to the USB for display. It's no bother. I'd try and make it generic enough for any game. I already have sample code.

What d'ya think?

Edited by Nes4life - 15 Jan 2016 at 6:18pm
NES4Life
-------------
Owner of ... too many cabs!
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 6:33pm
It's what I'd like to see. Like I say, I already did it in the past in C# / Windows (I don't think I got to Mono / Mac at the time but it was the intention).

It should be easy enough to separate the two sides and it would therefore be easy enough to issue the commands that are already there.

Important thing is to make sure it works WITH the original design and doesn't drive a wedge between the two. Let's see what happens when people receive them. It's important not to forget that a considerable knowledge of the hardware that is being tested is required. You can't just add a new game. Well, you can, of course, but you're not going to have much of a clue whats going on when it doesn't work. There's a lot of little nuances that may not be implemented yet. Paul has already stated that this is particularly true for 6502.
Back to Top
PaulSwan View Drop Down
Senior Members
Senior Members
Avatar
ZZZ

Joined: 12 Mar 1999
Location: Seattle, WA
Status: Offline
Points: 1606

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote PaulSwan Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 6:58pm
You should fork the repo and submit pull requests back to it to update the code base. The right way to manage source code with GitHub is widely documented online.

IIRC the Arduino does have a USB device library you can use to communicate with it over the USB port to a Windows app so you could use a Windows app to control it if you wish.

Paul.
ZZZ
Back to Top
andrewsm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 Jul 2015
Location: Glasgow
Status: Offline
Points: 961

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrewsm Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 8:57pm
Sorry to be ignorant here on the tech terms but what is 'forking'?
WANTED: Any Nichi stuff. Need a set of Legs!!
http://www.arcadetester.co.uk
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 9:03pm
Back to Top
andrewsm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 Jul 2015
Location: Glasgow
Status: Offline
Points: 961

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrewsm Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 9:05pm
Cheers Guddler. I understand now thanks.
WANTED: Any Nichi stuff. Need a set of Legs!!
http://www.arcadetester.co.uk
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 11:29pm
So...


I'll stick that there first as a bit of a TL;DR for those that don't want to read the rest of this. I'm a bit of an odd beast (yeah, I know, it's been said MANY times ) but what I really mean is that most of the time you will notice me pushing for everything Mac in this world. That is because my day to day computer is a MacBookAir and if Apple made a gaming rig (and I could afford it), so would my gaming machine.

However, given that Apple do NOT make a decent MODERN gaming machine (flame me all you like, it's the truth), I have a Skylake based W10 machine that I use for gaming. I also tinker with development. Quite a lot since it used to be my day job for 99% of my career so far, and when it comes to development I'm firmly split between Mac OS X and Windows. In the arcade (hardware) world, it's difficult to get away from Windows so I use Visual Studio 2015 Community Edition (which is legitimately 100% free for anyone that doesn't know).

I discovered the above when it was in it's early days in 2012 / 2013. I just re-downloaded and re-installed after not having Arduino anything installed for a long time so thought I'd mention it.

Personally I believe that if you already have VS installed, or you have a machine that you could, you'd be doing yourself a complete injustice by not installing this add-on. A lot of the functionality is free and it will be fully functioning for 45 days. That includes full debugger and allsorts but best of all, full library management and intellisense. It's a godsend!

I'm lucky enough to have bought the pro version back in 2013 and my license is still valid even though the product is vastly improved (happy days!) but having said that, the pro version is only 15 quid for personal use anyhow!!

I haven't imported this project yet to see if there are any issues but I've used VS for C++ on the Arduino before so I don't see why there would be.

Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 2016 at 11:30pm
Oh, PS: I'll still be pushing Phill for anything Mac, and maybe contributing because at the end of the day my machine in the games room is a Mac (sort of) and I only drop into a Windows VM there when I need to use stuff like my logic analyser or my EPROM reader.
Back to Top
Morty View Drop Down
Groupie
Groupie
Avatar

Joined: 24 Jul 2010
Location: Cheltenham
Status: Offline
Points: 446

Feedback: 0
Post Options Post Options   Thanks (1) Thanks(1)   Quote Morty Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jan 2016 at 12:18pm
Looks like an exciting project, lets face it the more tools people have access to, the more likely some of these old cabs have of surviving

Being a software developer meant I could not resist coding an app a few years ago, work in progress to assist in fixing video games, I'll start a separate thread but in summary:

Application with an XML file per game
Collection of PCB's that make up the game
PCB hi res scan
Component list
How to/fix logs (referenced to components)
Memory map (maps suitable components into a memory map such as RAM/ROM/IO)
Schematics

Tools include
ROM Test - scans ROM, graphical display of pass/fail of each location, CRC matching to ROM name (I found 1 rev2 ROM mixed in with rev1 ROM's for example on a centipede PCB)
RAM test - write/read test patterns
Analysis of patterns for example bit 1 always low (grounded), bit 7 always as bit 8 (shorted tracks?) etc
Writes all results to screen and a PDF so you can keep copies or study off line later

+lots more in progress (example is a virtual control panels so you can drag and drop joysticks, buttons, spinners, coin mechs etc then test a PCB without real controls hardware)


The actual test equipment hardware is abstracted away from the application...so it can be used with different hardware, such as this project if a PC link was added, it only requires the mapping of a few different commands such as read/write to a memory location

I developed it using the Fluke 9010A, also had it using a HP analyser to probe up to 80 pins (I was going to try to add features for testing descite PCB's without CPUS or in place component testing using logic maps to see if components matched the specifications)

Also I did some work with Neil ("Mitchell Gant") using his CPU tester PCB, so this application was working with that, it was fun running Centipede and being able to stop and start the game (he emulates a 6502). I was able to do the same testing of RAM/ROM etc with this as I did with the Fluke, the application had no idea what hardware was actually in use






Just thought i would mention it in case it was of any use for this project. Its all coded in C#/visual studio btw

Wanted: Konami Track and Field / System 1 Roadrunner kit / Lottery Win.
Back to Top
Nes4life View Drop Down
Senior Members
Senior Members
Avatar

First Year of Supporting ukvac.com!

First Year of Supporting ukvac.com!



Joined: 02 Jan 2014
Location: Ashford, Kent
Status: Offline
Points: 5213

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nes4life Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jan 2016 at 1:01pm
Now that's an app! I love the very literal highlighting of components on the PCB.
Great visual representation. Clap


Edited by Nes4life - 16 Jan 2016 at 1:01pm
NES4Life
-------------
Owner of ... too many cabs!
Back to Top
backflipper View Drop Down
Senior Members
Senior Members
Avatar

Joined: 26 Apr 2006
Location: Bow, London
Status: Offline
Points: 2569

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote backflipper Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jan 2016 at 5:30pm
Man this blows me away. Nice work to everyone. Incredible stuff going on in the background.
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jan 2016 at 9:53pm
Just a heads up that I've added Asteroids to the code but I'm waiting for my parts to arrive before I do any kind of push to my fork or pull request. And sorry, not to steal anything away from Phill but Asteroids is the one I know most about and have all the kit ready to go and a working board set. Phill, you can add Deluxe if you like

I've done this as a base game and a derived game just like Astro Fighter and Tomahawk 777. I did this because there is Asteroids and Asteroids Deluxe which vary slightly. There's also stuff like Meteroids and Planet but I think they use the same setup as Asteroids.

I'm hoping that we will have a little more success with this 6502 game than Paul had with Astro Fighter / Tomahawk 777. Yes, CLK2 is used on Asteroids but it looks like basic ram and rom tests shouldn't utilise it. From a CPU point of view we should be in pretty good shape since everything exotic like IRQ, SO, SYNC are not used.

From what I can see the main things that will be impacted by the lack of CLK2 are a couple of the sounds (thump for example) and sadly, some of the signals used by the state machine. That's a pain as it means drawing is probably out. Will see.

Need to walk before we run. Will report back on how the ROM and RAM tests perform (if they do!) There is always the possibility that I've misunderstood something in the code yet

[EDIT] Should have looked better at the schematics before I posted that! The NMI is not the watchdog so I need to look at what is going on every 4ms in the NMI routine to see if we need to concern ourselves with it or not. That will be well documented on the web I expect.


Edited by guddler - 18 Jan 2016 at 9:59pm
Back to Top
Judder View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01 Mar 2012
Location: London
Status: Offline
Points: 1804

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Judder Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jan 2016 at 10:12pm
Quote Just a heads up that I've added Asteroids to the code


Fantastic stuff and great to be making progress so quickly

We also have another set going out to a rather good Williams expert so I'm hoping with myself and Phil we can make some dent into that!

Alex
Back to Top
guddler View Drop Down
Admin Group
Admin Group
Avatar
Busting vectors like it's 1982!

5 Years of Supporting ukvac.com!

5 Years of Supporting ukvac.com!



Joined: 24 Sep 2000
Location: W.Somerset
Status: Offline
Points: 39537

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote guddler Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jan 2016 at 10:42pm
Let's not get too excited. Let's see if it works first
Back to Top
Nes4life View Drop Down
Senior Members
Senior Members
Avatar

First Year of Supporting ukvac.com!

First Year of Supporting ukvac.com!



Joined: 02 Jan 2014
Location: Ashford, Kent
Status: Offline
Points: 5213

Feedback: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nes4life Quote  Post ReplyReply Direct Link To This Post Posted: 19 Jan 2016 at 7:59am
Guddler, you submit what you want mate! There's a good possibility that my main contribution will be with the app extension. We'll need a way of passing generic read / write commands along with an address to each game from the host app. My first thought is that we can have each game (arduino side) present a list of addresses and the commands each block can support (read and / or write) and the host app will consume that dictionary / array. The host app can then present a decent GUI. We'd need to implement a standard protocol basically.

NES4Life
-------------
Owner of ... too many cabs!
Back to Top
 Post Reply Post Reply Page  <1234 14>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.625 seconds.