Skip to main content

vFlashLoadProject

Valid for: CANoe DE Note: This function replaces the function vFlashLoad. With the following function(s) a CAPL program can use vFlash to program an ECU. vFlash has to be installed on the system running the RT kernel. See also: vFlash Automation (Sample Configuration).

Function Syntax

void vFlashLoadProject(char projectPath[]);

Description

Loads the provided vFlash project stored under given path. A call to CAPL callback function vFlashLoadProjectCompleted will indicate that the project was loaded. Further API calls are only allowed after callback was called! Note: This event-driven API is only needed outside of test modules or test units.

Parameters

  • projectPath: Path to the flash project file.

Return Values

Example

//...
vFlashLoadProject("Firmware1.vflashpack");
}

void vFlashLoadProjectCompleted(long statusCode)
{
  write("Loading of project completed with status %d", statusCode);
}