Xinyuan-LilyGO / T-QT

MIT License
94 stars 31 forks source link

What settings for factory example? #16

Closed matterbury closed 1 year ago

matterbury commented 1 year ago

With the default settings compilation fails with:

Sketch uses 1379037 bytes (105%) of program storage space. Maximum is 1310720 bytes.
Global variables use 41472 bytes (12%) of dynamic memory, leaving 286208 bytes for local variables. Maximum is 327680 bytes.

With Flash Size of 8MB (64 Mb) and Partition Scheme 8M with spiffs the device just crash reboots.

matterbury commented 1 year ago

In fact it would be very helpful to have some idea of which examples work on the T-S3 board and what settings are needed for them. So far I'm about 3 for 8 working with the rest just blank screen or crash booting.

mmMicky commented 1 year ago

T-QT is a flash size of 8M. T-QT PRO has 4M flash size and 2M PSRAM. You can set the partition table for storing programs slightly larger. E.g image

mmMicky commented 1 year ago

image

matterbury commented 1 year ago

Thanks, but as far as I can tell the factory example just does not work on the T-S3. Many of the TFT_ ones do so I can play with those.

mmMicky commented 1 year ago

It works fine on my computer. I wonder why your run fails. I need to fix it.

matterbury commented 1 year ago

Thanks. I have the S3 version of this: https://www.amazon.com/dp/B0B7X5RVTH?psc=1&ref=ppx_yo2ov_dt_b_product_details

I verified my settings are all the same as above (apart from the one in Chinese, which I can't read :).

I am using a recent download of the Arduino IDE - you appear to use something else since I don't see a way to get all the settings displayed like you have, so I could try whatever you are using?

mmMicky commented 1 year ago

I suggest you take a screenshot of the error or setting. I can help you check the problem.

mmMicky commented 1 year ago

image Here you need to set none

matterbury commented 1 year ago

I set PSRAM to none and all the other settings as you have above. Here is a video of the device while uploading, then a flash of the previous (clock) app when it rebooted, then the apparent crash looping after booting: https://www.dropbox.com/s/mhblk9lckomdqxq/IMG_0240.MOV?dl=0

Thanks for your help.

mmMicky commented 1 year ago

I thought you had a problem with the T-QT product. If you have a problem with T-Display-S3, you need to enable the PSRAM-OPI function. It is recommended that you clone the repository without modifying it and use platformIO to compile. Because I used this platform to make. So I recommend you to use it.

mmMicky commented 1 year ago

I can put the tested binary bin firmware here for you to burn and test. bin.zip

matterbury commented 1 year ago

Thank you very much, OPI PSRAM did the trick!