Commit Graph

15 Commits

Author SHA1 Message Date
Doug Brown
6110068d04 Got it working so you can flash and read chips on the SIMM individually. 2013-07-04 18:34:27 -07:00
Doug Brown
8f60d21c0c Finished adding support writing only a portion of the SIMM. For now the
GUI limits you to only write a smaller section of the SIMM starting at
the beginning, but the capability should be there in the Programmer
class to add a GUI feature for writing a section in the middle.
2012-10-17 21:30:40 -07:00
Doug Brown
09686d2199 This is an incomplete implementation of the new "erase some of the SIMM"
feature. The erase capability is there, so next up comes the write.

The next step is to add a mechanism to the protocol to start writing at
a location other than 0 (although this is not needed for this particular
feature, I'd like to have it in there first). Then, I have to update
this software to use that new protocol and make sure verification still
works. I'm about 50% done I'd say.
2012-10-16 21:35:43 -07:00
Doug Brown
b57f0a83e1 Refactored verification code so Programmer is in charge of it rather
than MainWindow. Also, I think I have verify while writing working
but I can't test it yet because I haven't implemented in in the
firmware. Bumped version number up as well.
2012-09-30 12:15:11 -07:00
Doug Brown
97f31bfec4 The verify after write only reads the amount of data needed now -- so if
you flash a 512 KB file to a 2 MB SIMM, it will only read back 512 KB.

I haven't tested this other change yet, but after a verify, it should now
tell you which chips are returning bad data.

I also fixed a newly-introduced bug which caused the "erasing SIMM" message
to never appear because the code path that caused it to appear wasn't being
reached after my 8 MB SIMM support change.
2012-09-15 15:16:43 -07:00
Doug Brown
8121a6ae38 Added (untested) support for new ROM SIMM.
Also fixed a few places where I didn't close the port if an error
occurred.
Updated version number to 1.0.1, but I won't release this version
until I know the bigger SIMM works.
2012-09-02 16:06:44 -07:00
Doug Brown
04711c3851 Added about box with version info/licensing/credits.
Inserted GPL license header into source code.
2012-05-25 22:38:14 -07:00
Doug Brown
cec709c840 Added verify-after-write capability
In order to do this, I changed the Programmer class to no longer take a
filename, but a QIODevice. It should have been done that way originally.

I also rearranged code so that I close the serial port BEFORE sending out
any signals. This was causing a problem if I tried doing something in a
slot connected to one of those signals.

I also fixed a few places where I was forgetting to close the serial
port.
2012-05-20 11:14:36 -07:00
Doug Brown
b8bf3e878b Added provisions to programmer protocol for specifying readback
size.
2012-05-19 22:56:30 -07:00
Doug Brown
20ed6dffdf Updated to assume that my version of qextserialport is checked out next
to it. I'll try to make it automatically check everything out later.

Also fixed a compile problem I forgot to commit on Linux
(needed stdint.h)
2012-05-19 17:29:20 -07:00
Doug Brown
1fdde6e9d5 Fixed device detection problems on Mac OS X -- seems to work now on
Snow Leopard and Lion.
2012-05-18 19:39:24 -07:00
Doug Brown
0e9736dcb2 Prettified more source code and began work on a dropdown menu for the
chip size.
2012-05-13 20:30:21 -07:00
Doug Brown
0dfe69cbf8 Added better error checking to the ROM SIMM flasher for when the
programmer board is unplugged. The UI seems a lot cleaner now too.

Removed dead code. Moved to a more consistent function naming style.
2012-05-13 15:33:22 -07:00
Doug Brown
4d38eb6d3e Moved the progress bar and status information to a new screen. Looks
much better now. Also added better status information for when we are
first making communication with the programmer.
2012-05-13 09:42:16 -07:00
Doug Brown
348d6121f4 Initial import of SIMM programmer code into Git 2012-05-13 00:33:24 -07:00