jamesadrian wrote:
The USB ports on a 6502 series device do not need to be related to or compatible with any other computer. An open platform could very well help change what people use. Lead, don't follow. They can write translation software if they want to follow us. They had their chance to stand for service to the customer. They are just trying to dominate and monopolize the market for every kind of computer use.
What nonsense is this? Of course they have to be compatible, that's why you call them USB -- so that they meet the standard for the communications and can interoperate. USB is an open industry standard. If you just want to use it for its connector, then, be my guest, but it's a disservice to the public, as they may rightly expect some kind of common USB connectivity when they see a USB port. Not quite sure what sinister cabal you're talking about here, being as USB is, you know, ubiquitous.
USB was a novelty back in '97 when Apple jumped on it for keyboards and mice and dumped the floppy drive. Today it's lingua franca.
jamesadrian wrote:
Does anybody here know how to write into a flash drive?
What kind? They're all different. Generic flash chips have their own unique protocols. There's IDE adapters for Compact Flash, SD Flash Cards support both SPI and a more complicated parallel interface. USB sticks are, well, USB Mass Storage Class devices.
I think someone recently was struggling getting SPI to work with some random cards, someone else has an IDE CF reader board.
All of those are "block level" access to the raw device.
If I was going to add a flash drive capability, I'd look to mount something like the CH376, which gives high level SPI access to DOS formatted USB sticks. That way I don't have to implement a file system myself. There's breakout boards for this thing everywhere, but I can't find the actual chip. Otherwise I'd look to an SPI interface for an SD Card.