Transferring Files from Internal Memory to a USB Stick

Logs can be saved to a file on the PwrPak7 internal memory. After the logs have been collected and the log file closed, the logs can be retrieved by transferring the files from internal memory to a USB stick.

NovAtel recommends using a Micro A to USB stick adapter, such as Tensility 10-00649 or equivalent, to connect a USB stick to the PwrPak7 TRANSFER port.

To save to a file on internal memory, the internal memory must be selected as the file media using the FILEMEDIACONFIG command.

USB sticks used with the PwrPak7 must be formatted as FAT32.

If the USB stick is formatted incorrectly, or corrupted, the TRANSFER LED will flash red for three seconds and then stay solid red. To correct the issue, use a computer to reformat the USB stick as FAT32.

For more information about the USB sticks for the PwrPak7, refer to USB Devices Supported.

Before powering off the PwrPak7 or removing the USB stick from the PwrPak7, use the USBSTICKEJECT command to unmount the USB stick.

PwrPak7M variants do not support this feature.

Automatic File Transfer

When automatic file transfer is enabled, all of the files stored on the PwrPak7 internal memory are automatically transferred to a USB stick when the USB stick is inserted.

To enable automatic file transfer, enter one the following two commands.

FILEAUTOTRANSFER COPY

FILEAUTOTRANSFER MOVE

If FILEAUTOTRANSFER is set to COPY, the files are transferred into a folder on the USB stick named with the enclosure PSN (e.g. BMHR15470145U) and the files are retained on internal memory.

If FILEAUTOTRANSFER is set to MOVE, the files are transferred into a folder on the USB stick named with the enclosure PSN and the files are deleted from the internal memory if the transfer is successful.

Use the FILETRANSFERSTATUS log to monitor the progress of the file transfer. When the file transfer is complete, enter the USBSTICKEJECT command before removing the USB stick from the PwrPak7. The FILESYSTEMSTATUS log indicates the USBSTICK UNMOUNTED status when it is safe to physically remove the USB stick. This may take up to 10 seconds.

Removing the USB stick before it is unmounted may corrupt the data files.

To disable automatic file transfer, enter the following command.

FILEAUTOTRANSFER OFF

For more information, see the FILEAUTOTRANSFER command.

Manual File Transfer

Use a manual file transfer to move or copy a single file, or all of the files, from internal memory to a USB stick.

  1. Insert a USB stick into the PwrPak7 TRANSFER USB port.

  2. If moving or copying a single file, use the FILELIST command to get list of the files stored on internal memory. Note that the file media must be set to INTERNAL_FLASH (see the FILEMEDIACONFIG command) to view the files on internal memory.

  3. Enter one of the following commands to transfer the file or files.

    • To transfer all of the files from internal memory to the USB stick and leave the files on internal memory, enter:

      FILETRANSFER COPY ALL

    • To transfer all of the files from internal memory to the USB stick and delete the files from internal memory after the successful transfer, enter:

      FILETRANSFER MOVE ALL

    • To transfer a single file from internal memory to the USB stick and leave the file on internal memory, enter the following command. In the example below, BMHR16460033T_2017-3-16_21-18-48.log is the name of the file being copied.

      FILETRANSFER COPY BMHR16460033T_2017-3-16_21-18-48.log

    • To transfer a single file from internal memory to the USB stick and delete the file from internal memory, enter the following command. In the example below, BMHR16460033T_2017-3-16_21-18-48.log is the name of the file being moved.

      FILETRANSFER MOVE BMHR16460033T_2017-3-16_21-18-48.log

    For more information, see the FILETRANSFER command.

  4. Use the FILETRANSFERSTATUS log to monitor the progress of the file transfer.

  5. When the file transfer is complete, enter the USBSTICKEJECT command to unmount the USB stick.

  6. Use the FILESYSTEMSTATUS log to check for the USBSTICK UNMOUNTED status.

  7. When the USB stick is unmounted, remove it from the PwrPak7.

Cancel a File Transfer

To a cancel a file transfer, enter the following command.

FILETRANSFER CANCEL

This command will cancel an automatic (FILEAUTOTRANSFER) or a manual (FILETRANSFER) transfer.