61 (
char*)myarg->
fwdnx.c_str(),
63 (
char*)myarg->
osdnx.c_str(),
66 (
char*)myarg->
usbsn.c_str()
70 printf(
"USBSN: %s -- Downloader thread failed %d Returned error code:%d -- %s\n", myarg->
usbsn.c_str(), ThreadId_, er.
error_code, er.
error_message);
72 printf(
"USBSN: %s -- Downloader thread succeed %d Returned error code:%d -- %s\n", myarg->
usbsn.c_str(), ThreadId_, er.
error_code, er.
error_message);
string fwimage
Definition: xfstk-dldr-example-parallel.h:39
string usbsn
Definition: xfstk-dldr-example-parallel.h:43
string fwdnx
Definition: xfstk-dldr-example-parallel.h:38
int failtargets
Definition: xfstk-dldr-example-parallel.cpp:45
virtual void setwipeifwi(bool enable)
Not a POR feature, only a testing/debug feature.
char error_message[128]
Definition: xfstkdldrapi.h:69
unsigned long error_code
Definition: xfstkdldrapi.h:68
string usbsn
Definition: xfstk-dldr-example-parallel.h:50
int donetargets
Definition: xfstk-dldr-example-parallel.cpp:44
string gpflags
Definition: xfstk-dldr-example-parallel.h:42
list< void * > list_running
Definition: xfstk-dldr-example-parallel.cpp:39
virtual bool registerstatuscallback(xfstkstatuspfn statuspfn, void *clientdata)
Registers a callback with the xfstk api in order to obtain download status information.
list< void * > list_done
Definition: xfstk-dldr-example-parallel.cpp:40
virtual bool downloadmtfwosasync(char *fwdnx, char *fwimage, char *osdnx, char *osimage, char *gpflags, char *usbsn)
Performs parallel multitarget firmware and operating system download in async mode, it will return after the download to the device is done.
Definition: xfstk-dldr-example-parallel.h:37
QMutex ghListMutex
Definition: xfstk-dldr-example-parallel.cpp:26
string osimage
Definition: xfstk-dldr-example-parallel.h:41
virtual void settargetretrycount(int retries)
Sets the number of retries to perform during faulty USB I/O.
void(* xfstkstatuspfn)(char *status, void *)
Represents an optional status callback function that can be provided to xfstk API to obtain status in...
Definition: xfstkdldrapi.h:113
This interface enables the development of Intel SoC firmware/operating system provisioning applicatio...
Definition: xfstkdldrapi.h:124
string osdnx
Definition: xfstk-dldr-example-parallel.h:40
The last error happened during download.
Definition: xfstkdldrapi.h:67
virtual bool getlasterror(LastError *er)
Get the Last error from XFSTK API version string.
virtual void setusbreadwritedelay(unsigned long delayms)
Set the delay time for before each USB bulk read/write in miliseconds.
xfstkstatuspfn statuscallback
Definition: xfstk-dldr-example-parallel.h:45
Definition: xfstk-dldr-example-parallel.h:48