Elecrow 3.5" 5" 7" ... inch monitor touch screen setup

Driver Link

git clone https://github.com/goodtft/LCD-show
chmod -R 755 LCD-show
cd LCD-show
sudo ./LCD-show
cd /boot
sudo tar zxvf LCD-show-160701.tar.gz
cd LCD-show
sudo ./LCD5-show

config.txt

#---added by elcrow-pitft-setup---
hdmi_drive=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2.speed=50000,keep_vref_on=0,
swapxy?0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
display_rotate=0
#---end elcrow-pitft-setup---

LCD wiki

I am trying to pick up where I have left.
Unfortunately what I have posted above doesn’t seem to work anymore.
The display just stays black.

boot/config.txt

#---added by elcrow-pitft-setup---
hdmi_drive=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2.speed=50000,keep_vref_on=0,
swapxy?0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
display_rotate=0
#---end elcrow-pitft-setup---

/home/dietpi/LCD-show/ shows the following:

root@DietPi:/home/dietpi/LCD-show# ls
boot                 MHS35-show
DPI5_7_800_480-show  MHS40C-show
DPI7_1024_600-show   MHS40-show
error_output.txt     MIS35-show
etc                  Mouse_Key.py
LCD101H-show         MPI3508_480_320-show
LCD101S-show         MPI3508-show
LCD101TMP-show       MPI3510-show
LCD101Y-show         MPI4008-show
LCD154-show          MPI4009-show
LCD24-3A±show       MPI5001-show
LCD24-show           MPI5094-show
LCD28-show           NANO24-show
LCD32-show           PyMouse-1.0.tar.gz
LCD35-show           python-xlib_0.23-2_all.deb
LCD55-show           README.md
LCD5-show            rotate.sh
LCD7B-show           system_backup.sh
LCD7C-show           system_config.sh
LCD7H-show           system_restore.sh
LCD7S-show           usr
LCD-hdmi             xinput-calibrator_0.7.5-1_armhf.deb
MHS24-show           xinput-calibrator_0.7.5+git20140201-1+b2_arm64.deb
MHS32-show           xserver-xorg-input-evdev_1%3a2.10.6-1+b1_armhf.deb
MHS35B-show          xserver-xorg-input-evdev_1%3a2.10.6-2_arm64.deb
MHS35IPS-show
root@DietPi:/home/dietpi/LCD-show#
root@DietPi:/home/dietpi/LCD-show/boot# ls
config-nomal-10.9-32.txt  config-nomal-12.10-32.txt  config-nomal.txt
config-nomal-11.4-32.txt  config-nomal-12.10-64.txt  config-noobs-nomal.txt
config-nomal-11.4-64.txt  config-nomal-12.1-32.txt   config.txt.bak
root@DietPi:/home/dietpi/LCD-show/boot#

the /LCD-show/boot shows the config.txt.bak which I have copied from the config.txt but should there not be a config.txt ?

root@DietPi:/home/dietpi/LCD-show/boot# cd /boot
root@DietPi:/boot# ls
cmdline.txt                dietpi              firmware
config-6.12.62+rpt-rpi-v8  dietpi-LICENSE.txt  System.map-6.12.62+rpt-rpi-v8
config.txt                 dietpi-README.md    vmlinuz-6.12.62+rpt-rpi-v8
config.txt.bak             dietpi.txt
root@DietPi:/boot#

check /boot/firmware

root@DietPi:/boot/firmware# ls
 bcm2710-rpi-2-b.dtb          dietpi.txt
 bcm2710-rpi-3-b.dtb          dietpi-wifi.txt
 bcm2710-rpi-3-b-plus.dtb     fixup4cd.dat
 bcm2710-rpi-cm0.dtb          fixup4.dat
 bcm2710-rpi-cm3.dtb          fixup4db.dat
 bcm2710-rpi-zero-2.dtb       fixup4x.dat
 bcm2710-rpi-zero-2-w.dtb     fixup_cd.dat
 bcm2711-rpi-400.dtb          fixup.dat
 bcm2711-rpi-4-b.dtb          fixup_db.dat
 bcm2711-rpi-cm4.dtb          fixup_x.dat
 bcm2711-rpi-cm4-io.dtb       kernel8.img
 bcm2711-rpi-cm4s.dtb         LICENCE.broadcom
 bcm2712d0-rpi-5-b.dtb        overlays
 bcm2712-d-rpi-5-b.dtb        start4cd.elf
 bcm2712-rpi-500.dtb          start4db.elf
 bcm2712-rpi-5-b.dtb          start4.elf
 bcm2712-rpi-cm5-cm4io.dtb    start4x.elf
 bcm2712-rpi-cm5-cm5io.dtb    start_cd.elf
 bcm2712-rpi-cm5l-cm4io.dtb   start_db.elf
 bcm2712-rpi-cm5l-cm5io.dtb   start.elf
 bootcode.bin                 start_x.elf
 cmdline.txt                 'System Volume Information'
 config.txt
root@DietPi:/boot/firmware#

ss

root@DietPi:/boot# ls
cmdline.txt                dietpi              firmware
config-6.12.62+rpt-rpi-v8  dietpi-LICENSE.txt  System.map-6.12.62+rpt-rpi-v8
config.txt                 dietpi-README.md    vmlinuz-6.12.62+rpt-rpi-v8
config.txt.bak             dietpi.txt
root@DietPi:/boot#

thanks, it is in /boot where I made the .bak copy.

the .bak copy shows in root@DietPi:/home/dietpi/LCD-show/boot#
But how is it possible that I make the copy in /boot and this copy shows in home/dietpi/LCD-show/boot but not the original file?

Well I am just wondering if someone had an idea of how to get the LCD working?

# --- added by elecrow-pitft-setup  ---
hdmi_force_hotplug=1
max_usb_current=1
hdmi_drive=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
display_rotate=0
# --- end elecrow-pitft-setup  ---

Elecrow says to add this above.

But there is already a simiar entry. does this one need to be replaced or the Elecrow one added at the end?

Don’t know how to copy from and to VIM from the clipboard