Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | USB host + FAT32 filesystem

There are 9 messages in this thread.

You are currently looking at messages 0 to 9.

USB host + FAT32 filesystem - 07:06 18-07-08

Hi,

I'm gonna purchase the following embedded libraries:

USB Host + Mass Storage Class driver + FAT32 filesystem

Among many, I'm focusing my attention on (alphabetical order):

- HCC-Embedded
- Micrium
- Thesycon

Has anybody experiences with any of the three?

Thanks for any hint,
Enrico



Re: USB host + FAT32 filesystem - Not Really Me - 12:08 18-07-08

<z...@libero.it> wrote in message 
news:2...@q24g2000prf.googlegroups.com...
> Hi,
>
> I'm gonna purchase the following embedded libraries:
>
> USB Host + Mass Storage Class driver + FAT32 filesystem
>
> Among many, I'm focusing my attention on (alphabetical order):
>
> - HCC-Embedded
> - Micrium
> - Thesycon
>
> Has anybody experiences with any of the three?
>
> Thanks for any hint,
> Enrico
My company is currently working on a Validation Suite for Micrium's version 
of these items.  I have used the filesystem in previous projects and it 
worked quite well.  I have not used the USB in a project yet, but have spent 
time examining the code for validation.  It is consistent with Micrium's 
outstanding code quality.  That is not to say that we don't find the 
occasional thing to have them change for safety-critical use, but generally 
it is excellent.


-- 
Scott
Validated Software Corp. 



Re: USB host + FAT32 filesystem - Peter Petersen - 07:20 19-07-08

Hi Enrico,

> I'm gonna purchase the following embedded libraries:
>
> USB Host + Mass Storage Class driver + FAT32 filesystem
>
> Among many, I'm focusing my attention on (alphabetical order):
>
> - HCC-Embedded
> - Micrium
> - Thesycon

How about On Time's RTUSB-32 (http://www.on-time.com/rtusb-32.htm) and
RTFiles-32 (http://www.on-time.com/rtfiles-32.htm)? On page
http://www.on-time.com/rtos-32-eval.htm, you can download a free Evaluation
Kit of RTUSB-32 which includes the licensing terms, the Programming and
Reference Manuals, the complete source code of a System Driver (the porting
layer of RTUSB-32), and the source code of six example programs using
RTUSB-32.

Peter



Re: USB host + FAT32 filesystem - 05:33 20-07-08

On 19 Lug, 13:20, "Peter Petersen" <p...@on-time.de> wrote:
> Hi Enrico,
>
> > I'm gonna purchase the following embedded libraries:
>
> > USB Host + Mass Storage Class driver + FAT32 filesystem
>
> > Among many, I'm focusing my attention on (alphabetical order):
>
> > - HCC-Embedded
> > - Micrium
> > - Thesycon
>
> How about On Time's RTUSB-32 (http://www.on-time.com/rtusb-32.htm) and
> RTFiles-32 (http://www.on-time.com/rtfiles-32.htm)?On pagehttp://www.on-time.com/rtos-32-eval.htm, you can download
a free Evaluation
> Kit of RTUSB-32 which includes the licensing terms, the Programming and
> Reference Manuals, the complete source code of a System Driver (the porting
> layer of RTUSB-32), and the source code of six example programs using
> RTUSB-32.
>
> Peter

hi Peter,

I'll take a look, thanks.

How much does it cost the whole suite to read/write files from a USB
key?
I don't actually use any RTOS and would like to find a suite that is
not RTOS dependent.

Enrico

Re: USB host + FAT32 filesystem - Peter Petersen - 02:40 21-07-08

Hello Enrico,

> How much does it cost the whole suite to read/write files from a USB
> key?

You can find the price list on On Time's Web site:
http://www.on-time.com/rtos-32-prices.htm.

> I don't actually use any RTOS and would like to find a suite that is
> not RTOS dependent.

RTUSB-32 and RTFiles-32 do not depend on On Time's RTOS. They are completely
portable and are being used on many different systems. However, due to the
asynchronous nature of USB and its hot-plug/unplug capability, RTUSB-32 does
need threads.

Peter



Re: USB host + FAT32 filesystem - Peter Dickerson - 05:06 21-07-08

"Peter Petersen" <p...@on-time.de> wrote in message 
news:6...@mid.uni-berlin.de...
> Hello Enrico,
>
>> How much does it cost the whole suite to read/write files from a USB
>> key?
>
> You can find the price list on On Time's Web site:
> http://www.on-time.com/rtos-32-prices.htm.
>
>> I don't actually use any RTOS and would like to find a suite that is
>> not RTOS dependent.
>
> RTUSB-32 and RTFiles-32 do not depend on On Time's RTOS. They are 
> completely
> portable and are being used on many different systems. However, due to the
> asynchronous nature of USB and its hot-plug/unplug capability, RTUSB-32 
> does
> need threads.

I, too, have been asked to provide USB Flash capability on an existing 
product that doesn't have USB host hardware. So I would need to add that, 
obviously e.g. ISP1160 fits the hardware well. I already have FAT16+FAT32 
functionality using SD and SDHC cards so I would hope to be able to reuse 
that. What I don't have is a lot of spare RAM, no threading and a lot of 
code that can't or won't be changed - 14 products and counting based on this 
hardware. What aspects of threading are needed?

Peter 



Re: USB host + FAT32 filesystem - 12:06 21-07-08

Hi Peter,

> What aspects of threading are needed?
> Peter

I'm actually using a simple Round Robin with interrupts scheme, where
each task has the following form:


void my_task (void)
{
  switch (my_task_state)
  {
     case 0:
       .....
      break;

     case 1:
       .....
      break;

  }
}

Each task has its own state and returns the control each time it has
to wait for a signal.
There are no CRITICAL SECTIONS among different tasks.

I don't have threads.

Enrico


Re: USB host + FAT32 filesystem - Peter Petersen - 03:08 22-07-08

Peter,

> What aspects of threading are needed?

The hub class driver creates a thread which waits for messages sent from
root hubs of external hubs. These messages tell RTUSB-32 when USB devices
are attached or disconnected. For attachments, this thread then calls class
driver or application driver callbacks to allow them to handle one of more
interfaces of the new device.

Threads are required, though they do not have to be preemptive and you do
not need priorities. At least one synchronisation mechanism is required
(e.g. semaphores).

Peter



Re: USB host + FAT32 filesystem - Peter Dickerson - 03:39 22-07-08

"Peter Petersen" <p...@on-time.de> wrote in message 
news:6...@mid.uni-berlin.de...
> Peter,
>
>> What aspects of threading are needed?
>
> The hub class driver creates a thread which waits for messages sent from
> root hubs of external hubs. These messages tell RTUSB-32 when USB devices
> are attached or disconnected. For attachments, this thread then calls 
> class
> driver or application driver callbacks to allow them to handle one of more
> interfaces of the new device.
>
> Threads are required, though they do not have to be preemptive and you do
> not need priorities. At least one synchronisation mechanism is required
> (e.g. semaphores).

Well in that case I'm expecting marketing to say that we don't need to 
support hubs. I'm talking about someone who insisted he wanted to be able to 
plug in SDRAM and use it to store results. He got SD Card support instead 
and I edited SDRAM to SD Card in the manual and all was well.

Peter (Dickerson)