Just how "unclean" is it to waste the
on-chip USB controller just
because of the suitly crap surrounding the Vendor IDs and stuff?
As a potential
device user, I would prefer [...]
Well...just two comments about that: You're
not a potential user of
this device [...]
Ah. I assumed we were speaking in generalities, not about any specific
device. If it's not a device for general-purpose consumption, my
remarks mostly do not apply.
(no offense intended...see below),
None taken.
and I consider USB to be pretty standard.
Like RS232, it is, strictly speaking. Also like RS232, the standard is
widely ignored in at least some respects (I've got almost as many
male-to-female extender cables with host-port male on one end and
host-port female on the other as I do devices; such cables should not
exist at all). Also like RS232, the hardware is only part of the
problem; the software layers above are usually at least as important.
However, the RS232 abstraction is substantially weaker than the USB
abstraction, making those upper layers easier to work with in almost
every respect.
If you _must_
go USB,
I must. It is a requirement from the customer, [...]
Sure. Again, I hadn't realized we were speaking about a specific
limited-market device.
"Unclean" can go hang - especially if [...]
"Unclean" will not
"go hang" here. I am incredibly anal with my
designs. Period.
Perhaps I was too abbreviated. To put it more precisely, "someone
else's idea of `unclean' that's liberal enough to trip on just using a
USB<->serial chip on the UART pins of a SoC instead of going through
the whole USB VID dance can go hang, in the sense that I am not going
to care about it".
USB is not evil.
Not most of it. Some aspects of it come pretty close, though, perhaps
most notably the vendor IDs; that paradigm could hardly have been
designed better even by deliberate intent to lock out everyone but
for-profit companies (and, maybe, a few of the richest hobbyists).
In fact, for what it was designed to do, it works
amazingly well.
It's not even "new" anymore, so we can't use that excuse.
The biggest problem I have with it is that it requires a full-fledged
CPU or a comparable amount of custom silicon to speak at all - it is
not amenable to "throw together a breadboard lashup from discretes"
implementations. Of course, this is a purely personal point of view;
there's only one other person here I'm reasonably sure will agree with
it, that being tony.
My question was an attempt to get a fellow
designer's opinion of the
level of design ugliness brought forth by implementing it with a
separate chip [...] while my microcontroller already has USB support
(multiple in fact) on-chip.
Then I can't really offer an opinion, because that ugliness (to the
extent that it is ugliness at all) has to be balanced off against other
issues, most of which I don't have enough information on. (Examples
are board space, other potential uses for the UART pins, and other
potential uses for the on-chip USB interfaces.)
One other important point here...there is insufficient
space
available for a DB25 or DE9 connector on the last two boards I
designed.
That's a problem only if you think serial necessarily means one of
those two. Indeed, there's no technical reason you couldn't use
whatever connector you'd use for USB but put RS232 signals on its pins.
(It'd be a problem waiting to happen in various respects, but those are
reasons you might not want to do it, not reasons you couldn't if you
wanted to. I'd prefer some other connector of similar size...though,
again, that's speaking from a general-purpose-device viewpoint.)
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B