Page 1 of 1

BitmapDrawerFAT bug

Posted: Tue Dec 11, 2018 9:30 pm
by STibor
Hello,

Hardware: STM32F746 Disco
The image is displayed incorrectly.
If the image data: 450 * 255 landscape orientation, the program freezes.
If the image is 480 * 272 pixels, only a 15-pixel wide bar will be displayed.

Re: BitmapDrawerFAT bug

Posted: Wed Dec 12, 2018 11:56 am
by Benj
Hello,

Aha thanks for letting us know. I believe I have found and fixed the problems now.

The pixel height was a byte and so was being truncated from 271 to 15.

The pixel index was a UINT and so was being truncated at 65535 instead of 129809, gave a very nice pattern but certainly not right.

These have now both been fixed and the updated component is now available via the check for updates system.
SS.jpg
SS.jpg (71.75 KiB) Viewed 3685 times

Re: BitmapDrawerFAT bug

Posted: Wed Dec 12, 2018 7:54 pm
by STibor
Hello!

Thanks.
I tested it, it was better, but not good.
I attach the picture.
Another problem is that it is very slow.
In the simulator I do not display the image on the display.

(other test)
I can not see the display on the 3D system panel and there are not any other components.

(other test)
You used to make a bmp image scanning program from an SD card. I also spent the Matrix forum. I tested Flow7 and 8. Flow8 displays at least 10 times the image slower than Flow7.


Unfortunately, the software SPI card reader will be slow anyway if you improve performance on Flow7 speed, it's still slow.
Are you planning a 4bit SPI, or DDR SDRAM support for the STM32F746Disco card in the near future?