Fixes to cardbox not receiving
added password file and pingTest
massive updates for new cardbox transaction system
new network packet definitions
Undid rs485 hacks for the cardbox
Cardswipe error now blinks
Cardreader code cleanup
Renamed main.c to cardbox.c
New buffer size, prevents buffer overflows in cardreader
Optimizations to the card reader
Code cleanup for cardreader
Pass information back and forth between read_card
Actual return codes, prevents over runs of the cr_buf when looking for start sentinal
Basic return values for parse_card
Code cleanup on the cardreader stuff
Parity check implemented
Can read track 1 with no parity checking
Reads track 2, messes up on track 1
Changed cardbox schematic to match the current hacks on the board
added payment checking, needs to be tested in the real system
fixed funny server bug
argh, something strange is going on. added more printouts
added debugging printouts
updated tooltron server to hande being offset from cardbox (implicit ACKS) and ot handle ctrl-c presses
Added script to read fuses out of the cardbox
wow im a moron, uncommented the cirtical section of code in tooltron.py
fixed bug with retries in server and made mysql reconnect each swipe
huge delay to keep the ftdi chip happy
added delay between messages on the bus
Updated a define in tooltron.h
added some logging output
Fixed cardbox state machine to handle retries and more acks to the server. Fixed cardbox timer to be accurate
made tooltron server ignore card swipes during a transaction
added NACK if there is a double-swipe
ok, cardbox can't count time, making timeout higher again
increased timeout
fixed readcard timeout
manualtron now sends acks to cardbox
updated manualtron to deal with new key code
sign error
added time to common.py
updated server to deal with new cardbox code
fixed a bug with timeouts.Looks like timeouts might not be handled in all cases
fixed log message
set to use /var/log/tooltron as log file
removed extra error state for timeouts so we don't get so much error spam
silly me
typo, damn python
forgot common.py
added handling for timeouts in readKey
fixed keypad timeout
oops
fixed timeout bug in tooltron server
fixed idiot mode exploit, needs testing
added smarter (and more hacky) excpetion handling to tooltron.py
fixed TRUE / FALSE bug
added software debounce for toolboxes
added more printouts to netprog
fixed netprog reflection issues
fixed reflection handling in the server
Added a delay between receiving a packet and responding
code reafactoring for server and manualtron
merged in manualtron fixes
Fixed bug in packet where crc was not initialized, fixed keypad code. Apparently only aaronjohs code will ever work
some fixed to manualtron, NEED TO PORT TO TOOLTRON
changed messages to have payload length. Also created manualTron
Added the ability to get the length of a packet, changed the packet format to include the length field, bootloader section hacking to make it fit
Changed the keypad handler to be more simple in terms of code size
Merged tooltron.h
Added TT_PING auto response to the packet handler code
fixed cardbox code for new board, updated tooltron.py for new cardbox
Scripts to program fuses automatically for the two boards
broken cardbox, needs to fix the statemachine
Updated jumptable and Makefile for tooltron to work with bootloaderupdated tooltron.py to handle NACKsFixed tooltron.py to send 'o' instead of 'O'
Restored reset to pristine state, fixed a bug in the error case for the bootloader
fixed some netprog bugs and added a reset packet send
Removed reset from the toolbox
Moved the uart code to rs485_int since that describes it better.
Removing serial.c since we have a uart one
Some byte hacks to reduce size.
Moved the uart code from toolbox to cardbox since toolbox now uses the bootloader rs485 code
Bootloader only emits a boot message when the buttons are depressed or it was reset by a watchdog
Bootloader is setup to read the address from the EEPROM now
Fixed a magic number initialization
Removed fuse writing since it seems to be placing the fuses out of memory and causing the programmer to fail
Using a modified linker script to strip out the unused interrupt vector table in the bootloader. Not tested
Added default fuses to the bootloader
Made the main function in the bootloader naked, saved about 50 bytes
Fixed offset error in the jump table
Added jump table to point to the right functions in the toolbox
Added the assembly jump table. It is placed 1 page from the end of flash memory
Breaking up more of the bootloader into separate files
Moved rs485_poll.h to bootloder since it will never be used by the toolbox
moved rs485_sw.c into the bootloader directory where it is compiled. The include directory is set to /common where the header file is
fixed some bugs in the rs485 code