- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif I want to use usb camera on altera 1c20 dev board,
I will programme for grabbling images via video4liux API, I will display images in IE through boa web server, is USB2.0 IP core and uClinux driver necessary?if I use ISP1761 could you give me some ideas? thank you! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gifLink Copied
19 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by zhangyan_swpu@Nov 2 2006, 09:43 AM http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif i want to use usb camera on altera 1c20 dev board,
i will programme for grabbling images via video4liux api,
i will display images in ie through boa web server,
is usb2.0 ip core and uclinux driver necessary?if i use isp1761
could you give me some ideas?
thank you! http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19078)
--- quote end ---
--- Quote End --- You don't need the USB2.0 IP core. You can find link to ISP1761 driver in the UsbHost page on nios wiki. There is a patch for kernel 2.6.17 . The uClinux-dist-20060803 uses kernel 2.6.17 . You should be able to add the driver. I shall prepare a simple interface core to ISP1761 and add the patch, if I could find some spare time. But I have only very limited time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's great!
hippo! Thank you very much for your reply! Regards zhangyan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
Using usb camera on dev board involves hardware and software designs, I want to use USB driver in nios wiki, but in hardware, I am still confused , how to connect USB controller(isp1362 or isp1761) in SOPC Builder in quartus? does usb camera work without USB2.0 ip core? I don't kown how to acess usb camera without USB2.0 ip core. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif Regards zhangyan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by zhangyan_swpu@Nov 7 2006, 10:14 PM http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif
using usb camera on dev board involves hardware and software designs,
i want to use usb driver in nios wiki,
but in hardware, i am still confused ,
how to connect usb controller(isp1362 or isp1761) in sopc builder in quartus?
does usb camera work without usb2.0 ip core?
i don't kown how to acess usb camera without usb2.0 ip core.
http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/huh.gif
regards
zhangyan
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19263)
--- quote end ---
--- Quote End --- I will add and try out isp1761. It may take one or two weeks. I shall let you know the result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use ps/2 for mouse and keyboard in the linux on the DE2,how i should do?
thank you!!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by liuxiaoping@Dec 28 2006, 04:36 PM i want to use ps/2 for mouse and keyboard in the linux on the de2,how i should do?
thank you!!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20254)
--- quote end ---
--- Quote End --- You can look at DE2 demo, or lancelot at http://www.fpga.nl/lancelot.html (http://www.fpga.nl/lancelot.html) There are the PS/2 interface. You still need to write the drivers. Look in linux-2.6.x/drivers/input dir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the DE2 demo?
how i can find that? thank you!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by liuxiaoping@Dec 29 2006, 07:11 PM what is the de2 demo?
how i can find that?
thank you!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20284)
--- quote end ---
--- Quote End --- DE2 is a dev board, http://www.terasic.com/downloads/cd-rom/de2/ (http://www.terasic.com/downloads/cd-rom/de2/)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I mean,where i can find the demo of ps/2 on DE2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by feng8126@Dec 30 2006, 09:11 AM i mean,where i can find the demo of ps/2 on de2.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20290)
--- quote end ---
--- Quote End --- http://www.altera.com/education/univ/ip-co...v-ip-cores.html (http://www.altera.com/education/univ/ip-cores/unv-ip-cores.html)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
to hippo:
The uClinux driver about usb host is a common driver,or not? Is this driver only support the USB2.0 IP core ? Can this driver driver the usb host on ARM? If i want to write the Registers of USB2.0 IP core,iit means that i can find such case"IOWR(base, REG, data)" on the driver. but i can't. Do you know how the ucliux solve this? Thank you!!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by feng8126@Jan 4 2007, 08:17 PM to hippo:
the uclinux driver about usb host is a common driver,or not?
is this driver only support the usb2.0 ip core ? can this driver driver the usb host on arm?
if i want to write the registers of usb2.0 ip core,iit means that i can find such case"iowr(base, reg, data)" on the driver. but i can't.
do you know how the ucliux solve this?
thank you!!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20353)
--- quote end ---
--- Quote End --- The ISP1761 dose not need USB 2.0 IP core. They are two different things. The USB has two functions, host and device. You need to know which one you want. The ISP1761 is a common part, which you can use on most embeded processors, including ARM, BF etc. There is a Linux host and device driver on sourceforge from the vendor , NPX. I don't know which USB 2.0 IP core you are refering, but it is not easy to write a USB driver. The port io functions are defined in linux-2.6.x/include/asm-nios2nommu/io.h .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To hippo:
Because the address of any devices on NIOS is not certain,so we need the .ptf file which come from the sopcbuilder for building the uclinux,I think i can find something about the .ptf file in the ucliux source. Could you understand me? Thank you very much!!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by liuxiaoping@Jan 5 2007, 09:59 AM to hippo:
because the address of any devices on nios is not certain,so we need the .ptf file which come from the sopcbuilder for building the uclinux,i think i can find something about the .ptf file in the ucliux source.
could you understand me?
thank you very much!!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20373)
--- quote end ---
--- Quote End --- The io ports address is generated from ptf file, in the hwselect perl script. We run "make vendor_hwselect SYSPTF=your_ptf_path" in uClinux-dist, (or make hwselect in the kernel tree). The port definition will be created in linux-2.6.x/include/nios2_system.h .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
to hippo:
Because of your help,now,i know of something,thank you! It means that the nios2_system.h is included in the device driver source. If i use two ps/2 ip for mouse and keyboard, in the nios2_system.h file ,there will be two defines.The problem is how i know whitch is for mouse and whitch is for keyboard in the uclinux.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by liuxiaoping@Jan 5 2007, 10:49 AM to hippo:
because of your help,now,i know of something,thank you!
it means that the nios2_system.h is included in the device driver source.
if i use two ps/2 ip for mouse and keyboard, in the nios2_system.h file ,there will be two defines.the problem is how i know whitch is for mouse and whitch is for keyboard in the uclinux.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20376)
--- quote end ---
--- Quote End --- It is off topic. You should start a new topic next time. In hardware, you can assign the ports usage, eg, ps2_0 for keyboard, ps2_1 for mouse. In software, you can query the devices to get device type. You will need to write serio driver for your PS/2 hardware. The kbd and mouse drivers will use it. linux-2.6.x/drivers/input/serio linux-2.6.x/Documents/input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello mr. hippo!
I need to rewrite isp1761_hcd linux driver under blackfin and uClinux. Is it enough to change two HAL files (hal_x86.c and hal_x86.h) ? Or I should rewrite pehci.c too, to get rid of PCI bus?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by konstantin@Jan 9 2007, 04:04 PM hello mr. hippo!
i need to rewrite isp1761_hcd linux driver under blackfin and uclinux.
is it enough to change two hal files (hal_x86.c and hal_x86.h) ?
or i should rewrite pehci.c too, to get rid of pci bus?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20429)
--- quote end ---
--- Quote End --- Bernard ported the driver to a PXA255 running 2.6.17. It's at http://dagobah.ucc.asn.au/isp1761/ (http://dagobah.ucc.asn.au/isp1761/). See http://sourceforge.net/mailarchive/forum.p...&forum_id=38940 (http://sourceforge.net/mailarchive/forum.p...&forum_id=38940) for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi hippo,
I also want to use ISP1761 for altera startix3 DE3. The Bernard link is not active anymore. Do you happen to have the driver. Thank you.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page