Development board with high-speed USB Support

Go To Last Post
17 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there,

I'm looking for a cheap Development board (arduino or any China clone) with on-chip USB support.
The board should enumerate as Mass Storage Device with FAT95 filesystem. The host should recognize the Device without additional drivers.
The Arduino Micro (atmega32u4) seems to support up to 12 MB/s. I need at least 50MB/s.

The Idea is to use the board as USB Stick with a custom write function.

Thank you.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Define, "cheap".

 

Does it have to be AVR ?

 

Does it have to be Arduino ?

Last Edited: Fri. Jul 7, 2017 - 10:14 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

babidi wrote:
FAT95 filesystem
Interesting. I am aware of FAT12 (floppy disks), FAT16 (original, small hard drives) and FAT32 (later, large hard drives, memory cards/sticks and so on).

 

After 12Mb/s the next step up in USB is 480Mb/s

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From the list of google hits (didn't go any further), "FAT95" seems to be something to do with Amiga ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:

Define, "cheap".

Hopefully less than 20€

 

Does it have to be AVR ?

No

 

Does it have to be Arduino ?


Any board with few GPIOs

Last Edited: Fri. Jul 7, 2017 - 01:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

FAT95 is what fdisk reads after the host formatted a disk. The host is a Samsung TV.
I don't remember exactly what it was but it's definitely a FATxx.

Last Edited: Fri. Jul 7, 2017 - 01:14 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

babidi wrote:
Any board with few GPIOs

There you go again - what does "few" mean?

 

babidi wrote:
The board should enumerate as Mass Storage Device with FAT95 filesystem.

Do you require the board to come complete with that software, or will you be providing it yourself?

 

babidi wrote:
I don't remember exactly what it was

If it's going to form part of the specification, then you'd better find out for sure!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK, here is the spec:

It should be a development board not just a naked microcontroller. I did some research and found the pro micro (5 china clones for less than 8€ on eBay) but it only supports USB full speed. I need something similar but with high speed.

I thought of avr since it has a large community and there are few USB frameworks I could use i.e. LUFA.

The purpose of the whole thing it to send the recorded data to a NFS share over the network (WiFi using esp10 that's why I need GPIOs to wire it )

Please correct me if I'm wrong but the software part is less of a problem since there are USB implementations around. I will have to change 2 features:
1. How to enumerate as a MSC with the right size and filesystem
2. Change the write method to send the data over the network

Hopefully it's precise enough I didn't tackle all the details yet, I'm learning by doing...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just googled "cheap microcontroller with "high speed" usb peripheral" and hit this interesting thread:

 

http://www.microchip.com/forums/...

 

So some suggestion that there might be some $4 32bitters out there with HS USB support perhaps.

 

You aren't going to get 480Mb/s in a lowly AVR8 though. Not sure if maybe Atmel 32 bit offerings might have it though?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
So some suggestion that there might be some $4 32bitters out there with HS USB support perhaps.
Indeed some in PIC32 but about double or triple 4USD.

There is one chipKIT board that has HS USB.

clawson wrote:
You aren't going to get 480Mb/s in a lowly AVR8 though. Not sure if maybe Atmel 32 bit offerings might have it though?
One AVR32 that has HS USB is UC3A3.

One UC3A3 product is Nitrokey Storage but it's much greater than the 20EUR requirement.

 


http://www.microchip.com/wwwproducts/en/PIC32MZ2048EFG144

http://chipkit.net/wiki/index.php?title=ChipKIT_Wi-Fire

https://shop.nitrokey.com/shop/product/nitrokey-storage-8gb-11

Nitrokey Storage

Installation

Linux

https://www.nitrokey.com/documentation/installation#p:nitrokey-storage&os:linux

...

8. Use the Nitrokey App to unlock the encrypted storage which doesn't contain a partition and filesystem yet. Use your operating system's tool to create a partition and file system. You can use any filesystem but FAT32 is most common for mobile storages.

...

https://github.com/Nitrokey/nitrokey-storage-firmware/blob/master/src/CONFIG/conf_usb.h 

...

#if UC3A3
// #define USB_HIGH_SPEED_SUPPORT DISABLED
#define USB_HIGH_SPEED_SUPPORT ENABLED
 

#define USB_MSD // For MSD

...

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

I just googled "cheap microcontroller with "high speed" usb peripheral" and hit this interesting thread:

 

http://www.microchip.com/forums/m613897-p2.aspx

Interesting thread indeed. It raises the question of the CPU speed. Didn't think of that one!

Last Edited: Fri. Jul 7, 2017 - 07:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

CY7C68013A seems to be a good candidate for less than 5€ on eBay. I'll give it a try.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

babidi wrote:
clawson wrote:

I just googled "cheap microcontroller with "high speed" usb peripheral" and hit this interesting thread:

 

http://www.microchip.com/forums/...

Interesting thread indeed. It raises the question of the CPU speed. Didn't think of that one!

 

That's quite an old thread, so more will be available since then.

 

babidi wrote:
CY7C68013A seems to be a good candidate for less than 5€ on eBay. I'll give it a try.

 

If that does not work out, when I looked for cheapest MCU with HS_USB, best I could find was the Nuvoton NUC505

 

https://direct.nuvoton.com/en/nu...

 

Development board is not your super-cheap level, but the chips come for ~ $1.75 / 1k, and Chip price was my main focus.

There is also Nuvoton M472 series in larger packages, and a new smaller packages M480 is being release, but I cannot yet find datasheet / prices.

https://www.embedded-world.de/en...

 

 

 

 

I think the AVR32 used in many Atmel Eval Boards, is HS-USB, so maybe you can find one of those boards cheap, and use the USB side MCU ?

 

Last Edited: Fri. Jul 7, 2017 - 08:51 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Silly question but why not simply use RPi or Beagle etc? (haven't checked but they MUST have all the high speed USB options surely?) 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Rpi doesn't have usb device.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:

Silly question but why not simply use RPi or Beagle etc? (haven't checked but they MUST have all the high speed USB options surely?) 

The RPi zero (W) would do it but I still can't get it that easily and cheap (shipping costs ~30€), I also have some concerns (not justifiable though) about the speed and I'd like to learn more about muc etc.. at the lower level.