/* Requests the target to erase the specified range of memory on the target. Note that the target automatically aligns this to the erasable memory block sizes. This typically results in more memory being erased than the range that was specified here. Refer to the target implementation for details.  */
LIBOPENBLT_EXPORT uint32_t BltSessionClearMemory(uint32_t address, uint32_t len)
/* Requests the target to erase the specified range of memory on the target. Note that the target automatically aligns this to the erasable memory block sizes. This typically results in more memory being erased than the range that was specified here. Refer to the target implementation for details.  */
LIBOPENBLT_EXPORT uint32_t BltSessionClearMemory(uint32_t address, uint32_t len)
{
  uint32_t result = BLT_RESULT_ERROR_GENERIC;
  assert(len > 0);
  if (len > 0) 
  {
    if (SessionClearMemory(address, len))
    {
      result = BLT_RESULT_OK;
    }
  }
  return result;
}