Code Monkey home page Code Monkey logo

st7789s3_esp_lcd's People

Contributors

russhughes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

st7789s3_esp_lcd's Issues

Recreation of the build process of the firmware (micropython): Pull failed

(sorry, no native speaker here...)

I am trying to recreate the micropython firmware as an exercise for myself.

These steps work:
git clone -b v4.4.3 --recursive https://github.com/espressif/esp-idf.git
cd esp-idf/

But this one:
git pull

gives me this error:
_You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

[1] 2237 exit 1 git pull_

At which branch the git repo is supposed to be - what did I wrong?
(I am using git 2.40.0 on a GENTOO Linux system.)

Precompiled firmware.bin fails to boot on new T-Display-S3

I was very excited to get this board but am still trying to get the display working in Micropython. I have installed the binary from the Micropython download site:
GENERIC_S3-20230426-v1.20.0.bin but it doesn't have the lcd module with it.

INSTALLATION

I downloaded the firmware/T-Display-S3/firmaware.bin from git and installed using:
python -m esptool --chip esp32s3 --port com4 write_flash -z 0x1000 .\firmware.bin
esptool.py v4.6.2
Serial port com4
Connecting...
Failed to get PID of a device on com4, using standard reset sequence.

Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: ec:da:3b:62:e9:ec
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x0019efff...
Compressed 1695600 bytes to 1056256...
Wrote 1695600 bytes (1056256 compressed) at 0x00001000 in 15.0 seconds (effective 902.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

BOOT MESSAGES

After hitting the reset button I get repeating reboots with the following messages:
SP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40043ac8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0xf34
load:0x403c9700,len:0xc3c
load:0x7972746e,len:0x6f6e202c
Invalid image block, can't boot.
ets_main.c 329

SUMMARY

I also tried using -z 0 for the esptool but it didn't work either. I have the Expressif download tool, but haven't gotten it to work for the Micropython flash files.

Thanks for producing this display code. I hope it simply my user error.

about: init() -> deinit() -> init() error.

If you want to reinit screen after calling the init() method. The deinit() method must be called first, otherwise a second call to the init() method will cause the system to crash. But even if you deinit() and then init(), you will get the error "Failed to allocate DMA'able framebuffer". Comment st7789. c line 2240 code: self ->frame_ Buffer_ Size=0; can fix this bug.

I hope you adopt it.

Feature request: please add bluetooth module to firmware

Hello and congratulations on this brilliant st7789 library upgrade for ESP32 S3 LCD. Very well documented.

I have successfully run many tests from your examples folder on my Lilygo T-Display ES32 S3 using image:
MicroPython v1.19.1-543-gab317a0d6-dirty on 2022-10-30; ESP32S3 module (spiram) with ESP32S3

I would need to display & connect to Bluetooth BLE devices with the T-Display S3, but could not find any core "bluetooth" or "ubluetooth" or "ble" modules on the board when running help('modules').
I have tried importing modules using mip.install("aioble") but 'bluetooth' module is also a prerequisite.
If there is enough memory left, could you please consider adding "bluetooth" module to your version of driver.
(My project is to display MIDI events coming from digital piano over Bluetooth BLE).
Any pointer to what I could be missing, or way to achieve "bluetooth" connectivity with this driver is warmly welcome.

Sylvain

TypeError: 'width' argument required

(I am on GENTOO Linux)
After flashing the firmware.bin file to my TTGO Display S3 I tried scroll.py and hello.py via Thonny. The dependancies
were stored on the board beforehand.
Starting scroll.py or hello.py both results in this error message:

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 13, in
File "tft_config.py", line 15, in config
TypeError: 'width' argument required

How can I avoid this ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.