[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Re: [microblaze-uclinux] keyboard
Hi,
Thanks for ur information and interest. Here are my answers...
Hello,
>
> Thanks for your informations. Without being clear
>about Microblaze's terminologies and conventions, I
>assume that base and high addresses specify the memory
>mapped address ranges for peripheral devices. Here
>are a few statements(and questions) in continuation:
>
>(1) You have obtained the PS2 controller from
>opencores. The problem is, your driver does not
>receive the scancodes. Are you sure that PS2
>controller is getting the scancodes correctly?
Yes. My PS2 controller is getting scancodes correctly for every keypress...
>(2) Is the PS2 controller verified in isolation?
>That is, we can direct the outputs of controller to
>seven segment display so that each time there is a
>key-press some symbol is displayed on the 7SD. The
>symbol is uniquely correlated with the key pressed.
>Scancodes are available on the WWW and can be verified
>with the display. Probably something similar is
>already done. Is it?
Exactly... The stand-alone PS2 controller was verified already and working. I had done exactly as the way told. I mapped the 8-bit scancode to sevensegment display and led and checked the scancode for every keypress.
>(3) I guess that you have written the keyboard
>driver. Please provide more information about it if
>possible.
I am the default driver in uClinux distribution only. The driver is located in following path:
uClinux-dist/linux-2.4x/drivers/char/keyboard.c
uClinux-dist/linux-2.4x/drivers/char/pc_keyb.c
>(4) Please give me the complete URL of the PS2
>controller you have obtained.
We downloaded PS2 controller from following website:
www.opencores.org
>(5) Provide more details about your PS2 controller
>and driver.
PS2 controller:
We have written OPB interface for the PS2 controller and integrated with the MicroBlaze OPB interface. As any other peripheral, this is having BASEADDR and HIGHADDR specified in the MHS file. The interrupt output of the PS2 controller is connected to input of the interrput controller.
>(6) Can anyone tell me whether any instruction set
>simulator available for Microblaze wherein, one can
>boot uCLinux and have display of the sash prompt. I
>asked about this here roughly a year ago when
>microblaze-uCLinux was just blossoming. It was not
>available at that time. Is anyone trying it? Or is
>it available now?
>
>Thanks
>Srinivasan
>--- devi <devi@tenet.res.in> wrote:
>
>>
>> Hello,
>> >
>> > If you can, please provide more details. First
>> of
>> >all, what sort of interface you have with keyboard?
>>
>> >That is, which PS2 controller? And please explain
>> >what you mean by keyboard base address.
>> >
>> >Regards
>> >Srinivasan
>> >
>>
>> Hi,
>>
>> My keyboard has PS2 interface consisting of clock
>> and data pins of the keyboard being routed to the
>> ps2 controller in FPGA. the entire interface is
>> attached to OPB bus. I am using PS2 controller from
>> open source. By base address, I mean the peripheral
>> base address and high address specified for USER
>> IP...
>>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Meet the all-new My Yahoo! - Try it today!
>http://my.yahoo.com
>
>
>___________________________
>microblaze-uclinux mailing list
>microblaze-uclinux@itee.uq.edu.au
>Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/