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
Renamed uart to rs485_poll because it is more descriptive of what it actually does. Some function name changes
Pulling out the uart polling code, need to do some file renames
Began moving parts of the code into the common directoty. Began setting up the jump table
Changed bootloader to use the common header file
Deleted old bootloader folder
Removed bootloader .dep folder
Moved bootloader to the trunk
Moved tooltron header file
Moved debug script to the util directory
Fixes #1119. Watchdog timer based reset implemented and added to the common library
Test program with the watchdog reset implemented
Changed the recusive call to a goto for a retry case in the bootloader
Fixed bug in the cardbox where a pin on the FTDI was not connected correctly
updated netprog with nicer output (slightly)
Bootloader almost works except for ctors end stuff
Debug script, bootloader can send without hacks
bootloader stuff that should work
changed bootloader to start at 0x400
tried to update test Makefile to move code to start at 1024also added some printouts to netprog
Fixed bug in bootloader that writes to flash. Can now write to flash
added simple test code for programmer
got state transitions working with toolbox board!
Bootloader state machine and rudimentary programming, can receive program but doesn't actually program
first draft of network programmer, no error checking!
Added a packet parser and ack generator to the bootloader. Also added the new mesages to the tooltron.h file
undid hack to main toolbox codegot something of the bootloader working
added bootloader code
First version of the cardbox hardware that's not perf boarded. These are the gerbers sent to fab.
This is the toolbox that we sent to fab
First run at the improved cardbox
Fixed several bugs:warn state no longer allows red button to kill tool while it is spinningkeypresses are flushed by the server before a request so we don't get the one-swipe-behind bug
Changes:red light stays on on toolboxes while poweredadded more blink-error codes to the cardbox
added a much better idiot check
UNTESTED hacky check state solution for idiot mode, going back to idiot-state solution
logging with user names
added some more logging to server
added some logging but doesn't look up usernames yet
updated server to handle multiple swipes and have more reasonable timeout behavior.tested with 5 toolboxes, seems to work for nowAlso removed unnecessary code from uart in toolbox.
changed it so that the cardbox ignores uart rx until it gets a key
changed timeouts to be shorter for 422 acks
renamed dustmite to tooltron since dustmite the server is dead
Added LGPL to all source code except the hardware schematics.
Moved hardware to the trunk
Renamed cardbox_new to cardbox
Deleted old server code
Removed old crusty code
added multiple tool numbers per tool namei.e. there are two bandsaws but one item called "Bandsaw" in the db
Added ac line detection and won't kill power to the tool if it is on.
Considered feature complete.
added a silly thread and fancy compilicated crap that allows us to ignore input to stdin between swipes
oops, flush is undefined on stdin, so now using read instead.rookie mistake
hopefully fixes the multi-swipe bug
Added timeouts and blinking, state machine implemented. Works with the server.
added a function which parses the ack
sending and recving over bus works!!need to parse for ACKs
added query stuff to dustmite.py. should be working but hasn't been tested with the keypad
Moved relay pin. Can trigger the transistor correctly.
Removed debug leds in the uart module. Can turn relay on and off now.
Finished state machine with timeout/warn state. Need to build timer still.
Added button checking.
Added packet parsing, seems to work. Lights can also be controlled as well.
added lookup code to query so it returns tool id #s
Moved the new toolbox to the toolbox folder for naming.
Removed the old toolbox code