PINE64
Product Idea: USB Flash Drives - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=74)
+--- Thread: Product Idea: USB Flash Drives (/showthread.php?tid=13301)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: Product Idea: USB Flash Drives - dsimic - 07-09-2021

(07-09-2021, 09:03 AM)biketool Wrote: But I would love to have a shot at a USB flash drive where I can play with the firmware and do stuff like goodUSB or even just a mouse wiggler for IM online status by moving a little dip switch or jumper.

That's exactly what this project aims at: making an inexpensive, open USB storage device that can also be used as a small general-purpose embedded device. Smile


RE: Product Idea: USB Flash Drives - barray - 07-10-2021

(07-09-2021, 03:09 AM)biketool Wrote: I had a ATtiny85(cheap digispark board) connected to a SD card a few years ago as part of a badusb fake-keyboard and mass storage experiment.  It wasn't fast but it worked.  I was using the Arduino IDE so that fit even with micronucleus bootloader loaded on the attiny.

Very cool! I also had some success with the Digispark board too, although for doing high speed motor control. I'm glad to hear it was also successful at being a slow mass storage device - any kind of idea what speeds you got?

(07-09-2021, 03:27 AM)dsimic Wrote: Here's another issue I've been working on, and the fixes have been accepted by Manjaro ARM.  It was a small but rather nasty bug to flush out. Cool

Aren't they always!

(07-09-2021, 03:27 AM)dsimic Wrote: Of course, I'll keep you updated and I'll try to upstream any changes I might end up making.

Great!


RE: Product Idea: USB Flash Drives - biketool - 07-10-2021

(07-10-2021, 04:53 AM)barray Wrote:
(07-09-2021, 03:09 AM)biketool Wrote: I had a ATtiny85(cheap digispark board) connected to a SD card a few years ago as part of a badusb fake-keyboard and mass storage experiment.  It wasn't fast but it worked.  I was using the Arduino IDE so that fit even with micronucleus bootloader loaded on the attiny.

Very cool! I also had some success with the Digispark board too, although for doing high speed motor control. I'm glad to hear it was also successful at being a slow mass storage device - any kind of idea what speeds you got?
<snip>
I do not recall, it may not have even been that slow, I will attach the data sheet(cant attach have to link) as I have to go.
The slowness may have been an assumption, but I couldnt find a throughput in a wquik document skim.
https://pdf1.alldatasheet.com/datasheet-pdf/view/174761/ATMEL/ATTINY85.html
I will say that the ATtiny84&85 in DIP-8&16 or on a Digispark is my go-to for simple automation, so easy to use and even with the micronucleus bootloader(has an initial USB flashing mode) it has not run out of memory for me and makes using arduino code scraps super easy.


RE: Product Idea: USB Flash Drives - barray - 07-12-2021

(07-10-2021, 11:54 AM)biketool Wrote: I do not recall, it may not have even been that slow, I will attach the data sheet(cant attach have to link) as I have to go.

If it's using the same USB library I used, it spends most of its time trying not to let the USB connection die. The USB library also seems to have multiple bugs in it... From memory it does a poll loop for 10ms or so on every byte transfer or something ridiculous like that.

(07-10-2021, 11:54 AM)biketool Wrote: The slowness may have been an assumption, but I couldnt find a throughput in a wquik document skim.

16MHz will be the absolute max as that's what the chip runs at - I'm not sure the I/O runs that fast though.

(07-10-2021, 11:54 AM)biketool Wrote: https://pdf1.alldatasheet.com/datasheet-pdf/view/174761/ATMEL/ATTINY85.html

I'm painfully aware of this document Tongue

(07-10-2021, 11:54 AM)biketool Wrote: I will say that the ATtiny84&85 in DIP-8&16 or on a Digispark is my go-to for simple automation, so easy to use and even with the micronucleus bootloader(has an initial USB flashing mode) it has not run out of memory for me and makes using arduino code scraps super easy.

Yeah I use them for motor control - I actually have a stock of 100 or so of them sitting on my drawer Smile But they need to be flashed the manual way as they don't currently have a bootloader.

With regards to this flash project, I don't believe they will be suitable. We ideally need something *alot* more powerful to get anything even close to full USB 2.0 speeds.


RE: Product Idea: USB Flash Drives - tarksur - 09-01-2022

Attaching a USB 2.0 device interface over SPI may suffice, but we'd need something better than the MCP2210 you've linked above.  It runs at Full-Speed USB 2.0 (12 Mbit/s), which is very slow; we'd really need a High-Speed USB 2.0 (480 Mbit/s) interface. tellculvers com survey taco bell breakfast hours