Static class to provide access to the MityDSP CLUB Bootstrapper to load a new executable.
More...
#include <core/DspBootstrapper.h>
List of all members.
Static Public Member Functions |
static int | Reload (tcDspFlash *apFlash, void *apFwAddr, unsigned int anFwSize, void *apSwAddr, unsigned int anSwSize) |
| This routine is used to invoke the Bootstrapper to load the software and firmware specified.
|
static int | Reboot (tcDspFlash *apFlash) |
| This routine is used to invoke the Bootstrapper as if called at power up or reset.
|
Detailed Description
Static class to provide access to the MityDSP CLUB Bootstrapper to load a new executable.
- See also:
- tcDspBootstrapper Page
Member Function Documentation
int tcDspBootstrapper::Reload |
( |
tcDspFlash * |
apFlash, |
|
|
void * |
apFwOffset, |
|
|
unsigned int |
anFwSize, |
|
|
void * |
apSwOffset, |
|
|
unsigned int |
anSwSize |
|
) |
| |
|
static |
This routine is used to invoke the Bootstrapper to load the software and firmware specified.
- Parameters:
-
[in] | apFlash | Pointer to an instance of the tcDspFlash class. |
[in] | apFwOffset | The new firmware location (offset in FLASH). |
[in] | anFwSize | The new firmware size (in bytes). |
[in] | apSwOffset | The new software location (offset in FLASH). |
[in] | anSwSize | The new software size (in bytes). |
- Returns:
- -1 if a parameter is in error, does not return otherwise.
int tcDspBootstrapper::Reboot |
( |
tcDspFlash * |
apFlash | ) |
|
|
static |
This routine is used to invoke the Bootstrapper as if called at power up or reset.
- Parameters:
-
[in] | apFlash | Pointer to an instance of the tcDspFlash class. |
- Returns:
- -1 if a parameter is in error, does not return otherwise.