Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
reading data from SD card on UF32 - kenley_shanghai - Sep 23 12:24:18 2007
Hi all,
I am still looking for help with regards to reading data on the UF32.
If anyone can help please contact me. The webpage that I got referred
to by some does not really help. Thank! :-)

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: reading data from SD card on UF32 - Donald E Haselwood - Sep 23 16:12:08 2007
Can you be more specific about what you need?
Just reading blocks on the SD card is not too hard. If you want to read data
on the SD card that is written in the standard form, then to find the data
one has to navigate the FAT file system to locate the data.
I am currently in the middle of working out logging using a SD card on
the 'E128. As far as reading/writing the SD card is concerned the
differences with the UF32 should not be all that much different.
Regards,
Donald E Haselwood
On Sunday 23 September 2007 12:11, kenley_shanghai wrote:
> Hi all,
>
> I am still looking for help with regards to reading data on the UF32.
> If anyone can help please contact me. The webpage that I got referred
> to by some does not really help. Thank! :-)

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: reading data from SD card on UF32 - Wayne Macdonald - Sep 23 21:57:08 2007
Are you looking for assembler or C examples ?
----- Original Message -----
From: kenley_shanghai
To: 6...@yahoogroups.com
Sent: Monday, September 24, 2007 2:11 AM
Subject: [68HC12] reading data from SD card on UF32
Hi all,
I am still looking for help with regards to reading data on the UF32.
If anyone can help please contact me. The webpage that I got referred
to by some does not really help. Thank! :-)
[Non-text portions of this message have been removed]

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: reading data from SD card on UF32 - YUQIN WANG - Sep 24 6:47:57 2007
Hi Wayne,
Thanks for the reply. I am using C. I am very new at this and need some guidance in doing
this. All I know is I need to know about FAT32, then programme the UF32 to read data. But
I am not sure how to start. I've read the datasheet for SDHC 5 times but it's still
difficult getting started without atleast some help from someone and an example. Thanks!
Your help is appreciated!
>>> "Wayne Macdonald"
09/24/07 3:51 AM >>>
Are you looking for assembler or C examples ?
----- Original Message -----
From: kenley_shanghai
To: 6...@yahoogroups.com
Sent: Monday, September 24, 2007 2:11 AM
Subject: [68HC12] reading data from SD card on UF32
Hi all,
I am still looking for help with regards to reading data on the UF32.
If anyone can help please contact me. The webpage that I got referred
to by some does not really help. Thank! :-)
[Non-text portions of this message have been removed]

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )Re: reading data from SD card on UF32 - joncas04 - Sep 24 10:08:06 2007
If you can advance so far as to be able to read and write single
sectors from the SD card via the SPI interface, then you can use the
FAT32 code created by ChaN:
http://elm-chan.org/docs/mmc/mmc_e.html
here is the direct link to his sample code:
http://elm-chan.org/fsw/ff/ffsample.zip
essentially you only have to modify the mmc.c file to implement the
hardware-specific SPI access.
best regards
Robert
--- In 6...@yahoogroups.com, "YUQIN WANG"
wrote:
>
> Hi Wayne,
>
> Thanks for the reply. I am using C. I am very new at this and need
some guidance in doing this. All I know is I need to know about FAT32,
then programme the UF32 to read data. But I am not sure how to start.
I've read the datasheet for SDHC 5 times but it's still difficult
getting started without atleast some help from someone and an example.
Thanks! Your help is appreciated!
>
> >>> "Wayne Macdonald" 09/24/07 3:51 AM >>>
> Are you looking for assembler or C examples ?
>
> ----- Original Message -----
> From: kenley_shanghai
> To: 6...@yahoogroups.com
> Sent: Monday, September 24, 2007 2:11 AM
> Subject: [68HC12] reading data from SD card on UF32
> Hi all,
>
> I am still looking for help with regards to reading data on the UF32.
> If anyone can help please contact me. The webpage that I got referred
> to by some does not really help. Thank! :-)
>
>
>
> [Non-text portions of this message have been removed]
>

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )