EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

USB flash drive for the HC12

Started by Lewis, Bob February 9, 2004
Hi Everyone:

We are using the 9S12DG128a, and ICC12compiler and want to add USB for a
flash drive.
* Does anyone know of libraries either shareware or commercially
(preferably available for the HC12, but just ANSI C would be fine) in C to
implement a windows based file system on a USB flash memory card. The
objective would be to use Windows Explorer to move the data file to the PC
disk drive.
* Could anyone recommend a USB IC please? We are currently using the
FTDI USB232BM IC for USB to RS232 conversion and it works well, but I was
wondering if there was a similar IC that would do higher speed transfers in
parallel to support high capacity flash disks.

Thanks for the help.

Bob Lewis



Hellow Lewis

Have not tried it myself, but FTDI has a newer FT245BM module that uses
a parallel connection.

Best regards
Robert On Feb 9, 2004, at 05:07 Europe/Paris, Lewis, Bob wrote:

>
> Hi Everyone:
>
> We are using the 9S12DG128a, and ICC12compiler and want to add USB for
> a
> flash drive.
> * Does anyone know of libraries either shareware or commercially
> (preferably available for the HC12, but just ANSI C would be fine) in
> C to
> implement a windows based file system on a USB flash memory card. The
> objective would be to use Windows Explorer to move the data file to
> the PC
> disk drive.
> * Could anyone recommend a USB IC please? We are currently using the
> FTDI USB232BM IC for USB to RS232 conversion and it works well, but I
> was
> wondering if there was a similar IC that would do higher speed
> transfers in
> parallel to support high capacity flash disks.
>
> Thanks for the help.
>
> Bob Lewis
>




Hi Bob,
I think the problem will be that the USB flash card expects to see
a USB master at the end of the line. Whereas the FTDI chips are USB slaves.
Another alternative is a MultiMediaCard or SD Card, instead, you can talk
to these via SPI, very low hardware overhead. Remove and plug into a USB
based card reader connected to the PC.
I'm working on a limited FAT16 for these now. It may be available in the
(Near???) future.
Good luck.
Peter L. At 11:07 PM 8/02/2004 -0500, you wrote:
>Hi Everyone:
>
>We are using the 9S12DG128a, and ICC12compiler and want to add USB for a
>flash drive.
>* Does anyone know of libraries either shareware or commercially
>(preferably available for the HC12, but just ANSI C would be fine) in C to
>implement a windows based file system on a USB flash memory card. The
>objective would be to use Windows Explorer to move the data file to the PC
>disk drive.
>* Could anyone recommend a USB IC please? We are currently using the
>FTDI USB232BM IC for USB to RS232 conversion and it works well, but I was
>wondering if there was a similar IC that would do higher speed transfers in
>parallel to support high capacity flash disks.
>
>Thanks for the help.
>
>Bob Lewis >
>--------------------To learn more
>about Motorola Microcontrollers, please visit
>http://www.motorola.com/mcu
>o learn more about Motorola Microcontrollers, please visit
>http://www.motorola.com/mcu
>
>Yahoo! Groups Links >
>





IIRC, motorola has a new HC12 MCU under the UF32 family, which has
USB/NAND Flash,SD/MMC,ATA/IDE interface. I believe this chip is
targetted at those multi function memory reader devices. Prelimnary
info was given at a Motorola roadshow, however no datasheet or info
officially available yet. Try contacting moto support on this.
Jay

--- In , Peter Lissenburg <peter@s...> wrote:
> Hi Bob,
> I think the problem will be that the USB flash card
expects to see
> a USB master at the end of the line. Whereas the FTDI chips are USB
slaves.
> Another alternative is a MultiMediaCard or SD Card, instead, you
can talk
> to these via SPI, very low hardware overhead. Remove and plug into
a USB
> based card reader connected to the PC.
> I'm working on a limited FAT16 for these now. It may be available
in the
> (Near???) future.
> Good luck.
> Peter L. > At 11:07 PM 8/02/2004 -0500, you wrote:
> >Hi Everyone:
> >
> >We are using the 9S12DG128a, and ICC12compiler and want to add USB
for a
> >flash drive.
> >* Does anyone know of libraries either shareware or
commercially
> >(preferably available for the HC12, but just ANSI C would be fine)
in C to
> >implement a windows based file system on a USB flash memory card.
The
> >objective would be to use Windows Explorer to move the data file
to the PC
> >disk drive.
> >* Could anyone recommend a USB IC please? We are currently
using the
> >FTDI USB232BM IC for USB to RS232 conversion and it works well,
but I was
> >wondering if there was a similar IC that would do higher speed
transfers in
> >parallel to support high capacity flash disks.
> >
> >Thanks for the help.
> >
> >Bob Lewis
> >
> >
> >
> >
> >
> >
> >--------------------To learn
more
> >about Motorola Microcontrollers, please visit
> >http://www.motorola.com/mcu
> >o learn more about Motorola Microcontrollers, please visit
> >http://www.motorola.com/mcu
> >
> >Yahoo! Groups Links
> >
> >
> >
> >





The 2024 Embedded Online Conference