This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLPDLCR230NPEVM: sh:1 gpio not found error

Part Number: DLPDLCR230NPEVM

Hello,

I have downloaded the firmware and put it in the /boot folder and followed the instructions on the user guide about connecting the projector to the Raspberry Pi, but when I run the first example (init_parallel_mode.py) I get the following error:

sh: 1: gpio: not found

Please see a screenshot attached so you can better understand the problem.

Why is this happening? Is there a way to see if the Raspberry Pi is communicating with the projector over SSH? Or could something else be the problem?

For reference I am using it with a Raspberry Pi model 4B.

Many thanks,

Valentina

  • Hello Valentina,

    Welcome to the E2E forum and thank you for your interest in DLP technology!

    Can you confirm that the D_DONE and D_INI_B LED's are illuminated while D_HOST_IRQ is not as described in Section 6 of the DLPDLCR230NP-EVM User's Guide? Is any image being output?

    Regards,

    Austin

  • Hi Austin,

    Yes I can confirm the D_DONE and D_INI_B_LED are on while D_HOST_IRQ is off.

    Yes if I try all the other examples (sample_01[...].py sample_02[...].py, etc...) they all work and output an image, but when I try the parallel mode it doesn't.

    I have attached a screenshot of the status registers obtained from the 6th example if they can help.

    Many thanks,

    Valentina

  •  here is the status registers,

    Many thanks,

    Valentina

  • Hi Austin,

    I also had to modify the config.txt file because the one provided was not working for me. the display was not turning on so I added a command in the bottom [pi4] section, maybe it's related to this?

    I am attaching the file for your reference

    Many thanks,

    Valentina

    0045.config.txt
    # For more options and information see
    # http://rpf.io/configtxt
    # Some settings may impact device functionality. See link above for details
    
    # uncomment if you get no picture on HDMI for a default "safe" mode
    #hdmi_safe=1
    
    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16
    
    # uncomment to force a console size. By default it will be display's size minus
    # overscan.
    #framebuffer_width=1280
    #framebuffer_height=720
    
    # uncomment if hdmi display is not detected and composite is being output
    hdmi_force_hotplug=1
    
    # uncomment to force a specific HDMI mode (this will force VGA)
    
    #hdmi_cvt=1920 1080 58 3
    hdmi_group=2
    hdmi_mode=82
    hdmi_timings=1920 0 20 10 10 1080 0 10 10 10 0 0 0 58 0 125000000 3
    
    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=1
    
    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4
    
    # uncomment for composite PAL
    #sdtv_mode=2
    
    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800
    
    # Uncomment some or all of these to enable the optional hardware interfaces
    dtparam=i2c_arm=on
    #dtparam=i2s=on
    dtparam=spi=on
    
    # Configure Raspberry Pi for SSH over USB
    dtoverlay=dwc2
    
    # Configure I2C on GPIO pins #22 and 23
    dtoverlay=i2c-gpio,i2c-gpio_sda=23,i2c_gpio_scl=22,i2c_gpio_delay_us=2
    
    # Configure DPI on GPIO Pins #0 through 21
    gpio=0=op
    gpio=0=pn
    gpio=1-27=ip
    gpio=1-27=pn
    
    # Uncomment this to enable infrared communication.
    #dtoverlay=gpio-ir,gpio_pin=17
    #dtoverlay=gpio-ir-tx,gpio_pin=18
    
    # Additional overlays and parameters are documented /boot/overlays/README
    
    # Enable audio (loads snd_bcm2835)
    dtparam=audio=on
    
    # Automatically load overlays for detected cameras
    #camera_auto_detect=1
    
    # Automatically load overlays for detected DSI displays
    #display_auto_detect=1
    
    
    # Disable compensation for displays with overscan
    disable_overscan=1
    
    # Enable DPI18 Overlay
    enable_dpi_lcd=1
    display_default_lcd=1
    dpi_group=2
    dpi_mode=87
    
    # Configure DPI Video Timings
    # RGB 666 CFG 1 (MODE 5)
    dpi_output_format=458773
    
    #[cm4]
    # Enable host mode on the 2711 built-in XHCI USB controller.
    # This line should be removed if the legacy DWC2 controller is required
    # (e.g. for USB device mode) or if USB support is not required.
    #otg_mode=1
    
    #[all]
    
    [pi4]
    # Run as fast as firmware / board allows
    arm_boost=1
    
    # Enable DRM VC4 V3D driver
    dtoverlay=vc4-kms-v3d
    max_framebuffers=2
    
    [all]
    enable_uart=1
    dtoverlay=w1-gpio
    

  • Hello Valentia,

    Please trying reaching out to Raspberry Pi forum for this issue. It is very likely set up or configuration issue on the Raspberry pi.

    Please let us know if you find any help in that community.

    regards,

    Vivek