USB hostcontroller for TQM823L boards seems to work

2 messages, 2 authors, 2002-06-07 · open the first message on its own page

USB hostcontroller for TQM823L boards seems to work

From: Christian Schroeder <hidden>
Date: 2002-06-06 10:48:48

Hi all,

I succeded testing the usb hostcontroller (sources from www.heeltoe.com
written by Brad Parker).

1. Hardware

- TQM823L board with mpc823e (PPC823EZTnnB2)
- connection between X7/7 (Timer 1 output) and X9/16 (/DREQ1) to
  enable the spi/iic microcode patch
- 4 delay gates (74LVT244A) beetwen X32/1 resp. X32/3 (VM/VP outputs
  of the PDIUSBP11A) and X32/2 resp. X32/4 (USBXRM and USBXRP inputs
  of the mpc823e) required , power supply from X3/9 (+3,3V) an X3/3 (GND)
- connection of a high speed device (hub) to the usb connector required
  (low speed devices are only detected behind this hub)

2. Software

- linux-2.4.4 kernel sources from ftp.denx.de
- m8xxhci.c from www.heeltoe.com (added as config option CONFIG_USB_MPC8xx
  and to .../drivers/usb/...)
  #ifdef CONFIG_TQM823L
  #define USE_TIMER1_FOR_SOF
  #define USE_PA4_CLK4
  #undef POLL_FOR_HUB
  #endif
- kernel configuration (.config)
  CONFIG_UCODE_PATH=y
  CONFIG_USB=y
  CONFIG_USB_DEBUG=y
  (for testing)
  CONFIG_USB_MPC8xx=y
  (don't include usb mouse and usb keyboard drivers for testing,
   because the mouse an keyboard drivers claim the interfaces and
   the sample driver cannot see any data transfers)
  CONFIG_INPUT=y
  CONFIG_INPUT_EVDEV=y
  (mousedev and keybdev drivers don't link for ppc - undefined symbols)

3. Testing

- I used the sample usb driver from Alessandro Rubini and Jonathan Corbet
  and plugged it as a module to the running kernel.
  (http://examples.oreilly.com/linuxdrive2/ldd2-samples-1.0.1.tar.gz)
- I plugged a usb mouse and a usb keyboard to the external usb hub, connected to
  the board.
- When I moved the mouse, pressed mouse buttons or keys on the keybord,
  the kernel dumped the results to the console, so I think the host con-
  troller works correctly.

Thanks a lot for all help and comments.

Now I want to check, if I can repeat the results with my FADS823 board,
but I'm not sure if there is a possibility to do the necessary hardware
modifications. Specially I don't have any idea how to insert the delay
gates. Any hints would be greatly appreciated

Christian Schroeder

Dr.-Ing. Christian Schroeder
Institut fuer Mikroelektronik- und Mechatronik-Systeme
Langewiesener Strasse 22
98693 Ilmenau
Telefon: +49 3677 678315
Telefax: +49 3677 678337
Mobil:   +49 173 5789172
e-mail:  christian.schroeder@imms.de
www:     http://www.imms.de/~christi/cs.html
pgp:     finger christi@finger.imms.de


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: USB hostcontroller for TQM823L boards seems to work

From: jari <hidden>
Date: 2002-06-07 04:45:19

Hello,

I think that your FAD823 is the same as my RPX-Lite 823.
I made it work in high speed mode (usb host and usb slave), but I could not
make it work with low speed USB device as you did.
Furthermore, I am not a HW guy, please inform me your advance.

Thanks and waiting for your success,
Jari Nguyen Trung Thanh


On Thursday 06 June 2002 17:48, Christian Schroeder wrote:
Hi all,

I succeded testing the usb hostcontroller (sources from www.heeltoe.com
written by Brad Parker).

1. Hardware

- TQM823L board with mpc823e (PPC823EZTnnB2)
- connection between X7/7 (Timer 1 output) and X9/16 (/DREQ1) to
  enable the spi/iic microcode patch
- 4 delay gates (74LVT244A) beetwen X32/1 resp. X32/3 (VM/VP outputs
  of the PDIUSBP11A) and X32/2 resp. X32/4 (USBXRM and USBXRP inputs
  of the mpc823e) required , power supply from X3/9 (+3,3V) an X3/3 (GND)
- connection of a high speed device (hub) to the usb connector required
  (low speed devices are only detected behind this hub)

2. Software

- linux-2.4.4 kernel sources from ftp.denx.de
- m8xxhci.c from www.heeltoe.com (added as config option CONFIG_USB_MPC8xx
  and to .../drivers/usb/...)
  #ifdef CONFIG_TQM823L
  #define USE_TIMER1_FOR_SOF
  #define USE_PA4_CLK4
  #undef POLL_FOR_HUB
  #endif
- kernel configuration (.config)
  CONFIG_UCODE_PATH=y
  CONFIG_USB=y
  CONFIG_USB_DEBUG=y
  (for testing)
  CONFIG_USB_MPC8xx=y
  (don't include usb mouse and usb keyboard drivers for testing,
   because the mouse an keyboard drivers claim the interfaces and
   the sample driver cannot see any data transfers)
  CONFIG_INPUT=y
  CONFIG_INPUT_EVDEV=y
  (mousedev and keybdev drivers don't link for ppc - undefined symbols)

3. Testing

- I used the sample usb driver from Alessandro Rubini and Jonathan Corbet
  and plugged it as a module to the running kernel.
  (http://examples.oreilly.com/linuxdrive2/ldd2-samples-1.0.1.tar.gz)
- I plugged a usb mouse and a usb keyboard to the external usb hub,
connected to the board.
- When I moved the mouse, pressed mouse buttons or keys on the keybord,
  the kernel dumped the results to the console, so I think the host con-
  troller works correctly.

Thanks a lot for all help and comments.

Now I want to check, if I can repeat the results with my FADS823 board,
but I'm not sure if there is a possibility to do the necessary hardware
modifications. Specially I don't have any idea how to insert the delay
gates. Any hints would be greatly appreciated

Christian Schroeder

Dr.-Ing. Christian Schroeder
Institut fuer Mikroelektronik- und Mechatronik-Systeme
Langewiesener Strasse 22
98693 Ilmenau
Telefon: +49 3677 678315
Telefax: +49 3677 678337
Mobil:   +49 173 5789172
e-mail:  christian.schroeder@imms.de
www:     http://www.imms.de/~christi/cs.html
pgp:     finger christi@finger.imms.de
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help