BitmapDrawerFAT bug

Moderator: Benj

Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

BitmapDrawerFAT bug

Post 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.
Attachments
pic.zip
(755.63 KiB) Downloaded 216 times
bitmap_test.fcfx
(12.97 KiB) Downloaded 192 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: BitmapDrawerFAT bug

Post 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 2677 times

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: BitmapDrawerFAT bug

Post 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?
Attachments
flow8_nixie_bmp_test.PNG
(88.83 KiB) Downloaded 734 times
test.jpg
test.jpg (147.55 KiB) Viewed 2666 times

Post Reply