-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JPEG and BMP not shown in demo #24
Comments
Found the same problem. Also noticed user fonts aren't loaded from SPIFFS. |
hello everybody, i meet same problem that is no JPEG and BMP display on demo, i used is ESP-WROVER-KIT V3, the LCD just dispaly white lights, even i changed CONFIG_SPIFFS_BASE_ADDR=0x180000 to try, but result is sames. how can i fix it? |
@andywang2039 I had the same problem, eventually figured out that my ESP-WROVER-KIT v3 (bought direct from Espressif...) has a display with ILI9341 driver IC, not ST7789V like it's supposed to. Had me questioning my sanity since that doesn't seem to be documented anywhere, boo! Only noticed after I tried the master-spi demo in the idf which detected the driver. |
I face the same problem as well. Mine is M5Stack. Checked the sdkconfig CONFIG_SPIFFS_BASE_ADDR is 180000. Running out of clues. Any advice, please? |
I have got it working, but the image demo are still blank despite "make flashfs". I tried make copyfs as well. |
Further work, I found out that the jpeg files reading errors. See below. I don't have the solution yet. Feel free to comment, please? Display: ILI9341: PORTRAIT 240,320 Color
Send color buffer time: 229 us (240 pixels) |
"make makefs type make makefs, and looked into build/spiffs_image, found out that the spiffs images are created. |
make makefs creates spiffs_image.img in build folder, not in build/spiffs_image folder. I tried by copying the spiffs_image.img into build/spiffs_image folder. Tested it does not work. |
#if 0 |
FYI, I have added the test_spiffs function which I modified from https://github.com/loboris/ESP32_spiffs_example. The intention is to show spiffs partition and its files are intact. If you are interested, email me at [email protected]. |
Steps that I get it working:
Have fun with fully working demo! |
@janekm Thanks a ton, had the same issue and would never have figured it out. |
Great! |
THANK YOU -- fixed my issue! Bought my ESP32-WROVER-KIT a few days ago from Mouser, hoping it was a v3 -- but it has an ILI9341 but otherwise it looks (black matte) like a V3 which is supposed to have ST7789V (in v2/v3) so I guess it is a V1 or something else (branded Expressif). the display OD measured exactly that of the ILI9341. This solution to get the images working is greatly appreciated! |
You should also change SPIFFS BASE ADDRESS in main/Kconfig.prebuild to 0x180000. and range. ronammcall- The board with the ILI9341 is a V3 not a V1. Check the documentation and you can verify it. |
@360art thanks. It works for me. |
Based on proposed fix in loboris#24 (comment)
Based on fix proposed in loboris#24 (comment)
Hi, I'm facing in the same issue. I'm using Platformio on Windows, can someone help me with the @360art solution reproduced on Platformio? |
Have you followed the recommended steps? |
Yes, the steps:
I've un update: using "tft_image_debug" flag. For jpg images:
For bmp image:
|
Nope. See it above, #24 (comment) |
Great instruction if I knew where to run "make ...". I'm using Windows 10. Can you point my in the right direction please? |
Sorry, I am not Windows user. However, it should not be hard. Google it,
you will get the answers.
…On Wed, 27 Jan 2021 at 01:35, romocitto88 ***@***.***> wrote:
Great instruction if I knew where to run "make ...". I'm using Windows 10.
Can you point my in the right direction please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCYQVWOPQJD3W6YFYCN4CLS32ZH7ANCNFSM4EHKDQWQ>
.
|
What is the difference doing:
|
Often this is not the best place for getting those answers, instead reading
the ESP32 user manual. One good reason is, a blind leading a blind.
However, user manual is skwsys accurate.
…On Thu, 28 Jan 2021 at 2:00 AM, romocitto88 ***@***.***> wrote:
What is the difference doing:
- Upload from platformio (make build && make flash)
- Exec (make makefs)
mkspiffs.exe -c [..]\ESP32_TFT_library-master\data -b 4096 -p 256 -s
1114112 image.img
- Exec (make flashfs)
esptool.py --chip esp32 --port "COM30" --baud 460800 --before
default_reset --after hard_reset write_flash -z --flash_mode dio
--flash_size detect 0x110000 [..]\image.img
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCYQVS4IWO77ASTYQUTYRTS4AE5ZANCNFSM4EHKDQWQ>
.
|
JPEG and BMP do not display on ESP-WROVER-KIT. All other functions display correctly.
make clean & make erase_flash -> make all & make flashfs -> make flash monitor
Built with latest esp-idf (as of 12/7/2017) and xtensa (1.22.0-75-gbaf03c2-5.2.0)
sdkconfig
The text was updated successfully, but these errors were encountered: