I've been looking to do some more hardware projects, and I've always wanted to know EXACTLY how some of the devices work. I'm thinking of creating a test harness something like what Kevtris mentioned about a decade ago. Basically just a 40-pin ZIF connected to a bunch of IO. I was thinking a Arduino Mega, or maybe even a Sparkfun Bit Whacker. The idea being I could control any of the inputs from a PC, and read all the outputs. I could clock the chips as slowly as I need to to take readings, so I wouldn't even need a logic analyzer.
The whole point of this effort would be to come up with a set of test data that is verified on hardware to be accurate. Kind of like the HW version of Blargg's test roms. This test data could be used by others - for example there's a bunch of FPGA related NES projects being discussed throughout the forum. I'm not expecting to break new ground or discover new features (we pretty much know how this stuff works by now), I'm just trying to get a set of repeatable test data.
I was thinking about starting with MMC1. I could progress up to more complicated chips, maybe even the PPU - though to be honest Visual2C02 might be a better way to explore that chip.
My plan right now is:
1. Build the hardware. It's pretty simple, looks like about $20-$50 worth of stuff.
2. Desolder some chips. MMC1 is pretty easy to come by - but some of the other chips I don't have access to. I don't want to destroy too much of my collection, so maybe I'll have to scour ebay. I don't suppose anyone has a collection of MMC chips they'd be willing to sell?
3. Write some software on the PC to drive the IO pins, then extend it to execute/record test vectors.
I think the hardest tasks are acquiring the MMC chips, and coming up with a set of comprehensive tests. The rest is really pretty trivial.
Any thoughts? Would this be useful to anyone?
The whole point of this effort would be to come up with a set of test data that is verified on hardware to be accurate. Kind of like the HW version of Blargg's test roms. This test data could be used by others - for example there's a bunch of FPGA related NES projects being discussed throughout the forum. I'm not expecting to break new ground or discover new features (we pretty much know how this stuff works by now), I'm just trying to get a set of repeatable test data.
I was thinking about starting with MMC1. I could progress up to more complicated chips, maybe even the PPU - though to be honest Visual2C02 might be a better way to explore that chip.
My plan right now is:
1. Build the hardware. It's pretty simple, looks like about $20-$50 worth of stuff.
2. Desolder some chips. MMC1 is pretty easy to come by - but some of the other chips I don't have access to. I don't want to destroy too much of my collection, so maybe I'll have to scour ebay. I don't suppose anyone has a collection of MMC chips they'd be willing to sell?
3. Write some software on the PC to drive the IO pins, then extend it to execute/record test vectors.
I think the hardest tasks are acquiring the MMC chips, and coming up with a set of comprehensive tests. The rest is really pretty trivial.
Any thoughts? Would this be useful to anyone?