// LUIS Rev 6.21...11/24/2009 // 1. Fixed CAN global mask // LUIS Rev 6.20...11/24/2009 // 1. Fixed DLB scaling for Turbo speed & other freq. outputs (6/17/2008) // 2. Added J1939 single switch command for WKH testing (11/10/2009) // LUIS Rev 6.19...2/26/2008 //1. Swapped ACCEPTS serial command mapping on wavemaker channel 5 & 6 (now, F=chan 5, V = chan 6). // LUIS Rev 6.18...10/23/2007 // 1. Corrected change in 6.16 to allow DLB commands for child box channels // (left out 4 HV sidecar channels). This shifts DLB analog channel numbers // by +4 for child 1 and child 2; does not affect switch numbering. // 2. Limited DLB analog signal values to 1023 to prevent rollover when rx value of 1024 // 3. Corrected scaling of DLB analog command values (4x) for child boxes & sidecar // LUIS Rev 6.17...10/8/2007 // 1. Removed Configure_Wavemaker() call when first RS232 command is received // LUIS Rev 6.16...8/10/2007 // 1. Added child box channel commands to DLB command processing // 2. Added update of "switch_status" so that switch states don't change when receive // DLB serial command for first time. // LUIS Rev 6.15...4/30/2007 // 1. Added DLB command 'H' to change MAF sensor output freq. (chan 4) // 2. Added DLB command 'G' to change turbo speed (chan 3) // LUIS Rev 6.14...4/4/2007 // 1. Added DLB command 'C' to change waveform sync // 2. Changed AD value for ROM boot wavemaker determination from // 10000 cnts to 5000 cnts. Mux AD seems to run 1000-2300 cnts on LUIS. // Floating ad's read 14000 to 15000 cnts on tested sample. // LUIS Rev 6.13... // 1. Added capability to ROM boot all boxes & recognize if HW is wavemaker // LUIS Rev 6.12...2/15/2007 // 1. Added serial DLB command 'E' for waveform # change // LUIS Rev 6.11...12/21/2006 // 1. Added struct for self test results // LUIS Rev 6.10...12/19/2006 // 1. Moved power up msg out of CAN init routine // 2. Fixed sw rev value for msg 0x06 // LUIS Rev 6... 12/18/2006 // 1. Added lamp status & corrected status response msg // 2. Added calibration (cmd 0x07) options & response msg // 3. Added FIFO buffer for CAN messages // LUIS Rev 5... 11/1 - 11/28/2006 // 1. Added sidecar xmit msg for RS232 DLB commands > 32. // 2. Added self-cal proceedure w/o adc box // // LUIS Rev 4... 9/27 - 9/xx/2006 // 1. Added auto-calibrate feature // * Added in bean for using Data Flash in micro