.

meiCanFirmwareUpload

Declaration

 
long meiCanFirmwareUpload(MEICan            can,
                          const  char*      filename,
                          MEICanCallback    callback);
  Required Header: stdmei.h
Change History: Modified in the 03.03.00

Description

meiCanFirmwareUpload allows the user to get a copy of the current CAN controller's firmware.

This operation will take some time (between 10 and 30 seconds) to perform the upload process. Therefore, the callback function is provided to allow the current status of the upload operation to be reported to the calling application and to also allow the calling application to abort the upgrade (if required). The callback function passes the progress of the upgrade process to the calling application. The calling applications normally returns 0 unless it wants to abort the upgrade. If the upgrade is aborted, it returns a 1.

 
can handle to the CAN object
filename the filename of the CAN controller firmware (*.out file).
callback a pointer to the call back function. (Pass an address of zero if you do not have a callback function.)
   
 
Return Values  
MPIMessageOK  

See Also

meiCanFirmwareErase | meiCanFirmwareDownload

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering