Project

General

Profile

Statistics
| Revision:

root / trunk @ 298

# Date Author Comment
298 05/11/2010 08:17 PM Brad Neuman

fixed payment bug

297 05/11/2010 08:11 PM Brad Neuman

fixed payment date bug (possibly)

296 05/11/2010 07:30 PM Red Robot

added hack for running screen as a daemon, still need to handle logging and get rid of multi-user screen

295 05/11/2010 06:28 PM Red Robot

adding install and daemon stuff

294 05/11/2010 05:09 PM Red Robot

updated to use TT_GRANT instead of deprecated TT_ON, and also updated test/main.c to use majority and call parse_packet

293 05/11/2010 03:23 PM Brad Neuman

fixed bootloader

292 05/11/2010 03:20 PM Kevin Woo

Added majority for the toolbox

291 05/11/2010 02:29 PM Brad Neuman

one bugfix to payment date thing and made the test program that sets eeprom call parse_packet

290 05/11/2010 02:24 PM Kevin Woo

New eeprom defines

289 05/11/2010 03:13 AM Kevin Woo

Fixed bad read light flashing tie for cardreader

288 05/11/2010 03:13 AM Kevin Woo

Majority functions for bootloader

287 05/11/2010 03:12 AM Kevin Woo

Bootloader changes for majority and optimized rs485 sending

286 05/10/2010 06:35 PM Brad Neuman

longer timeout

285 05/10/2010 06:33 PM Kevin Woo

Fixes to cardbox not receiving

284 05/10/2010 06:22 PM Brad Neuman

added password file and pingTest

283 05/10/2010 05:40 PM Brad Neuman

massive updates for new cardbox transaction system

282 05/10/2010 04:09 PM Brad Neuman

new network packet definitions

281 05/10/2010 03:59 PM Kevin Woo

Undid rs485 hacks for the cardbox

280 05/10/2010 03:58 PM Kevin Woo

Cardswipe error now blinks

279 05/10/2010 03:48 PM Kevin Woo

Cardreader code cleanup

278 05/10/2010 03:46 PM Kevin Woo

Renamed main.c to cardbox.c

277 05/10/2010 03:45 PM Kevin Woo

New buffer size, prevents buffer overflows in cardreader

276 05/09/2010 04:16 PM Kevin Woo

Optimizations to the card reader

275 05/09/2010 04:08 PM Kevin Woo

Code cleanup for cardreader

274 05/09/2010 03:51 PM Kevin Woo

Pass information back and forth between read_card

273 05/09/2010 03:50 PM Kevin Woo

Pass information back and forth between read_card

272 05/09/2010 03:36 PM Kevin Woo

Actual return codes, prevents over runs of the cr_buf when looking for start sentinal

271 05/09/2010 03:32 PM Kevin Woo

Basic return values for parse_card

270 05/09/2010 03:29 PM Kevin Woo

Code cleanup on the cardreader stuff

269 05/09/2010 02:47 PM Kevin Woo

Parity check implemented

268 05/09/2010 02:36 PM Kevin Woo

Can read track 1 with no parity checking

267 05/08/2010 06:34 PM Kevin Woo

Reads track 2, messes up on track 1

266 05/08/2010 02:05 AM Kevin Woo

Changed cardbox schematic to match the current hacks on the board

265 05/07/2010 08:06 PM Brad Neuman

added payment checking, needs to be tested in the real system

264 04/09/2010 09:15 PM Brad Neuman

fixed funny server bug

263 04/09/2010 09:13 PM Brad Neuman

argh, something strange is going on. added more printouts

262 04/09/2010 09:10 PM Brad Neuman

added debugging printouts

261 04/09/2010 09:05 PM Brad Neuman

updated tooltron server to hande being offset from cardbox (implicit ACKS) and ot handle ctrl-c presses

260 04/04/2010 01:37 PM Kevin Woo

Added script to read fuses out of the cardbox

259 04/02/2010 05:25 PM Brad Neuman

wow im a moron, uncommented the cirtical section of code in tooltron.py

258 04/02/2010 12:26 PM Brad Neuman

fixed bug with retries in server and made mysql reconnect each swipe

257 03/27/2010 03:16 PM Brad Neuman

huge delay to keep the ftdi chip happy

256 03/27/2010 03:06 PM Brad Neuman

added delay between messages on the bus

255 03/27/2010 02:37 PM Kevin Woo

Updated a define in tooltron.h

254 03/26/2010 05:04 PM Brad Neuman

added some logging output

253 03/25/2010 07:23 PM Kevin Woo

Fixed cardbox state machine to handle retries and more acks to the server. Fixed cardbox timer to be accurate

252 03/25/2010 05:57 PM Brad Neuman

made tooltron server ignore card swipes during a transaction

251 03/25/2010 05:51 PM Brad Neuman

added NACK if there is a double-swipe

250 03/25/2010 05:28 PM Brad Neuman

ok, cardbox can't count time, making timeout higher again

249 03/25/2010 05:26 PM Brad Neuman

increased timeout

248 03/25/2010 05:24 PM Brad Neuman

fixed readcard timeout

247 03/25/2010 05:21 PM Brad Neuman

manualtron now sends acks to cardbox

246 03/25/2010 05:20 PM Brad Neuman

updated manualtron to deal with new key code

245 03/25/2010 05:15 PM Brad Neuman

sign error

244 03/25/2010 05:14 PM Brad Neuman

added time to common.py

243 03/25/2010 05:00 PM Brad Neuman

updated server to deal with new cardbox code

242 03/25/2010 09:46 AM Brad Neuman

fixed a bug with timeouts.
Looks like timeouts might not be handled in all cases

241 03/24/2010 05:18 PM Brad Neuman

fixed log message

240 03/24/2010 12:10 PM Brad Neuman

set to use /var/log/tooltron as log file

239 03/23/2010 08:20 PM Brad Neuman

removed extra error state for timeouts so we don't get so much error spam

238 03/23/2010 07:20 PM Brad Neuman

silly me

237 03/23/2010 07:18 PM Brad Neuman

typo, damn python

236 03/23/2010 07:16 PM Brad Neuman

forgot common.py

235 03/23/2010 07:14 PM Brad Neuman

added handling for timeouts in readKey

234 03/23/2010 06:59 PM Brad Neuman

fixed keypad timeout

233 03/23/2010 06:43 PM Brad Neuman

oops

232 03/23/2010 06:42 PM Brad Neuman

fixed timeout bug in tooltron server

231 03/23/2010 05:27 PM Brad Neuman

fixed idiot mode exploit, needs testing

230 03/16/2010 03:46 PM Brad Neuman

added smarter (and more hacky) excpetion handling to tooltron.py

229 03/05/2010 12:54 AM Brad Neuman

oops

228 03/05/2010 12:51 AM Brad Neuman

fixed TRUE / FALSE bug

227 03/05/2010 12:24 AM Brad Neuman

added software debounce for toolboxes

226 03/04/2010 11:49 PM Brad Neuman

added more printouts to netprog

225 03/04/2010 08:20 PM Brad Neuman

fixed netprog reflection issues

224 03/04/2010 07:59 PM Brad Neuman

fixed reflection handling in the server

223 03/04/2010 07:58 PM Kevin Woo

Added a delay between receiving a packet and responding

222 03/04/2010 06:48 PM Brad Neuman

code reafactoring for server and manualtron

221 03/04/2010 05:48 PM Brad Neuman

merged in manualtron fixes

220 03/04/2010 12:04 AM Kevin Woo

Fixed bug in packet where crc was not initialized, fixed keypad code. Apparently only aaronjohs code will ever work

219 03/03/2010 10:24 PM Brad Neuman

some fixed to manualtron, NEED TO PORT TO TOOLTRON

218 03/03/2010 08:39 PM Brad Neuman

changed messages to have payload length. Also created manualTron

217 03/03/2010 07:52 PM Kevin Woo

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

216 03/03/2010 03:32 PM Kevin Woo

Changed the keypad handler to be more simple in terms of code size

215 03/03/2010 03:03 PM Kevin Woo

Merged tooltron.h

214 03/03/2010 02:46 PM Kevin Woo

Added TT_PING auto response to the packet handler code

213 03/01/2010 02:32 AM Brad Neuman

fixed cardbox code for new board, updated tooltron.py for new cardbox

212 02/28/2010 10:08 PM Kevin Woo

Scripts to program fuses automatically for the two boards

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