Product Idea: USB Flash Drives
(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
  Reply
(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!
  Reply
(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-...INY85.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.
  Reply
(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-...INY85.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.
  Reply
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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible new Pine64 product - Pine Blue Ray DVD Linux tv box Omnios 5 1,394 07-24-2023, 03:21 PM
Last Post: Omnios
  QuartzPro64 SPI flash Melab 1 869 03-16-2023, 07:50 PM
Last Post: Melab
  Modular product design Zotax 0 829 01-28-2023, 11:50 AM
Last Post: Zotax
  Product Idea: PineTracker EternityForest 0 760 01-12-2023, 10:33 PM
Last Post: EternityForest
  New product idea: Pine Glasses Blathers 2 2,716 12-02-2022, 09:51 PM
Last Post: erikzoltan
Lightbulb Product Idea: Pine Graphics Tablet israel 10 8,104 04-19-2022, 04:12 AM
Last Post: Houstand345
  Article: Auto Flash and Test NuttX on RISC-V BL602 (PineCone) lupyuen 0 1,256 01-24-2022, 05:41 PM
Last Post: lupyuen
  Rackmount cluster case as a Pine Store product? dfr 3 3,292 09-30-2021, 04:52 PM
Last Post: poVoq
  E-Note Device (E-Ink, E-Paper, Project Idea) Sirius 9 8,970 08-18-2021, 08:28 AM
Last Post: biketool
  PineVR as a new product? poVoq 11 11,270 05-31-2021, 09:33 AM
Last Post: MirceaKitsune

Forum Jump:


Users browsing this thread: 4 Guest(s)