2009-09-01 06:38:53     bf533-ezkit with isp1362

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-09-01 06:38:53     bf533-ezkit with isp1362

xm ye (CHINA)

Message: 79427   

 

hi,

 

i 'm using bf533-ezkit,i want to use isp1362(usb controller),i choose the usb surport option and isp1362 as the host controller when i comile the image,the boot information display

 

"driver isp1362-hcd, 2005-04-04                                                       

bfin-wdt: initialized: timeout=20 sec (nowayout=0) "

 

 

 

and then i used "lsusb" to display something ,but there be nothing.I think whether is my isp1362 addresss(in my board the isp1362 addr is 0x20330000) is dirrent with the compiled driver,because my "ezkit" board is not the real ezkit board,so should i need to chang the driver or there is some other problems?

 

 

 

thank you for you repy!

QuoteReplyEditDelete

 

 

2009-09-01 06:48:23     bf533-ezkit with isp1362

Michael Hennerich (GERMANY)

Message: 79428    You need to add struct platform_device isp1362_hcd_device to

 

static struct platform_device *ezkit_devices[]

 

as a reference take a look at:

 

arch/blackfin/mach-bf537/boards/stamp.c

 

-Michael

QuoteReplyEditDelete

 

 

2009-09-01 22:48:01     Re: bf533-ezkit with isp1362

xm ye (CHINA)

Message: 79456   

 

thank you Michael,i have followed you instruction and add  the "struct resouce" like this :

 

 

 

 

 

static struct resource isp1362_hcd_resources[] = {

    {

        .start = 0x20330000,

        .end = 0x20330000,

        .flags = IORESOURCE_MEM,

    }, {

        .start = 0x20330002,

        .end = 0x20330002,

        .flags = IORESOURCE_MEM,

    }, {

        .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ,

        .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ,

        .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,

    },

};

 

 

 

but the last item about IRQ is the problem when i make it ,i don't know how to config the IRQ when i "make menuconfig",i can't find relative option about IRQ ,please give some instructions, thank you  again!

QuoteReplyEditDelete

 

 

2009-09-01 22:59:37     Re: bf533-ezkit with isp1362

Mike Frysinger (UNITED STATES)

Message: 79457   

 

set it manually then

QuoteReplyEditDelete

 

 

2009-09-07 08:01:14     Re: bf533-ezkit with isp1362

xm ye (CHINA)

Message: 79639   

 

thank you Mike.My ISP1362 have work.Actually i connect it with a WebCam, i have compiled  ISP1362 HCD and V4L2 driver,and i inserted my WebCam ,it show some message :

 

root:/> usb 1-2: new full speed USB device using isp1362-hcd and address 2     

usb 1-2: configuration #1 chosen from 1 choice                                 

usb 1-2: New USB device found, idVendor=04fc, idProduct=2700                   

usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0              

usb 1-2: Product: USB2.0 WebCam                                                

usb 1-2: Manufacturer: WebCam Co Ltd   

 

 

 

it can instruct  that the USB driver and V4L2 have work ,but int the /dev it was no video0,so i  "mknod  /dev/video0  c 81 0" ,but in my application it can't open the devices,the  error was " No such device or address ",what can the problem was?

 

is the driver not really work?

QuoteReplyEditDelete

 

 

2009-09-07 08:56:17     Re: bf533-ezkit with isp1362

Michael Hennerich (GERMANY)

Message: 79649   

 

Did you enable the V4L USB drivers suitable to your camera?

Take a look here:

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:usb_video_device_class&s[]=uvc

 

-Michael

QuoteReplyEditDelete

 

 

2009-09-08 05:51:12     Re: bf533-ezkit with isp1362

xm ye (CHINA)

Message: 79671   

 

i have seen this doc many times  :), i don't know weather it suitable. but i inserted my WebCam  in my PC linux(2.6.28), the 2.6.28 kernel  have  integate the UVC driver,and my WebCam is UVC ,it can work perfect when i run luvcview application. so it can instruct my WebCam is  a standard UVC video class? it should work in my uclinux, i think there will be another problem. please give some help.

QuoteReplyEditDelete

 

 

2009-09-08 06:13:20     Re: bf533-ezkit with isp1362

xm ye (CHINA)

Message: 79672   

 

i forget something. my V4L2 is compiles as module. so when i inserted WebCam then

 

modprobe uvcvideo it can show message as it can find the device well:

 

modprobe uvcvideo                                                     

Linux video capture interface: v2.00                                          

uvcvideo: Found UVC 1.00 device USB2.0 WebCam       (04fc:2700)               

usbcore: registered new interface driver uvcvideo                             

USB Video Class driver (v0.1.0)

Attachments

    Outcomes