FAT SD Card Reader and EBlock EB037

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

FAT SD Card Reader and EBlock EB037

Post 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..

User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Re: FAT SD Card Reader and EBlock EB037

Post by Jay Dee »

Oh..save any custom images as .BMP and in 24bit colour depth.

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: FAT SD Card Reader and EBlock EB037

Post 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

Post Reply