> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionDiagvFlashUnloadProject

# vFlashUnloadProject

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

**Note**: This function replaces the function `vFlashUnload`. With the following function(s) a CAPL program can use [vFlash](../../../CANoeCANalyzer/VTPPlatformManager/CANoePlugIN/CANoePlugInvFlashCompact.md) to program an ECU. vFlash has to be installed on the system running the RT kernel. See also: [vFlash Automation (Sample Configuration)](../../../SampConf/Programming/CANoe/vFlashAutomation/vFLASHsampCN.md).

## Function Syntax

```plaintext theme={null}
void vFlashUnloadProject();
```

## Description

Unloads the current vFlash project. The CAPL callback `vFlashUnloadProjectCompleted` will be called when the unloading completed and further API calls are possible.

**Note**: This event-driven API is only needed outside of test modules or test units.

## Parameters

—

## Return Values

—

## Example

```plaintext theme={null}
// ...
vFlashUnloadProject();
}

void vFlashUnloadProjectCompleted(enum vFlashStatusCode statusCode)
{
  write("Unloading project completed, another project can be loaded.");
}
```

[vFlashLoadProject](CAPLfunctionDiagvFlashLoadProject.md)
