![]() |
Forum Index : Microcontroller and PC projects : Micromite graphic tests
Author | Message | ||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
Hi all here is a program to test the different graphical functions of the PIC32 and STM32 processors 2019-04-25_075632_test_graphic.zip it is a set of modules (24 maximum) usable or not depending on the version of MM the software detects the type of processor, the fonts loaded and the presence or absence of files for the "Sprite" function You can choose to perform all tests or only some tests, as well as the number of repetitions for each test. You can also run the tests in a permanent loop this program is open to everyone and everyone can make the changes they want It can mostly report operating bugs you can also correct my English spelling errors. ![]() in the zipped file, you will also find 2 files used by the Sprites test program. You must copy them to the SD card prog tested on - Pic32Mx170 - Pic32mx470 - Pic32mz2048 - Stm32H746 - Stm32L476RG prog not tested on - Pi Cromite - Stm32F4 screens - LCD 1.3" ST7789 240x240 - LCD 2,8" ILI9341 SPI 240x320 - LCD 5" ST9369 16b 800x480 |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1111 |
@goc30 Excellent program goc30, it ran perfectly on an E100 running 5.05.02 with an SSD1963 9" LCD. ![]() ![]() This would make a great test program to use if a person wants to ensure a graphics screen is working properly. Thanks for sharing. Doug. PS. 24.539 seconds for 100 iteration run on the E100. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
thank panky update prog tested on - Pic32Mx170 - Pic32mx470 - Pic32mz2048 - Stm32H746 MM v5.05.06 - Stm32L476RG - Explorer 100 MM v5.05.02 (by panky) prog not tested on - Pi Cromite - Stm32F4 screens - LCD 1.3" ST7789 240x240 - LCD 2,8" ILI9341 SPI 240x320 - LCD 5" SSD1963 16b 800x480 - LCD 9" SSD1963 (by panky) |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Thanks for the very useful program. Can you check the zip file please. I see 2 .bmp files but not the required .png file for the sprite tests |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
yes, sorry 2019-04-25_215818_logom4_png.zip |
||||
CaptainBoing![]() Guru ![]() Joined: 07/09/2016 Location: United KingdomPosts: 2139 |
ooh! this is useful. Cheers |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Minor tweak to the program to cater for the Armmite F4 2019-04-26_040040_test_graf_v01c.zip and here are the results on the direct attach ILI9341 (16-bit parallel) Watch the video ![]() |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
new version (v1.2a) 2019-04-26_130618_test_graf_v1_2a.zip --- Updates ---- 25/04/19 add tmtyptest to make script add script minimum (type mx170) (test "M") add pixel function add news functions rounded rectangles circles 1 pixel not filled and circle rnd pixel width not filled in first question, if you put "M" it make an script who can work on all the micromite familly. This script can be use to compare results with all procs. |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
Hi Peter Thank for tests I did not see the difference with my version ![]() |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Aaaagh!!!! I've overwritten it somehow. The changes were trivial - Add ARMmite F4 as a new device type MM.DEVICE$ gives "ARMmite F407" It can do all graphics tests (bezier, arcs etc.) except sprites |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
Ok ![]() 2019-04-26_225238_test_graf_v1_2b.zip |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
New version 2019-04-27_021040_test_graf_v1_2c.zip 26/04/19 v1.2cv add proc stm32F407 and f4 "generic" (with type4 script) add "unknown proc" with script "test minimum" update pixel function' |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Still not quite correct for Armmite F4. It would be much easier for you if you had one ![]() The Armmite F4 has 7 valid fonts loaded It does not support sprites Basically exactly the same as the H7 minus sprites |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
here update "F4" is device="ARMmite F407" ?? (I put this text in my devices array) for "fonts", i see my fault 2019-04-27_024302_test_graf_v1_2c3.zip |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
new version 2019-04-27_133330_test_grafv1_2d.zip 27/04/19 v1.2d' add database test update: in minimum test "cls" function is not tested you can send-me file result (here or by PM). I put it on my database and show results |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
hi peter question: how can I know in program what type of driver is used for lcdpanel like txt$="option lcdpanel" rep txt$="ILI9341" or "ILI9341,L,1,2" idem for sd and touch thank |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
You can't at the moment, The issue is lack of function slots (max 128) on some implementations but let me see if I can think of a way round it. Same answer for CPU speed in your other post. |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
ok I make an idea: you can create an "MM.config$(5)" (1 for cpu speed, 1 for lcd, 1 for touch, 1 for sdcard |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
New version v1.2e 2019-04-28_141250_test_graf_v1_2e.zip 27/04/19 v1.2e' add MM.info$ update save function I add version "lite" for mmx170 or minimals test 2019-04-28_113036_test_graf_v1_2e_lite.zip |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
update v1.02f 2019-04-29_235603_test_graf_v1_02f.zip 29/04/19 v1.2f add test if no lcd panel driver installed update test for MZ proc without lcd driver buffered or no rd signal (not sprit test) some minors bugs |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |