hdfirmware

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-431 Working on the RAM operations

Added RAM and variable transfer buffer functionalities. Added utilities functions to support these features

    • -169
    • +459
    /firmware/App/Controllers/RTC.c
Added bloodflow overrides for not yet implemented sensors. Condensed published alarms status message.

Increased delay between CAN bus recovery attempts. Added a little handling for UART frame/overrun errors. Updated UT. +review HD-DEN-759-1

Removed Vectorcast results. +review HD-DEN-759-1

    • -5314
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_ALARMLAMP_execution_results_report.html
    • -12108
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_ALARMMGMT_execution_results_report.html
    • -19216
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_BLOODFLOW_execution_results_report.html
    • -9196
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_BUTTONS_execution_results_report.html
    • -5106
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_COMMBUFFERS_execution_results_report.html
    • -3636
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_COMM_execution_results_report.html
    • -2074
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_CPLD_execution_results_report.html
    • -13552
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_FPGA_execution_results_report.html
    • -3450
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INTERRUPTS_execution_results_report.html
    • -1736
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_ALARMLAMP_execution_results_report.html
    • -1298
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_ALARMMGMT_execution_results_report.html
    • -1134
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_BLOODFLOW_execution_results_report.html
    • -2694
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_BUTTONS_execution_results_report.html
    • -1706
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_COMMBUFFERS_execution_results_report.html
    • -1442
    • +0
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_CPLD_execution_results_report.html
  1. … 49 more files in changeset.
Fixed code review issue. +review HD-DEN-759-1

Code review fix. Adding rounding to BloodFlow module. +review HD-DEN-759-1

    • -1040
    • +533
    /results/VectorCAST.log
    • -52
    • +53
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_ALARMLAMP_execution_results_report.html
    • -116
    • +117
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_ALARMMGMT_execution_results_report.html
    • -192
    • +193
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_BLOODFLOW_execution_results_report.html
    • -100
    • +101
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_BUTTONS_execution_results_report.html
    • -42
    • +43
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_COMMBUFFERS_execution_results_report.html
    • -48
    • +49
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_COMM_execution_results_report.html
    • -26
    • +27
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_CPLD_execution_results_report.html
    • -110
    • +111
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_FPGA_execution_results_report.html
    • -42
    • +43
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INTERRUPTS_execution_results_report.html
    • -14
    • +15
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_ALARMLAMP_execution_results_report.html
    • -10
    • +11
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_ALARMMGMT_execution_results_report.html
  1. … 53 more files in changeset.
Fixed white space between brackets throughout. Added some debug code to help troubleshoot comm issue. Updated power off messaging. +review HD-DEN-759-1

    • -14
    • +59
    /firmware/App/Controllers/Buttons.c
    • -20
    • +20
    /firmware/App/Drivers/InternalADC.c
    • -33
    • +41
    /firmware/App/Services/AlarmMgmt.c
    • -27
    • +27
    /firmware/App/Services/CommBuffers.c
    • -0
    • +51
    /firmware/App/Services/Interrupts.c
    • -16
    • +16
    /firmware/App/Services/MsgQueues.c
    • -17
    • +17
    /firmware/App/Services/SystemComm.c
  1. … 70 more files in changeset.
Added place holders for 2 sensors not yet ready for BloodFlow module. Refactored IT for CPLD and SafetyShutdown modules to move from target run to MinGW run tests. Updated UT for SystemComm and SystemCommMessages modules. +review HD-DEN-759-1

    • -26
    • +82
    /firmware/App/Controllers/BloodFlow.c
DEN-431 updated the epoch function

DEN-431: Added a wrapper to convert time to epoch. Added more states to RTCExec function

    • -98
    • +174
    /firmware/App/Controllers/RTC.c
DEN-431 Work in progress. Added the functions to convert data to BCD and/to decimal

    • -20
    • +175
    /firmware/App/Controllers/RTC.c
Ran the test suite. Added test suite results folder.

    • -0
    • +12306
    /results/VectorCAST.log
    • -0
    • +122
    /results/cppcheck.log
    • -0
    • +569
    /results/cppcheckError.log
    • -0
    • +5313
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_ALARMLAMP_execution_results_report.html
    • -0
    • +12107
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_ALARMMGMT_execution_results_report.html
    • -0
    • +16851
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_BLOODFLOW_execution_results_report.html
    • -0
    • +8833
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_BUTTONS_execution_results_report.html
    • -0
    • +5105
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_COMMBUFFERS_execution_results_report.html
    • -0
    • +3635
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_COMM_execution_results_report.html
    • -0
    • +2073
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_CPLD_execution_results_report.html
    • -0
    • +13551
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_FPGA_execution_results_report.html
    • -0
    • +3449
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INTERRUPTS_execution_results_report.html
    • -0
    • +1735
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_ALARMLAMP_execution_results_report.html
    • -0
    • +1297
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_ALARMMGMT_execution_results_report.html
    • -0
    • +1101
    /results/execution/VectorCAST_MinGW_C_LinuxTestSuite_INT_BLOODFLOW_execution_results_report.html
  1. … 48 more files in changeset.
Added UT for BloodFlow module. Updated other UT. Added IT for AlarmMgmt and BloodFlow modules. Updated other IT. +review HD-DEN-759-1

    • -66
    • +115
    /firmware/App/Controllers/BloodFlow.c
    • -31
    • +34
    /firmware/App/Services/AlarmMgmt.c
Started new UT for BloodFlow module. Finished UT for AlarmMgmt module. Fixed issues discovered during UT. +review HD-DEN-759-1

    • -3
    • +24
    /firmware/App/Controllers/BloodFlow.c
    • -21
    • +36
    /firmware/App/Services/AlarmMgmt.c
Code review fixes. +review HD-DEN-759-1

Addressed code review feedback. Fixed an intermittent CAN bug. Updated UT for Buttons, CPLD, and Interrupts modules. +review HD-DEN-759-1

    • -30
    • +38
    /firmware/App/Controllers/BloodFlow.c
    • -0
    • +2
    /firmware/App/Modes/ModePrescription.c
    • -15
    • +43
    /firmware/App/Services/SystemComm.c
Initial commit of the Real Time Clock code

    • -0
    • +232
    /firmware/App/Controllers/RTC.c
    • -0
    • +30
    /firmware/App/Controllers/RTC.h
Addressed some code review feedback. Added some checks to BloodFlow monitor function per requirements. +review HD-DEN-759-1

    • -1
    • +53
    /firmware/App/Controllers/BloodFlow.c
Added UT start for AlarmMgmt module. Finished implementing power off timeout. Added new check-in messages for DG and UI to let HD know it is still communicating. Added delay in bulk of HD powerup until UI starts communicating on CAN to prevent CAN bus error. Added PI control to flow for blood pump. +review HD-DEN-759-1

    • -13
    • +46
    /firmware/App/Controllers/BloodFlow.c
    • -1
    • +1
    /firmware/App/Modes/ModePrescription.c
    • -0
    • +95
    /firmware/App/Services/SystemComm.c
    • -17
    • +33
    /firmware/App/Tasks/TaskGeneral.c
    • -13
    • +21
    /firmware/App/Tasks/TaskPriority.c
Added blood pump control per flow. Added timeout to power off request. Added more interrupt handling. Added parity checking for CAN RAM. +review HD-DEN_759-1

    • -13
    • +39
    /firmware/App/Controllers/BloodFlow.c
    • -36
    • +56
    /firmware/App/Controllers/Buttons.c
    • -9
    • +92
    /firmware/App/Services/Interrupts.c
Added dialin override support for alarm status publication interval. Added publishing of alarm status every 500ms. Updated UT for SystemComm and SystemCommMessages modules. Started UT for AlarmMgmt module. Addressed code review feedback. +review HD-DEN-759-1

    • -20
    • +76
    /firmware/App/Services/AlarmMgmt.c
Misc fixes to BloodFlow and AlarmMgmt modules. Scaled BloodFlow analogs. Changed cargo to payload throughout code. Updates to existing UT. +review HD-DEN-759-1

    • -30
    • +57
    /firmware/App/Controllers/BloodFlow.c
    • -52
    • +54
    /firmware/App/Services/AlarmMgmt.c
    • -12
    • +12
    /firmware/App/Services/SystemComm.c
Added override command for blood flow data publication interval. Prevent alarm trigger/clear event publication if alarm is already triggered/cleared. Clear pending stop button if t/o alarm occurs to prevent perpetual alarm triggering. +review HD-DEN-759-1

Updated UT for AlarmLamp, Comm, CPLD, and SafetyShutdown modules. +review HD-DEN-759-1

Added messaging for AlarmMgmt and Bloodflow modules. +review HD-DEN-759-1

    • -15
    • +90
    /firmware/App/Controllers/BloodFlow.c
    • -3
    • +12
    /firmware/App/Controllers/Buttons.c
    • -12
    • +58
    /firmware/App/Services/AlarmMgmt.c
    • -6
    • +12
    /firmware/App/Services/SystemComm.c
Minor fix to dialin support. +review HD-DEN-759-1

Addressed code review feedback. +review HD-DEN-759-1

Minor comments.

Replaced TODOs for triggering s/w faults with actual triggers of s/w faults. +review HD-DEN-759-1