Page 1 of 1

FAT SD Card Reader and EBlock EB037

Posted: Thu Nov 10, 2016 1:11 pm
by Jay Dee
Hi, I have been wanting to try the SD card reader and GLCD modules, I found the following tips helped.

Using the FC example in the FC7 help files " FAT display Bitmap "

Hardware I used,
ECIO40P
EB061 ECIO breakout board.
EB084 with EBM001 on port B, Jumper in Position A
EB037 on Port D, place Jumper in position B

For the EB037 the software settings for the hardware pins are mostly correct but,
Open the FC file, swap the MISO and MOSI pin settings for the FAT16 component.
MOSI = D2
MISO = D1

SD card, I used windows 10 to format the SD card.
File system: FAT (default)
Allocation unit size: 32 kilobytes
deselected 'Quick format'
Once done, copied the example BMP files into the root of the SD card.

Using a graphics package (The improved version of paint, paint.net works very well) I made my own images with a miximum pixel size of 127x158.
Play from there..

Re: FAT SD Card Reader and EBlock EB037

Posted: Thu Nov 10, 2016 1:53 pm
by Jay Dee
Oh..save any custom images as .BMP and in 24bit colour depth.

Re: FAT SD Card Reader and EBlock EB037

Posted: Thu Nov 10, 2016 6:50 pm
by Benj
Great glad you're having some joy with the examples.

If you haven't already seen then there is a significant speed increase you can apply to the EBM001 display here on a PIC device.

http://www.matrixtsl.com/mmforums/viewt ... 240#p77951