Index: firmware/App/DDCommon.h =================================================================== diff -u -r65aab053022c1cab102e503012833f4879501fd1 -r299ad7907c4edc6d128e7681573b72f065b8d21e --- firmware/App/DDCommon.h (.../DDCommon.h) (revision 65aab053022c1cab102e503012833f4879501fd1) +++ firmware/App/DDCommon.h (.../DDCommon.h) (revision 299ad7907c4edc6d128e7681573b72f065b8d21e) @@ -25,7 +25,7 @@ #define DD_VERSION_MAJOR 0 #define DD_VERSION_MINOR 0 #define DD_VERSION_MICRO 0 -#define DD_VERSION_BUILD 61 +#define DD_VERSION_BUILD 66 // ********** development build switches ********** Index: firmware/App/Services/FpgaDD.c =================================================================== diff -u -r10027b4839277984c029a6cb05b2b76e1432da52 -r299ad7907c4edc6d128e7681573b72f065b8d21e --- firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision 10027b4839277984c029a6cb05b2b76e1432da52) +++ firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision 299ad7907c4edc6d128e7681573b72f065b8d21e) @@ -9,7 +9,7 @@ * @file FpgaDD.c * * @author (last) Jashwant Gantyada -* @date (last) 12-Mar-2026 +* @date (last) 17-Mar-2026 * * @author (original) Vinayakam Mani * @date (original) 26-Aug-2024 @@ -212,8 +212,7 @@ U08 fpgaValveSpPWMStates; ///< Reg 599. Spare Valves PWM states U08 fpgaD11_D10_PumpFault; ///< Reg 600. Concentrate pump fault register for D11_Pump and D10_Pump U08 fpgaRTDCountErrorCycles; ///< Reg 601. Count of each incomplete seq of reads from RTD ADC. - U16 fpga_UnUsed_4; ///< Reg 602. Not Used - U16 fpga_UnUsed_5; ///< Reg 604. Not Used + U32 fpgaD10PumpStepCountStatus; ///< Reg 602. Bicarb concentrate pump revolution down count status U32 fpgaD78Temp; ///< Reg 606. Outlet heat exchanger temperature U32 fpgaD1Temp; ///< Reg 610. Inlet heat exchanger temperature U32 fpgaD4Temp; ///< Reg 614. Hydraulics primary heater temperature @@ -229,16 +228,14 @@ U08 fpgaD48HallStatus; ///< Reg 635. Spent dialysate pump hall sensor direction status U08 fpgaD6FloaterStatus; ///< Reg 636. Floater 1 level sensor status U08 fpgaFloater2Status; ///< Reg 637. Floater 2 level sensor status - U16 fpgaD11PumpStepCountStatus; ///< Reg 638. Acid concentrate pump revolution down count status - U16 fpgaD10PumpStepCountStatus; ///< Reg 640. Bicarb concentrate pump revolution down count status + U32 fpgaD11PumpStepCountStatus; ///< Reg 638. Acid concentrate pump revolution down count status U16 fpgaAdcTemp; ///< Reg 642. TBD U16 fpgaAdcVccInt; ///< Reg 644. TBD U16 fpgaAdcVccAux; ///< Reg 646. TBD U16 fpgaAdcVpVn; ///< Reg 648. TBD U16 fpgaD12PumpSpeedFeedback; ///< Reg 650. D12 Pump speed feedback U16 fpgaD48PumpSpeedFeedback; ///< Reg 652. D48 Pump Speed feedback - U16 fpga_UnUsed_6; ///< Reg 654. Not used - U16 fpgaD76PumpStepCountStatus; ///< Reg 656. UF pump revolution down count status + U32 fpgaD76PumpStepCountStatus; ///< Reg 654. UF pump revolution down count status U08 fpgaD76PumpFault; ///< Reg 658: UF pump fault U08 fpga_UnUsed_3; ///< Reg 659: Not used @@ -320,8 +317,7 @@ U16 fpgaD18PresTemp; ///< Reg 534. D18 MPM pressure sensor RAW temperature data U16 fpgaD41PresPressure; ///< Reg 536. D41 MPM pressure sensor RAW pressure data U16 fpgaD41PresTemp; ///< Reg 538. D41 MPM pressure sensor RAW temperature data - U16 fpgaAvailableRegister1; ///< Reg 540. Available register 1 - U16 fpgaAvailableRegister2; ///< Reg 542. Available register 2 + U32 fpgaAvailableRegister1; ///< Reg 540. Available register 1 U08 fpgaHallSensInputs; ///< Reg 544. Hall sensor Inputs U08 fpgaD42TxFIFOCnt; ///< Reg 545. Blood leak sensor transmit FIFO count U16 fpgaD42RxErrorCnt; ///< Reg 546. Blood leak sensor Receive error count @@ -336,8 +332,7 @@ U08 fpgaValveSpPWMStates; ///< Reg 559. Spare Valves PWM states U08 fpgaD11_D10_PumpFault; ///< Reg 560. Concentrate pump fault register for D11_Pump and D10_Pump U08 fpgaRTDCountErrorCycles; ///< Reg 561. Count of each incomplete seq of reads from RTD ADC. - U16 fpgaAvailableRegister3; ///< Reg 562. Available register 3 - U16 fpgaAvailableRegister4; ///< Reg 564. Available register 4 + U32 fpgaD10PumpStepCountStatus; ///< Reg 562. Bicarb concentrate pump revolution down count status U32 fpgaD78Temp; ///< Reg 566. Outlet heat exchanger temperature U32 fpgaD1Temp; ///< Reg 570. Inlet heat exchanger temperature U32 fpgaD4Temp; ///< Reg 574. Hydraulics primary heater temperature @@ -354,16 +349,14 @@ U08 fpgaD48HallStatus; ///< Reg 595. Spent dialysate pump hall sensor direction status U08 fpgaD6FloaterStatus; ///< Reg 596. Floater 1 level sensor status U08 fpgaConductiveLevelStatus; ///< Reg 597. Conductive level sensor status - U16 fpgaD11PumpStepCountStatus; ///< Reg 598. Acid concentrate pump revolution down count status - U16 fpgaD10PumpStepCountStatus; ///< Reg 600. Bicarb concentrate pump revolution down count status + U32 fpgaD11PumpStepCountStatus; ///< Reg 598. Acid concentrate pump revolution down count status U16 fpgaAdcTemp; ///< Reg 602. TBD U16 fpgaAdcVccInt; ///< Reg 604. TBD U16 fpgaAdcVccAux; ///< Reg 606. TBD U16 fpgaAdcVpVn; ///< Reg 608. TBD U16 fpgaD12PumpSpeedFeedback; ///< Reg 610. D12 Pump speed feedback U16 fpgaD48PumpSpeedFeedback; ///< Reg 612. D48 Pump Speed feedback - U16 fpgaAvailableRegister5; ///< Reg 614. Available register 5 - U16 fpgaD76PumpStepCountStatus; ///< Reg 616. UF pump revolution down count status + U32 fpgaD76PumpStepCountStatus; ///< Reg 614. UF pump revolution down count status U08 fpgaD76PumpFault; ///< Reg 618: UF pump fault U08 fpgaHallSensorStatus; ///< Reg 619: HDF Hall sensor status @@ -489,10 +482,9 @@ U08 fpgaD12PumpControl; ///< Reg 36. DGP Control U08 fpgaD48PumpControl; ///< Reg 37. SDP Control U16 fpgaD48PumpSpeed; ///< Reg 38. SDP Speed/RPM Control - U16 fpgaNotUsed_1; ///< Reg 40. Not used - U08 fpgaD11PumpControl; ///< Reg 42. Acid Concentrate Pump Control - U08 fpgaD10PumpControl; ///< Reg 43. BiCarb Concentrate Pump Control - U16 fpgaNotUsed_2; ///< Reg 44. Not used + U32 fpgaD10PumpRevCount; ///< Reg 40. Bicarb Concentrate pump revolution count + U08 fpgaD11PumpControl; ///< Reg 44. Acid Concentrate Pump Control + U08 fpgaD10PumpControl; ///< Reg 45. BiCarb Concentrate Pump Control U08 fpgaD42SensorTest; ///< Reg 46. Blood leak sensor test U08 fpgaD42UARTControl; ///< Reg 47. Blood leak sensor UART control U08 fpgaD42FIFOTx; ///< Reg 48. Blood leak sensor FIFO transmit control @@ -505,14 +497,12 @@ U16 fpgaVSPPWMLow; ///< Reg 58. VSP PWM low ( Spare valves ) U16 fpgaVSPPWMPeriod; ///< Reg 60. VSP PWM period U16 fpgaVSPPWMPullIn; ///< Reg 62. VSP PWM pull in - U16 fpgaD11PumpRevCount; ///< Reg 64. Acid Concentrate pump revolution count - U16 fpgaD10PumpRevCount; ///< Reg 66. Bicarb Concentrate pump revolution count + U32 fpgaD11PumpRevCount; ///< Reg 64. Acid Concentrate pump revolution count U08 fpgaADCControl; ///< Reg 68. FPGA internal ADC Control register for debugging U08 fpgaGPIOControl; ///< Reg 69. FPGA GPIO control interface U16 fpgaACRelayPWMLow; ///< Reg 70. Length of time in 10us resoultion that PWM output stays low. U16 fpgaACRelayPWMPeriod; ///< Reg 72. PWM period for AC relay/heater. - U16 fpgaNotUsed_3; ///< Reg 74. Not Used - U16 fpgaD76PumpRevCount; ///< Reg 76. UF pump revolution count + U32 fpgaD76PumpRevCount; ///< Reg 74. UF pump revolution count U08 fpgaD76PumpControl; ///< Reg 78. UF Pump Control U08 notused; ///< Reg 79. Not used @@ -567,15 +557,14 @@ U32 fpgaConSensD17D74_Data_In; ///< Reg 22. D17,D74 Initialization data register U16 fpgaConSensD27D29_Addrs; ///< Reg 26. D27,D29 Initialization Address register U32 fpgaConSensD27D29_Data_In; ///< Reg 28. D27,D29 Initialization data register - U16 fpgaRemoteUpdate_Write; ///< Reg 32.Register for Remote update used by SW. + U16 fpgaRemoteUpdate_Write; ///< Reg 32. Register for Remote update used by SW. U16 fpgaD12PumpSpeed; ///< Reg 34. D48 Speed/RPM Control U08 fpgaD12PumpControl; ///< Reg 36. DGP Control U08 fpgaD48PumpControl; ///< Reg 37. SDP Control U16 fpgaD48PumpSpeed; ///< Reg 38. SDP Speed/RPM Control - U16 unusedRegister; ///< Reg 40. Unused register - U08 fpgaD11PumpControl; ///< Reg 42. Acid Concentrate Pump Control - U08 fpgaD10PumpControl; ///< Reg 43. BiCarb Concentrate Pump Control - U16 unusedRegister1; ///< Reg 44. Unused register1 + U32 fpgaD10PumpRevCount; ///< Reg 40. Bicarb Concentrate pump revolution count + U08 fpgaD11PumpControl; ///< Reg 44. Acid Concentrate Pump Control + U08 fpgaD10PumpControl; ///< Reg 45. BiCarb Concentrate Pump Control U08 fpgaD42SensorTest; ///< Reg 46. Blood leak sensor test U08 fpgaD42UARTControl; ///< Reg 47. Blood leak sensor UART control U08 fpgaD42FIFOTx; ///< Reg 48. Blood leak sensor FIFO transmit control @@ -588,14 +577,12 @@ U16 fpgaVSPPWMLow; ///< Reg 58. VSP PWM low ( Spare valves ) U16 fpgaVSPPWMPeriod; ///< Reg 60. VSP PWM period U16 fpgaVSPPWMPullIn; ///< Reg 62. VSP PWM pull in - U16 fpgaD11PumpRevCount; ///< Reg 64. Acid Concentrate pump revolution count - U16 fpgaD10PumpRevCount; ///< Reg 66. Bicarb Concentrate pump revolution count + U32 fpgaD11PumpRevCount; ///< Reg 64. Acid Concentrate pump revolution count U08 fpgaADCControl; ///< Reg 68. FPGA internal ADC Control register for debugging U08 fpgaGPIOControl; ///< Reg 69. FPGA GPIO control interface U16 fpgaACRelayPWMLow; ///< Reg 70. Length of time in 10us resoultion that PWM output stays low. U16 fpgaACRelayPWMPeriod; ///< Reg 72. PWM period for AC relay/heater. - U16 unusedRegister2; ///< Reg 74. Unsed register2 - U16 fpgaD76PumpRevCount; ///< Reg 76. UF pump revolution count + U32 fpgaD76PumpRevCount; ///< Reg 74. UF pump revolution count U08 fpgaD76PumpControl; ///< Reg 78. UF Pump Control U08 notused; ///< Reg 79. Not used @@ -1350,7 +1337,7 @@ * @param count the number of revolution to be rotated for the pump. * @return none *************************************************************************/ -void setFPGAD11PumpRevolutionCount( U16 count ) +void setFPGAD11PumpRevolutionCount( U32 count ) { SET_FPGA_ACTUATOR_FIELD( fpgaD11PumpRevCount, count ); } @@ -1364,7 +1351,7 @@ * @param count the number of revolution to be rotated for the pump. * @return none *************************************************************************/ -void setFPGAD10PumpRevolutionCount( U16 count ) +void setFPGAD10PumpRevolutionCount( U32 count ) { SET_FPGA_ACTUATOR_FIELD( fpgaD10PumpRevCount, count ); } @@ -1378,7 +1365,7 @@ * @param count the number of revolution to be rotated for the pump. * @return none *************************************************************************/ -void setFPGAD76PumpRevolutionCount( U16 count ) +void setFPGAD76PumpRevolutionCount( U32 count ) { SET_FPGA_ACTUATOR_FIELD( fpgaD76PumpRevCount, count ); } @@ -2958,7 +2945,7 @@ * @details \b Outputs: none * @return the current revolution of the acid concentrate pump *************************************************************************/ -U16 getFPGAD11PumpRevolutionCountStatus( void ) +U32 getFPGAD11PumpRevolutionCountStatus( void ) { return GET_FPGA_SENSOR_FIELD( fpgaD11PumpStepCountStatus ); } @@ -2971,7 +2958,7 @@ * @details \b Outputs: none * @return the current revolution of the bicarb concentrate pump *************************************************************************/ -U16 getFPGAD10PumpRevolutionCountStatus( void ) +U32 getFPGAD10PumpRevolutionCountStatus( void ) { return GET_FPGA_SENSOR_FIELD( fpgaD10PumpStepCountStatus ); } @@ -2984,7 +2971,7 @@ * @details \b Outputs: none * @return the current revolution of the UF pump *************************************************************************/ -U16 getFPGAD76PumpRevolutionCountStatus( void ) +U32 getFPGAD76PumpRevolutionCountStatus( void ) { return GET_FPGA_SENSOR_FIELD( fpgaD76PumpStepCountStatus ); } Index: firmware/App/Services/FpgaDD.h =================================================================== diff -u -r10027b4839277984c029a6cb05b2b76e1432da52 -r299ad7907c4edc6d128e7681573b72f065b8d21e --- firmware/App/Services/FpgaDD.h (.../FpgaDD.h) (revision 10027b4839277984c029a6cb05b2b76e1432da52) +++ firmware/App/Services/FpgaDD.h (.../FpgaDD.h) (revision 299ad7907c4edc6d128e7681573b72f065b8d21e) @@ -7,8 +7,8 @@ * * @file FpgaDD.h * -* @author (last) Raghu Kallala -* @date (last) 23-Feb-2026 +* @author (last) Jashwant Gantyada +* @date (last) 16-Mar-2026 * * @author (original) Vinayakam Mani * @date (original) 26-Aug-2024 @@ -137,9 +137,9 @@ void setFPGAD11PumpParkCmd( void ); void setFPGAD10PumpParkCmd( void ); void setFPGAD76PumpParkCmd( void ); -void setFPGAD11PumpRevolutionCount( U16 count ); -void setFPGAD10PumpRevolutionCount( U16 count ); -void setFPGAD76PumpRevolutionCount( U16 count ); +void setFPGAD11PumpRevolutionCount( U32 count ); +void setFPGAD10PumpRevolutionCount( U32 count ); +void setFPGAD76PumpRevolutionCount( U32 count ); U08 getFPGAD11PumpControlStatus( void ); U08 getFPGAD10PumpControlStatus( void ); @@ -155,9 +155,9 @@ U32 getFPGAD11PumpHallSensePulseWidth( void ); U32 getFPGAD10PumpHallSensePulseWidth( void ); U32 getFPGAD76PumpHallSensePulseWidth( void ); -U16 getFPGAD11PumpRevolutionCountStatus( void ); -U16 getFPGAD10PumpRevolutionCountStatus( void ); -U16 getFPGAD76PumpRevolutionCountStatus( void ); +U32 getFPGAD11PumpRevolutionCountStatus( void ); +U32 getFPGAD10PumpRevolutionCountStatus( void ); +U32 getFPGAD76PumpRevolutionCountStatus( void ); void setFPGAD48PumpSpeed( U16 speed ); void setFPGAD12PumpSpeed( U16 speed ); Index: firmware/App/Services/Messaging.c =================================================================== diff -u -r53eaeea39c88b1894a6b2d7b5c2733fbf037e0da -r299ad7907c4edc6d128e7681573b72f065b8d21e --- firmware/App/Services/Messaging.c (.../Messaging.c) (revision 53eaeea39c88b1894a6b2d7b5c2733fbf037e0da) +++ firmware/App/Services/Messaging.c (.../Messaging.c) (revision 299ad7907c4edc6d128e7681573b72f065b8d21e) @@ -7,8 +7,8 @@ * * @file Messaging.c * -* @author (last) Sameer Kalliadan Poyil -* @date (last) 06-Mar-2026 +* @author (last) Raghu Kallala +* @date (last) 06-Apr-2026 * * @author (original) Vinayakam Mani * @date (original) 07-Aug-2024 @@ -277,6 +277,8 @@ { MSG_ID_FP_DEF_PRE_GEN_PUBLISH_INTERVAL_OVERRIDE_REQUEST, &testPreGenPermeateDefDataPublishIntervalOverride}, { MSG_ID_FP_DEF_GEN_PUBLISH_INTERVAL_OVERRIDE_REQUEST, &testGenPermeateDefDataPublishIntervalOverride}, { MSG_ID_FP_DEF_STATUS_REQUEST, &testGetFPDefeaturedStatus }, + { MSG_ID_FP_SET_OPERATION_SUB_MODE_REQUEST, &testSetFPOperationSubMode }, + { MSG_ID_FP_BOOST_PUMP_INSTALL_STATUS_REQUEST, &testGetFPBoostPumpInstallStatus }, }; /// Calculation for number of entries in the incoming message function handler look-up table. @@ -569,7 +571,7 @@ * @param alarm ID of alarm triggered * @param almData1 1st data associated with alarm * @param almData2 2nd data associated with alarm - * @return TRUE if msg successfully queued for transmit, FALSE if not + * @return TRUE if msg successfully queued for transmit, FALSE if not. *************************************************************************/ BOOL broadcastAlarmTriggered( U32 alarm, ALARM_DATA_T almData1, ALARM_DATA_T almData2, ALARM_SOURCE_T almSource ) {