ILI9340/ILI9341 TFT Display
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: ILI9340/ILI9341 TFT Display
Not sure how Laboris did it but his TFT driver seems to be the fastest SPI TFT driver I have ever seen on any platfrom.
Re: ILI9340/ILI9341 TFT Display
Note to myself:
Here is the GitHub repository of M5Stack's MicroPython firmware.
However, I am extremely uncomfortable with sending my code or WiFi password to some (Asian?) cloud server.
Certain details of my code projects are strictly private.
Is there a way to still use M5Stack's MicroPython firmware/libraries whilst circumventing their cloud?
I prefer to program over a USB cable.
Here is the GitHub repository of M5Stack's MicroPython firmware.
However, I am extremely uncomfortable with sending my code or WiFi password to some (Asian?) cloud server.
Certain details of my code projects are strictly private.
Is there a way to still use M5Stack's MicroPython firmware/libraries whilst circumventing their cloud?
I prefer to program over a USB cable.
Serge
Re: ILI9340/ILI9341 TFT Display
@on4aa. For exactly that reason, I am using a firmware build directly from loboris’s github repository :-
https://github.com/loboris/MicroPython_ ... D/firmware
I am using ftp and telnet which I find easier than the m5cloud IDE which does not give remote access to repl.
BTW: You can use USB and simply disable their wifi/cloud module in boot.py.
https://github.com/loboris/MicroPython_ ... D/firmware
I am using ftp and telnet which I find easier than the m5cloud IDE which does not give remote access to repl.
BTW: You can use USB and simply disable their wifi/cloud module in boot.py.
Re: ILI9340/ILI9341 TFT Display
Loboris certainly looks to be the cool kid in town! I will try this out.
As a matter of fact, I opened a bug report against M5Cloud to see what they have to say about this. Here is their reaction:
Anyhow, I do not consider this to be a smart strategy for a company that wants to position itself as a prototyping platform for other companies. They should at least put clear warnings up there. Millennials might not think twice about their privacy like us old farts.Hi, if you just want programs over an USB cable, you can remove import wifisetup and import m5cloud at boot.py file.
Serge
Re: ILI9340/ILI9341 TFT Display
Can you give a pointer how you fixed this problem? I quickly scanned through your version but did not identify the change.jeffm wrote: ↑Sat Jan 06, 2018 1:29 pmI failed to get @tuupola’s version of this driver to work with HW SPI on the standard esp32 port. After a little investigation I discovered that hw spi crashes due to the driver generating a zero length data block spi write - this is not a problem for the sw version.
Re: ILI9340/ILI9341 TFT Display
@tuupola. The zero data length write occurs in your driver in the line:
My version splits _block into _writeblock and _readblock which avoids the need to interpret None as a read operation and so I use None to mean no data rather than b””.
Code: Select all
self._block(x, y, x + w - 1, y + h - 1, b"") # in fill_rectangle
Re: ILI9340/ILI9341 TFT Display
@jeffm
Edit: It seems to be a known hardware bug.
How did you achieve this feat? My M5 keeps on rebooting with every attempt to employ the esptool.
Edit: It seems to be a known hardware bug.
Serge
Re: ILI9340/ILI9341 TFT Display
I never had any problems with mine. I do flash with relatively low 115200, maybe that is related?on4aa wrote: ↑Wed Jan 31, 2018 11:11 pmHow did you achieve this feat? My M5 keeps on rebooting with every attempt to employ the esptool.
Edit: It seems to be a known hardware bug.
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: ILI9340/ILI9341 TFT Display
I've had the same problem. Solution : change to other USB port of my notebook, do not use "-b 115200".
Both items aren't needed with ESP8266.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: ILI9340/ILI9341 TFT Display
M5Stack have released off-line firmwares :on4aa wrote: ↑Mon Jan 15, 2018 12:10 amNote to myself:
Here is the GitHub repository of M5Stack's MicroPython firmware.
However, I am extremely uncomfortable with sending my code or WiFi password to some (Asian?) cloud server.
https://github.com/m5stack/M5Cloud/tree ... s/OFF-LINE
But I prefer to use Loboris MicroPython for ESP32, configured with :
https://github.com/tuupola/micropython-m5stack
Thanks, tuupola !
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).