×

Method and system of updating shared memory

  • US 8,539,472 B2
  • Filed: 06/09/2010
  • Issued: 09/17/2013
  • Est. Priority Date: 06/09/2010
  • Status: Active Grant
First Claim
Patent Images

1. For use with a battery monitoring system (BMS) having an application operable to measure current flow to a vehicle battery and a launcher operable to enable drivers utilized by the application, both of the launcher and the application implementing communication with a vehicle bus according to communication code written to a shared memory block, a method of updating communication code currently written to the shared memory block with new communication code, the method comprising:

  • writing the new communication code to an application memory block having application code used to operate the application, the application being inoperable while the new communication code is being written to the application memory block;

    executing communications based on the communication code previously written to the shared memory block while the new communication code is being written to the application memory block;

    copying the new communication code from the application memory block to the shared memory block, the communications with the vehicle bus supported by the communication code written to the shared memory block being inoperable while the new communication code is being written to the shared memory block;

    executing communications with the vehicle bus based on the new communication code written to the application memory block while the new communication code is being copied to the shared memory block, and thereafter, executing additional communications with the vehicle bus based on the new communication code written to the shared memory block;

    re-writing application code to the application memory block written over with the new communication code after completing the copying of the new communication code to the shared memory block, the application becoming operational after the application code is completely re-written to the application memory block;

    validating the new communication code written to the application memory block with a checksum operation prior to copying the new communication code to the shared memory block;

    preventing the new communication code from being copied to the shared memory block in response to the checksum operation failing to validate the new communication code; and

    re-executing writing the new communication code in response to the checksum operation failing to validate the new communication code.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×