Re: [U-Boot-Users] MPC8280 USB console

Hi;
(2) What type of usb connections is neccessary for usbtty to work? I
mean,
is host PC running usb-host or usb-function and PQ2FADS-ZU running
usb-host
or usb-function?
WD# Can it operate in device mode?
WD# The PC is a standard USB host, and U-Boot will register itself as a serial device.
According to the MPC8280 Reference Manual, the USB controller, which does not conform to OHCI and UHCI programming model, operates in 2 modes, USB Functiona nd USB Host. I guess what you mean with "device mode" would be USB function mode in this context....
(3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC
WD# You better check what your hardware allows. Using a A-to-A cable with hartdware that is not compatible may ruin both your target board and the PC.
The only USB connector on the board is a Type-A connector. So I have to use Type-A-to-Type-A cable. My question is, would this cable naturally be a cross-connect cable?
Thanks & Regards, TEH
Wolfgang Denk wd@denx.de@denx.de on 08/12/2005 09:12:16 PM
Sent by: wd@denx.de
To: "KokHow Teh" KokHow.Teh@marconi.com cc: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] MPC8280 USB console
In message OF148161B0.215740C5-ON4825705B.001BEE4A@uk.marconicomms.com you wrote:
I am trying to bring up the USB controller on PQ2FADS-ZU with
MPC8280
onboard. I have finished with the initialization and transaction routines but not the ones neccessary for usbtty to work. The u-boot-1.1.2 source
Don't use such old code. Please use a current version from CVS, for example CVS tag LABEL_2005_08_12_0050
tree that I am using is a release version that is definitely not from the top of the CVS. I notice that the usbtty is only implemented for the SX1
This will become a major problem if you should ever have any problems or questions.
(1) The USB connector on PQ2FADS-ZU is a Type-A connector. Would this
work
as a console port?
Can it operate in device mode?
(2) What type of usb connections is neccessary for usbtty to work? I
mean,
is host PC running usb-host or usb-function and PQ2FADS-ZU running
usb-host
or usb-function?
The PC is a standard USB host, and U-Boot will register itself as a serial device.
(3) What type of cable should I use? I assume a Type-A-to-Type-A PC-to-PC
You better check what your hardware allows. Using a A-to-A cable with hartdware that is not compatible may ruin both your target board and the PC.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de The only way you could make a happy marriage is by cuttin' their heads off as soon as they say `I do', yes? You can't make happi- ness... - Terry Pratchett, _Witches Abroad_

In message OF78D6146B.9ED0D2B2-ON4825705C.00148F71@uk.marconicomms.com you wrote:
According to the MPC8280 Reference Manual, the USB controller, which does not conform to OHCI and UHCI programming model, operates in 2 modes, USB Functiona nd USB Host. I guess what you mean with "device mode" would be USB function mode in this context....
Yes, but does the PQ2FADS-ZU support this mode?
WD# You better check what your hardware allows. Using a A-to-A cable with hartdware that is not compatible may ruin both your target board and the PC.
The only USB connector on the board is a Type-A connector. So I have to use Type-A-to-Type-A cable. My question is, would this cable naturally be a cross-connect cable?
Again: you better check what your hardware *allows*. There is more to USB than just the controller in the processor.
Best regards,
Wolfgang Denk
participants (2)
-
KokHow Teh
-
Wolfgang Denk