Uploaded image for project: 'CIFX Toolkit'
  1. CIFX Toolkit
  2. NXDRVTKIT-158

File upload does not work correctly with empty files (file size = 0)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V1.5.0.0, V1.6.0.0, V2.0.1.0, V2.1.0.0, V2.2.0.0, V2.3.0.0, V2.4.0.0, V2.5.0.0, V2.5.1.0, V2.6.0.0, V2.7.0.0, V2.7.1.0, V2.7.2.0, V2.7.3.0
    • Fix Version/s: V2.8.0.0
    • Component/s: cifX/netX Toolkit
    • Labels:
      None
    • Sprint:
      SPCIOL IT3.1
    • Account:
      SDO Driver (SDODRIVER)

      Description

      The file upload is started but only executes a HIL_FILE_UPLOAD_REQ request. A HIL_FILE_UPLOAD_DATA_REQ is not executed because the received file length is checked and if it is 0, the
      HIL_FILE_UPLOAD_DATA_REQ  is skipped.
      This leaves the Firmware / Middleware upload function in an active state.
      All further File-related requests will return ERR_HIL_RESOURCE_IN_USE (0xC0001002) until an HIL_FILE_UPLOAD_ABORT_REQ is sent to the Middleware.

      Note:
      Using the cifX toolkit functions xSysdeviceUpload() / xChannelUpload(), each 2nd call to the functions will return with the error ERR_HIL_RESOURCE_IN_USE but than, an internal
      HIL_FILE_UPLOAD_ABORT_REQ is also send to the device and the next file related command will work again (see code for DEV_UploadFile() in cifXDownload.c).

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    AMinor Alexander Minor
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: