Doug Brown
7f69cb476d
Tried to do some better commenting in usb_serial.c, also tried to do a better job of documenting the protocol in programmer_protocol.h
2012-01-26 20:42:42 -08:00
Doug Brown
147c2bfda3
Did some more splitting of responsibilities in the code
2011-12-26 15:02:39 -08:00
Doug Brown
e8999cfc54
Moved the programmer protocol to a different file in preparation for sharing it across all the various programs (bootloader, programmer, control program)
2011-12-26 11:31:45 -08:00
Doug Brown
258fb187ad
Added extra commands for moving back and forth between the bootloader and the actual program.
...
Disabled the flash erase capability on the main program while I'm working on the bootloader...
2011-12-24 20:09:39 -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
9054aaff0f
Started implementing electrical test that tells what pins are shorted to what
2011-12-18 10:18:30 -08:00
Doug Brown
b052bb62f8
Fixed a bug with how many bytes I was allowing to be written. It mostly works but it writes the chips in reverse...oops
2011-12-17 10:32:40 -08:00
Doug Brown
ca84a1d562
Kept working on the USB protocol
2011-12-16 20:13:34 -08:00
Doug Brown
4adb0c4980
Started working on more optimizations, but something weird is happening and it's crashing...not sure why yet.
2011-12-11 21:48:26 -08:00
Doug Brown
1c07518ab0
Added electrical test option to my temporary command line.
...
Also experimented with skipping the SPI -- I left my test code in there, commented out, in case I want to do some more speed testing.
2011-12-11 15:52:04 -08:00
Doug Brown
b4eb6c3ddc
Started getting writing working, as well as the ability to restrict to a specific set of chips to write to
2011-12-11 13:28:32 -08:00
Doug Brown
e0977a9339
Created read and write cycle functions, along with a block read function. I think this will look better...
...
I also changed the port module so it doesn't needlessly update the data direction register over SPI if it's being told to set the same value it had before.
2011-12-11 10:12:22 -08:00
Doug Brown
f45cc2c4d6
Started writing more command handling
2011-12-11 08:35:53 -08:00
Doug Brown
651c3a4be7
Finished testing the new functions I made for chip identification. It works well
2011-12-10 18:57:17 -08:00
Doug Brown
8865d0c00f
I got the device identification working, and I'm in the middle of breaking it into its own set of functions for write cycles, read cycles, unlock sequence, etc.
2011-12-10 18:40:30 -08:00
Doug Brown
1540bcadd1
Tested reading the entire SIMM contents back to the computer (it works)
2011-12-10 13:53:43 -08:00
Doug Brown
7db22e08af
Fixed a few stupid bugs -- it's now reading data correctly.
2011-12-10 13:02:21 -08:00
Doug Brown
2bc61f41aa
Continued playing with USB serial stuff. I think it's working well now, but I'm running into problems reading from the SIMM, so I need to figure out why I'm not getting the data I expect.
2011-12-10 10:35:41 -08:00
Doug Brown
1db6834da4
Added LUFA into the project, right now just for some demo stuff.
2011-12-09 22:11:31 -08:00