Commit Graph

13 Commits

Author SHA1 Message Date
Doug Brown
145487d388 Added GPL header to all of my source files. 2012-05-25 20:21:04 -07:00
Doug Brown
c681547026 Fixed bug that screwed up reading after doing an electrical test. 2012-03-04 12:03:02 -08:00
Doug Brown
e38269f879 Optimized the SIMM electrical test, fixed a few small bugs I had introduced in the previous commit. Added comments where necessary. Seems to work great now. 2011-12-18 14:55:08 -08:00
Doug Brown
a1ca591d60 The same short is never repeated twice with the same 2 pins now. However -- if there's a short between 1, 2, and 3 -- it will still show a short between 1 and 2, 1 and 3, and 2 and 3, even though that info is somewhat redundant. But the host software can iron all that out. 2011-12-18 14:18:49 -08:00
Doug Brown
9333b65cde Fixed a tiny mistake -- forgot to say the name of one of my enums after the typedef.
Finished making the electrical test work -- I had failed to realize that I have to ignore the ground shorts once they have been found -- otherwise they reappear against EVERY tested pin (because they are always low and I'm testing for low pins -- duh!). Anyway, it was showing way too many shorts, and that's why. Now I independently can find shorts between separate pins without getting flooded with the ground shorts too. Only thing that's missing is the VCC shorts, but I can't do that without pullups (to my knowledge)
2011-12-18 12:00:22 -08:00
Doug Brown
beae025d1a Oops, I was counting too many errors 2011-12-18 10:19:57 -08:00
Doug Brown
9054aaff0f Started implementing electrical test that tells what pins are shorted to what 2011-12-18 10:18:30 -08:00
Doug Brown
b475c28040 Fixed a bug in the address line tests, updated fusebits for now [with no bootloader yet], started working on getting all the tests working 2011-12-07 21:17:47 -08:00
Doug Brown
bfeadc7e3a I had forgotten to check the control lines for ground shorts. 2011-12-04 17:09:57 -08:00
Doug Brown
65c6654660 Added delay "adapter" class to keep simm_electrical_test.c completely platform-independent.
Updated the electrical class to wait after setting up pins before reading them.
2011-12-04 16:30:26 -08:00
Doug Brown
fc44d70c4f Finished writing the electrical test routine, and fixed a mistake in how I named a few functions in ports.c.
I'm not completely done with the electrical test because it only counts errors right now. So I need to implement a framework to determine which pins are shorted rather than just counting them.
2011-12-04 16:13:30 -08:00
Doug Brown
0a52df645a - Fixed stupid bug of -1 instead of +1 in external_mem.c.
- Began writing an electrical test so I remember WTF I'm doing later
2011-11-27 00:09:29 -08:00
Doug Brown
1595c69890 OK -- so I separated the actual port code from the external memory controller code. I think this makes more sense.
It does add some complexity to the code. I may be going through a chain of calls just to turn the CS pin on, for instance. Hopefully I'm not going too crazy with this.

Anyway, this means that I can control the ports from a SIMM electrical test routine using the same types of functions that the actual programming  controlling code would use, without having to duplicate a bunch of port definitions and bit manipulation. I made sure to add all the functions I can think of needing to the ports module. We'll see if I got them all!
2011-11-27 00:01:29 -08:00