THine Solutions THSCP101 Amplifier Software User Guide

June 12, 2024
THine Solutions

THine Solutions THSCP101 Amplifier Software

Product Information
The THSCP101 is a device that requires software installation and setup to function properly. It comes with a power supply included in the MediaTek Pumpkin i350 EVK. The device is compatible with both Windows and Linux operating systems.

Product Usage Instructions

Step 1: Install the software tools into PC

Visit the following link for instructions on how to install the software tools required for the THSCP101 on your PC:
Software Installation Guide

  1. Step 2: Prepare Linux Binary for Pumpkin i350 EVK

  2. Get the .tar.gz file of Linux binary for Pumpkin i350 from the following link: Linux Binary
    Download

  3. Decompress the file in Administrator mode

  4. Step 3: Hardware Setup for Pumpkin i350 EVK

Follow the steps below to set up the hardware:

  1. Connect the adapter board with the Pumpkin i350 EVK
  2. Connect the THSCG101 to the adapter card with FFC
  3. Connect your PC to the DEBUG port via USB Type-C cable
  4. Connect an HDMI display to the Micro-HDMI port using an HDMI cable
  5. Connect your PC to the DATA port via USB Type-C cable
  6. Connect the power outlet to the POWER port using the AC adapter
  7. Power on the Pumpkin i350 EVK

Step 4: Program Linux Binary to Pumpkin i350 EVK

Perform the following steps only for the first time:

  1. Launch Command Prompt on your Windows PC

  2. Change the working folder to where the i350-pumpkin file is located

  3. Enter the provided command to program the Linux binary to Pumpkin i350

  4. Wait for the MediaTek SoC matching USB device 0e8d:0003 to be shown in the prompt

  5. Press DOWN and then press the RST button on the Pumpkin i350 EVK. Release the RST and Down buttons

  6. Wait until the Command Prompt is ready for input

  7. If you encounter any issues, update the Android Bootloader Interface Driver from the following URL: [
    Driver Update Guide](https://mediatek.gitlab.io/aiot/doc/aiot-dev- guide/master/sw/yocto/getstarted/flash/flash-troubleshoot-windows.html

    missing-yocto-driver)

  8. Remove the USB cable from the DATA port

Step 5: Login Linux on Pumpkin i350 EVK

Follow the steps below to login to Linux on Pumpkin i350 EVK:

  1. Launch Device Manager on your PC
  2. Check the COM port number
  3. Launch Putty on your Windows PC
  4. Select “Serial” in the Category
  5. Fill in the connection settings as provided
  6. Press Enter key, and Putty will display a message
  7. Reboot the Pumpkin i350 EVK and login as root

Step 6: THSCP101 Firmware Update (optional)

If you want to update the THSCP101 firmware, follow the steps below:

  1. Check the current THSCP101 firmware version
  2. Identify the firmware version in the latest release pack by referring to the README.txt file in the decompressed Linux Binary.tar.gz file
  3. If the firmware version in your hardware is already the latest,you can skip to section 7

THine Solutions

  1. The Items You Need

    • MediaTek Pumkin i350 EVK
    • Power supply
    • 5.2V/2.5A with USB3 Type-C plug (%)
    • USB Type-C cables (2 pcs)
    • Display and HDMI cable
    • Display with HDMI port
    • HDMI cable
    • PC
    • Windows10
    • Linux binary of Pumkin 350 EVK for THSCP101
    • Request the Linux binary to THine Solutions. https://www.thinesolutions.com/support-request
    • THSCP101
    • Camera board (THSCG101)
    • FFC cable
    • Adapter card
  2. PC Setup
    Step 1 : Install the software tools into PC.

  3. Linux Binary Preparation for Pumpkin i350 EVK Step 1 : Get .tar.gz file of Linux binary for Pumpkin i350.
    Request the latest Linux binary to THine Solutions. https://www.thinesolutions.com/support-request

Step 2: Decompress as the Administrator mode

  * Decompress the THEIA-CAM_P101_i350 folder from .tar.gz file.
  * There is “i350-pumpkin” folder in the “THEIACAM_P101_i350”
  1. Pumpkin i350 EVK Hardware Setup (1/2)
  2. Connect the adapter board with the Pumpkin i350 EVK.
  3. Connect the THSCG101 to adapter card with FFC.
  * Remove the cover on the camera module.
3. Connect PC with “DEBUG” port via USB Type-C cable.
4. Connect HDMI display with “Micro-HDMI” via HDMI cable.
5. Connect PC with “DATA” port via USB Type-C cable.
6. Connect power outlet with “POWER” port AC adapter.  

Pumpkin i350 EVK power on.

  1. Program Linux Binary to Pumpkin i350 EVK (1/3)
    Perform only the first time.
    Step 1 : Launch Command Prompt of Windows.
    Step 2: Change the working folder to the folder where “i350-pumpkin” locates.
    Step 3: Enter the following command to program the Linux binary to Pumpkin i350.
    Step 4: Wait “Looking for MediaTek SoC matching USB device 0e8d:0003” is shown in the prompt.
    Step 5: Press “DOWN” then press “RST” button on the Pumpkin i350 EVK.
    Then release “RST” and “Down”button.
    Step 6: Wait until the Command Prompt is ready for input.
    Note
    Update the Android Bootloader Interface Driver from the following URL if you find that “aiot-flash” stops after you see “jumping to bootstrap” on the Command Prompt.
    <https://mediatek.gitlab.io/aiot/doc/aiot-dev- guide/master/sw/yocto/getstarted/flash/flash-troubleshoot-windows.html

    missing-yocto-driver>

    Step 7: Remove USB cable from “DATA” port.

  2. Login Linux on Pumpkin i350 EVK (1/3)
    Step 1 : Launch “device manager”

    • Type in “device manager” in Windows search bar.
      Step 2 : Check COM port number.

    • Scroll down in the device manager to “Ports (COM & LPT)” & verify the correct port.

    • There should be “USB Serial Port (COM)”.
      Step 3 : Launch “Putty” on your Windows PC,

    • You may need to install VCP driver.

    • http://www.ftdichip.com/Drivers/VCP.htm
      Step 4: Select “Serial” in the Category.
      Step 5: Fill in the connection settings as follows

    • COM might be different from the following figure,but should be the number checked in the Step 2.
      Step 6: Press enter key, then Putty displays the following message.
      Step 7: Login as “root“

    • Enter “root”, then press enter key.
      Step 8: Reboot the Pumpkin i350 EVK and login as root.

    • Enter “reboot”, then press enter key.

  3. THSCP101 Firmware Update (optional) (1/3)
    Step 1: Check THSCP101 firmware version.
    1-1) Identify the firmware version in the hardware.
    You can identify the THP7312-P firmware version in the THSCP101 hardware by the following command.

    • v4l2-ctl -d /dev/v4l-subdev1 –getctrl=thp7312_firmware_version thp7312_firmware_version: ‘THSCG101:THP7312 firmware version = xx.xx’‘
      1-2) Identify the firmware version in the latest release pack
      You can identify the THP7312-P firmware version of THSCP101 in the README.txt file that is in the pack of the decompressed THSCP101 Linux Binary .tar.gz file.
      1-3) Compare the firmware version
      You can go to section 7 if the firmware version in the hardware is the latest.
      Step 2: Shutdown and power off Pumpkin i350 EVK.
      Step 3: Change the DIP switch(S1) as follows.
      Step 4: Power on Pumpkin i350 EVK and login as root.

    • Push “PWR” button for several seconds.
      Step 5: Update THSCP101 firmware

    • v4l2-ctl -d /dev/v4l-subdev1 –setctrl=thp7312_firmware_update=1

    • Wait 35 seconds and enter “dmesg” to check if “Flash Memory:
      THP7312 Firmware update is completed” is shown. You can enter “dmesg” multiple times to check the update completion.
      Step 6: Shutdown and power off Pumpkin i350 EVK
      Step 7: Change the #4 of DIP switch(S1) to “STRM” mode.
      Step 8: Power on Pumpkin i350 EVK and login as root.

  4. Stream 13M@20fps Images
    Step 1: Enter the following command to stream 4K 30fps image.

    • media-ctl -d /dev/media0 –r
    • media-ctl -d /dev/media0 -l “‘thp7312 3-0061’:0” -> “‘15040000.seninf’:1 [1]'”
    • media-ctl -d /dev/media0 -V “‘thp7312 3-0061’:0 [fmt:YUYV8_1X16/4160×3120@1/20 field:none]”
    • media-ctl -d /dev/media0 -V “‘15040000.seninf’:4 [fmt:YUYV8_1X16/4160×3120 field:none]”
    • gst-launch-1.0 v4l2src device=/dev/video0 ! video/xraw,format=YUY2,width=4160,height=3120,framerate=20/1 ! queue max-size-time=0 ! waylandsink sync=false fullscreen=true
      You can see the streaming images on the display.

www.thinesolutions.com | © THine Solutions, Inc. All rights reserved | [email protected]

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals