Open wzqvip opened 1 year ago
Python code not running too. I'm using HAT with Raspberry pin. Plugged in the right side.
` pi@raspberrypi:~/Desktop/e-Paper/RaspberryPi_JetsonNano/python/examples $ python3 epd_4in01f_test.py INFO:root:epd4in01f Demo INFO:root:init and Clear DEBUG:waveshare_epd.epd4in01f:e-Paper busy
^CINFO:root:ctrl + c: DEBUG:waveshare_epd.epdconfig:spi end DEBUG:waveshare_epd.epdconfig:close 5V, Module enters 0 power consumption ... pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/python/examples $ python3 epd_4in01f_test.py INFO:root:epd4in01f Demo INFO:root:init and Clear DEBUG:waveshare_epd.epd4in01f:e-Paper busy ^CINFO:root:ctrl + c: DEBUG:waveshare_epd.epdconfig:spi end DEBUG:waveshare_epd.epdconfig:close 5V, Module enters 0 power consumption ... `
Hi, Same error here with 7in5V2
.
sudo make EPD=epd4in01f be admitted into make -j4 EPD=epd4in01f python3 epd_4in01f_test.py be admitted into sudo python3 epd_4in01f_test.py
same error with epd2in9** on Pi4
` pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/c $ sudo make clean rm ./bin/. rm epd pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/c $ sudo make EPD=epd4in01f gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D USE_BCM2835_LIB -D RPI -c ./lib/Config/dev_hardware_SPI.c -o ./bin/dev_hardware_SPI.o -Wl,--gc-sections -lbcm2835 -lm -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D USE_BCM2835_LIB -D RPI -c ./lib/Config/RPI_sysfs_gpio.c -o ./bin/RPI_sysfs_gpio.o -Wl,--gc-sections -lbcm2835 -lm -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D USE_BCM2835_LIB -D RPI -c ./lib/Config/DEV_Config.c -o ./bin/DEV_Config.o -Wl,--gc-sections -lbcm2835 -lm -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/e-Paper/EPD_4in01f.c -o bin/EPD_4in01f.o -I ./lib/Config -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/GUI/GUI_BMPfile.c -o bin/GUI_BMPfile.o -I ./lib/Config -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/GUI/GUI_Paint.c -o bin/GUI_Paint.o -I ./lib/Config -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/EPD_4in01f_test.c -o bin/EPD_4in01f_test.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/main.c -o bin/main.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/ImageData2.c -o bin/ImageData2.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/ImageData.c -o bin/ImageData.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font12CN.c -o bin/font12CN.o -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font12.c -o bin/font12.o -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font16.c -o bin/font16.o -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font24CN.c -o bin/font24CN.o -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font20.c -o bin/font20.o -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font8.c -o bin/font8.o -D DEBUG gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font24.c -o bin/font24.o -D DEBUG echo RPI_epd RPI_epd gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D RPI ./bin/EPD_4in01f.o ./bin/GUI_BMPfile.o ./bin/GUI_Paint.o ./bin/EPD_4in01f_test.o ./bin/main.o ./bin/ImageData2.o ./bin/ImageData.o ./bin/font12CN.o ./bin/font12.o ./bin/font16.o ./bin/font24CN.o ./bin/font20.o ./bin/font8.o ./bin/font24.o ./bin/dev_hardware_SPI.o ./bin/RPI_sysfs_gpio.o ./bin/DEV_Config.o -o epd -Wl,--gc-sections -lbcm2835 -lm -D DEBUG
pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/c $ ./epd EPD_4in01F_test Demo /***/ Current environment: Raspbian bcm2835 init success !!! Segmentation fault `
removed "~" ~cause markdown..