EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

SD Card

Started by Unknown November 13, 2006
Hello, I am Trying to do a SD card system with HC9S12E128 using the
SPI interfase.

Do anybody have ideas??
Omar,

Check the following url--

http://www.flashgenie.net/

Regards,

Donald E Haselwood

On Monday 13 November 2006 19:30, Omar Leonardo Nùñez Gualdròn wrote:
> Hello, I am Trying to do a SD card system with HC9S12E128 using the
> SPI interfase.
>
> Do anybody have ideas??
hello
Written with code-warrior and starting from HCx12 program I found on internet, for a special project, with SPI and HCS08, I have created with a program who is managing a DS card with FAT16 feature (more simple that FAT 12 or other by 100%compatible with windows)
Starting from an empty SD formatted with FAT16. you can store files and read
If it is 100% FAT16 compatible, I do not do "Erase file function" and I suppose that all file names are 11 digits and will be written in sequence.
Nevertheless, If you are interested!
-----Message d'origine-----
De: 6... [mailto:6...] De la part de Omar Leonardo Nez Gualdr
Envoy mardi 14 novembre 2006 01:31
: 6...
Objet: [68HC12] SD Card

Hello, I am Trying to do a SD card system with HC9S12E128 using the
SPI interfase.

Do anybody have ideas??

Yahoo! Groups Links
We are doing an amateur radio project here which will use an SD card on
the 9S12, we would be very interested if you wish to share it!

cheers,
Nigel, ve3id

Bouteville Jean-Noel wrote:
>
> hello
> Written with code-warrior and starting from HCx12 program I found on
> internet, for a special project, with SPI and HCS08, I have created
> with a program who is managing a DS card with FAT16 feature (more
> simple that FAT 12 or other by 100%compatible with windows)
> Starting from an empty SD formatted with FAT16. you can store files
> and read
> If it is 100% FAT16 compatible, I do not do "Erase file function" and
> I suppose that all file names are 11 digits and will be written in
> sequence.
> Nevertheless, If you are interested!
>
> -----Message d'origine-----
> De : 6...


























Hi,
I just checked and the FAT16v2_5.zip file is still in the file section. This
is for MMC and SDCARDS. Not a full fat16 yet, but I need to complete it in the
near future. This is written for the HCS12, but I recently ported this to HCS08
in 20 mins. So it should be portable for your application.
Let me know if you have any questions.
Peter L.
VE3ID wrote:
> We are doing an amateur radio project here which will use an SD card on
> the 9S12, we would be very interested if you wish to share it!
>
> cheers,
> Nigel, ve3id
>
> Bouteville Jean-Noel wrote:
> >
> > hello
> > Written with code-warrior and starting from HCx12 program I found on
> > internet, for a special project, with SPI and HCS08, I have created
> > with a program who is managing a DS card with FAT16 feature (more
> > simple that FAT 12 or other by 100%compatible with windows)
> > Starting from an empty SD formatted with FAT16. you can store files
> > and read
> > If it is 100% FAT16 compatible, I do not do "Erase file function" and
> > I suppose that all file names are 11 digits and will be written in
> > sequence.
> > Nevertheless, If you are interested!
> >
> > -----Message d'origine-----
> > De : 6...































There is some info in the archives--message numbers

10143
10519
10522
10524
10529

10519 tells about a scheme whereby the SD card is formatted on a PC and loaded
with a max size file of all zeroes, then overwritten by the 9S12, thus saving
all the code to format and setup of the file by the 9S12.

Regards,

Donald E Haselwood
I have to document it. You know. but it woks that is the most important
Just a question of a couple of day, to do that

Bouteville Jean No +33(0)2 41 37 38 40
Sourcing Quality assurance Europe +33(0)6 80 92 28 20
Thomson Angers 17 Bd Gaston Birge
49008 Angers Cedex 01
J...@thomson.net

-----Message d'origine-----
De: 6... [mailto:6...] De la part de VE3ID
Envoy mardi 14 novembre 2006 12:47
: 6...
Objet: Re: [68HC12] SD Card

We are doing an amateur radio project here which will use an SD card on
the 9S12, we would be very interested if you wish to share it!

cheers,
Nigel, ve3id

Bouteville Jean-Noel wrote:
>
> hello
> Written with code-warrior and starting from HCx12 program I found on
> internet, for a special project, with SPI and HCS08, I have created
> with a program who is managing a DS card with FAT16 feature (more
> simple that FAT 12 or other by 100%compatible with windows)
> Starting from an empty SD formatted with FAT16. you can store files
> and read
> If it is 100% FAT16 compatible, I do not do "Erase file function" and
> I suppose that all file names are 11 digits and will be written in
> sequence.
> Nevertheless, If you are interested!
>
> -----Message d'origine-----
> De : 6...




























Thank you,all help appreciated. Time is not a problem, this is a hobby!

We are aiming for the end of the year to have a working prototype.

cheers,
Nigel ve3id
Bouteville Jean-Noel wrote:
>
> I have to document it. You know. but it woks that is the most important
> Just a question of a couple of day, to do that
>
> Bouteville Jean No +33(0)2 41 37 38 40
> Sourcing Quality assurance Europe +33(0)6 80 92 28 20
> Thomson Angers 17 Bd Gaston Birge
> 49008 Angers Cedex 01
> J...@thomson.net
> -----Message d'origine-----
> De : 6...


























'















































Donald E Haselwood wrote:

> http://www.flashgenie.net/

Interesting: SDTest.zip contains IO_Map.H - 832339 Bytes (!) "THIS
BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT".

Confirms me not to use "beans", thanks for the insight.

Oliver
--
Oliver Betz, Muenchen
I am interressed
could you please send me your code
best regard
AT
JNB wrote:
>
> hello
> Written with code-warrior and starting from HCx12 program I found on
> internet, for a special project, with SPI and HCS08, I have created with a
> program who is managing a DS card with FAT16 feature (more simple that
> FAT 12 or other by 100%compatible with windows)
> Starting from an empty SD formatted with FAT16. you can store files and
> read
> If it is 100% FAT16 compatible, I do not do "Erase file function" and I
> suppose that all file names are 11 digits and will be written in sequence.
> Nevertheless, If you are interested!
> -----Message d'origine-----
> De : 6... [mailto:6...] De la part de
> Omar Leonardo Nùñez Gualdròn
> Envoyé : mardi 14 novembre 2006 01:31
> À : 6...
> Objet : [68HC12] SD Card
>
> Hello, I am Trying to do a SD card system with HC9S12E128 using the
> SPI interfase.
>
> Do anybody have ideas??
>
> Yahoo! Groups Links
>

--

The 2024 Embedded Online Conference