Project

General

Profile

Statistics
| Revision:

root @ 211

# Date Author Comment
211 02/28/2010 08:32 PM Kevin Woo

broken cardbox, needs to fix the statemachine

210 02/28/2010 05:40 PM Brad Neuman

Updated jumptable and Makefile for tooltron to work with bootloader
updated tooltron.py to handle NACKs
Fixed tooltron.py to send 'o' instead of 'O'

209 02/28/2010 05:39 PM Kevin Woo

Restored reset to pristine state, fixed a bug in the error case for the bootloader

208 02/28/2010 05:08 PM Brad Neuman

fixed some netprog bugs and added a reset packet send

207 02/28/2010 04:34 PM Kevin Woo

Removed reset from the toolbox

206 02/27/2010 04:52 PM Kevin Woo

Moved the uart code to rs485_int since that describes it better.

205 02/27/2010 04:16 PM Kevin Woo

Removing serial.c since we have a uart one

204 02/26/2010 01:51 PM Kevin Woo

Some byte hacks to reduce size.

203 02/26/2010 01:49 PM Kevin Woo

Moved the uart code from toolbox to cardbox since toolbox now uses the bootloader rs485 code

202 02/26/2010 01:47 PM Kevin Woo
  • Moved the reset code to toolbox since it is the only code that uses it
  • Optimized the toolbox statemachine to use parse_packet and the bootloader
    function
  • Small byte optimizations.
  • Down from 1024 bytes to 768 bytes
201 02/26/2010 01:06 PM Kevin Woo
  • Setup bootloader to initialize pins to a known safe state
  • Pulled pindefs for the toolbox out of the toolbox into common/toolbox_pindefs.h
  • Shared toolbox pindefs with the bootloader
  • Replaced all raw pin names with the #defined names
  • Optimizied out some bytes out of the bootloader by sharing variables
200 02/24/2010 10:59 PM Kevin Woo

Bootloader only emits a boot message when the buttons are depressed or it was reset by a watchdog

199 02/24/2010 10:16 PM Kevin Woo

Bootloader is setup to read the address from the EEPROM now

198 02/24/2010 06:24 PM Kevin Woo

Fixed a magic number initialization

197 02/24/2010 06:21 PM Kevin Woo

Removed fuse writing since it seems to be placing the fuses out of memory and causing the programmer to fail

196 02/24/2010 05:57 PM Kevin Woo
  • Fixed bug where the naked attribute did not work with main
  • Used a noreturn attribute to main_start which saved us some room. That works
  • Tested removal of interrupt tables, this works
195 02/24/2010 03:54 PM Kevin Woo

Using a modified linker script to strip out the unused interrupt vector table in the bootloader. Not tested

194 02/24/2010 02:47 PM Kevin Woo

Added default fuses to the bootloader

193 02/24/2010 02:34 AM Kevin Woo

Made the main function in the bootloader naked, saved about 50 bytes

192 02/24/2010 02:26 AM Kevin Woo

Fixed offset error in the jump table

191 02/24/2010 02:25 AM Kevin Woo

Added jump table to point to the right functions in the toolbox

190 02/24/2010 01:37 AM Kevin Woo

Added the assembly jump table. It is placed 1 page from the end of flash memory

189 02/24/2010 01:17 AM Kevin Woo

Breaking up more of the bootloader into separate files

188 02/24/2010 12:57 AM Kevin Woo

Moved rs485_poll.h to bootloder since it will never be used by the toolbox

187 02/24/2010 12:55 AM Kevin Woo

moved rs485_sw.c into the bootloader directory where it is compiled. The include directory is set to /common where the header file is

186 02/24/2010 12:48 AM Kevin Woo

fixed some bugs in the rs485 code

185 02/24/2010 12:28 AM Kevin Woo

Renamed uart to rs485_poll because it is more descriptive of what it actually does. Some function name changes

184 02/24/2010 12:26 AM Kevin Woo

Pulling out the uart polling code, need to do some file renames

183 02/23/2010 11:47 PM Kevin Woo

Began moving parts of the code into the common directoty. Began setting up the jump table

182 02/23/2010 11:28 PM Kevin Woo

Changed bootloader to use the common header file

181 02/23/2010 11:26 PM Kevin Woo

Deleted old bootloader folder

180 02/23/2010 11:25 PM Kevin Woo

Removed bootloader .dep folder

179 02/23/2010 11:22 PM Kevin Woo

Moved bootloader to the trunk

178 02/23/2010 11:21 PM Kevin Woo

Moved tooltron header file

177 02/23/2010 11:15 PM Kevin Woo

Moved debug script to the util directory

176 02/23/2010 11:14 PM Kevin Woo

Fixes #1119. Watchdog timer based reset implemented and added to the common library

175 02/23/2010 11:07 PM Kevin Woo

Test program with the watchdog reset implemented

174 02/23/2010 10:11 PM Kevin Woo

Changed the recusive call to a goto for a retry case in the bootloader

173 02/23/2010 09:59 PM Kevin Woo
  • Added timeouts to the packet handler
  • Bootloader sends nacks due to timeouts or mismatched packets
  • Bootloader clears user code jump before starting to program
172 02/23/2010 09:17 PM Kevin Woo

Fixed bug in the cardbox where a pin on the FTDI was not connected correctly

171 02/23/2010 09:17 PM Kevin Woo

Code cleanup

170 02/23/2010 08:53 PM Brad Neuman

updated netprog with nicer output (slightly)

169 02/23/2010 08:10 PM Kevin Woo

it works

168 02/23/2010 07:31 PM Kevin Woo

Bootloader almost works except for ctors end stuff

167 02/23/2010 05:31 PM Kevin Woo

Debug script, bootloader can send without hacks

166 02/16/2010 09:08 PM Kevin Woo

Almost works

165 02/16/2010 08:32 PM Kevin Woo

bootloader stuff that should work

164 02/16/2010 06:34 PM Kevin Woo

changed bootloader to start at 0x400

163 02/13/2010 05:02 PM Brad Neuman

tried to update test Makefile to move code to start at 1024
also added some printouts to netprog

162 02/13/2010 04:56 PM Kevin Woo

Fixed bug in bootloader that writes to flash. Can now write to flash

161 02/11/2010 09:31 PM Kevin Woo

Bootloader fixes

160 02/11/2010 04:54 PM Brad Neuman

added simple test code for programmer

159 02/10/2010 10:25 PM Brad Neuman

got state transitions working with toolbox board!

158 02/10/2010 10:25 PM Kevin Woo

Bootloader state machine and rudimentary programming, can receive program but doesn't actually program

157 02/10/2010 09:40 PM Brad Neuman

first draft of network programmer, no error checking!

156 02/10/2010 09:04 PM Kevin Woo

Added a packet parser and ack generator to the bootloader. Also added the new mesages to the tooltron.h file

155 02/10/2010 07:21 PM Brad Neuman

undid hack to main toolbox code
got something of the bootloader working

154 02/10/2010 06:39 PM Brad Neuman

added bootloader code

153 02/09/2010 01:25 PM Kevin Woo

First version of the cardbox hardware that's not perf boarded. These are the gerbers sent to fab.

152 02/07/2010 11:24 PM Kevin Woo

This is the toolbox that we sent to fab

151 02/07/2010 11:23 PM Kevin Woo

First run at the improved cardbox

150 02/03/2010 10:41 PM Brad Neuman

Fixed several bugs:
warn state no longer allows red button to kill tool while it is spinning
keypresses 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 powered
added more blink-error codes to the cardbox

149 01/27/2010 09:50 PM Brad Neuman

added a much better idiot check

148 01/27/2010 09:22 PM Brad Neuman

UNTESTED hacky check state solution for idiot mode, going back to idiot-state solution

147 01/27/2010 07:56 PM Brad Neuman

updated comments

146 01/18/2010 06:41 PM Brad Neuman

logging with user names

145 01/18/2010 05:36 PM Brad Neuman

added some more logging to server

144 01/18/2010 05:09 PM Brad Neuman

added some logging but doesn't look up usernames yet

143 01/18/2010 04:41 PM Brad Neuman

updated server to handle multiple swipes and have more reasonable timeout behavior.
tested with 5 toolboxes, seems to work for now
Also removed unnecessary code from uart in toolbox.

142 01/18/2010 03:38 PM Kevin Woo

changed it so that the cardbox ignores uart rx until it gets a key

141 01/18/2010 01:43 PM Brad Neuman

changed timeouts to be shorter for 422 acks

140 01/18/2010 01:06 PM Brad Neuman

renamed dustmite to tooltron since dustmite the server is dead

139 08/12/2009 04:27 AM Kevin Woo

Added LGPL to all source code except the hardware schematics.

138 08/12/2009 03:31 AM Kevin Woo

Forgot to delete the original hardware folder

137 08/12/2009 03:26 AM Kevin Woo

Moved hardware to the trunk

136 08/12/2009 03:15 AM Kevin Woo

Renamed cardbox_new to cardbox

135 08/12/2009 03:13 AM Kevin Woo

Deleted old server code

134 08/12/2009 03:10 AM Kevin Woo

Removed old crusty code

133 08/12/2009 03:01 AM Kevin Woo

Added toolbox schematic and board. First revision

131 04/24/2009 12:02 AM Brad Neuman

ooops

130 04/24/2009 12:01 AM Brad Neuman

added multiple tool numbers per tool name
i.e. there are two bandsaws but one item called "Bandsaw" in the db

129 04/23/2009 11:59 PM Kevin Woo

Added ac line detection and won't kill power to the tool if it is on.

Considered feature complete.

128 04/23/2009 11:44 PM Brad Neuman

added a silly thread and fancy compilicated crap that allows us to ignore input to stdin between swipes

127 04/23/2009 11:44 PM Brad Neuman

added a silly thread and fancy compilicated crap that allows us to ignore input to stdin between swipes

126 04/23/2009 09:47 PM Brad Neuman

oops, flush is undefined on stdin, so now using read instead.
rookie mistake

125 04/23/2009 09:32 PM Brad Neuman

hopefully fixes the multi-swipe bug

124 04/17/2009 04:13 PM Brad Neuman

bugfix

123 04/16/2009 01:43 PM Kevin Woo

Added timeouts and blinking, state machine implemented. Works with the server.

122 04/15/2009 11:55 PM Brad Neuman

bugfix

121 04/15/2009 10:53 PM Brad Neuman

added a function which parses the ack

120 04/15/2009 10:25 PM Brad Neuman

sending and recving over bus works!!
need to parse for ACKs

119 04/15/2009 08:25 PM Brad Neuman

added query stuff to dustmite.py. should be working but hasn't been tested with the keypad

118 04/14/2009 05:47 PM Kevin Woo

Moved relay pin. Can trigger the transistor correctly.

117 04/14/2009 04:56 PM Kevin Woo

Removed debug leds in the uart module. Can turn relay on and off now.

116 04/14/2009 04:33 PM Kevin Woo

Finished state machine with timeout/warn state. Need to build timer still.

115 04/14/2009 03:52 PM Kevin Woo

Added button checking.

114 04/13/2009 06:35 PM Kevin Woo

Added packet parsing, seems to work. Lights can also be controlled as well.

113 04/10/2009 08:29 PM Brad Neuman

added lookup code to query so it returns tool id #s

112 04/09/2009 06:50 PM Kevin Woo

Moved the new toolbox to the toolbox folder for naming.

111 04/09/2009 06:49 PM Kevin Woo

Removed the old toolbox code