Reply by Jesse Kempa September 19, 20032003-09-19
> At least on the Cyclone board, this is not true -- only the most basic > pins are wired up on the DEBUG port (highly unfortunate IMO.) > > -hpa
Ooops, my apologies! I checked the Stratix edition schematic only. Thank you. - Jesse
Reply by clsan September 19, 20032003-09-19
Yeah!!!!

I success!!!
I have set the baud rate to 1200, no parity bit ,7 data bits and 1 stop bit
Use the standard serial is not work
Need to connect the pin on our own.

Mouse's RTS and GND need to connect to a 5V  and GND respectively, they can
be connected to 2 pins just besides the debug UART
the mouse txd and rxd connect to the stratix board txd and rxd respectively.




"Jesse Kempa" <kempaj@yahoo.com> ???
news:95776079.0309180911.4f8937ae@posting.google.com ???...
> "clsan" <clsan@cuhk.edu.hkk> wrote in message
news:<bkbs56$sbn$1@justice.itsc.cuhk.edu.hk>...
> > thx... > > I found that I can use the hyper terminal to communicate with the nios > > through the debug port, but I wonder whether the debug port has power
pin to
> > give the mouse.Do I need to do anything to activate the power pin or
not?
> > > > Thank you very much > > > > San > > > > Hi San, > > You might check the dev. board schematic (installed into the Nios kit > "documents/nios_stratix_1s10" folder) page 32, which goes over the > RS232 connections between FPGA & DB9 connectors. We use the same > circuit for both serial ports on the board. The distinction of > communication vs. debug serial port is just for software purposes > (where does STDOUT go...). For hardware development & interfacing > purposes, both ports are functionally equivalent. > > You might also look at whether the 'extra' UART pins are needed for > your mouse (I personally don't have any experience with serial mice!). > In the most basic UART you can create with SOPC Builder, there are TXD > & RXD pins only (because we are just interfacing to a PC terminal). > The remaining UART pins (RTS, CTS, etc.) are optional, and can be > turned on by editing the UART details for the UART(s) in your SOPC > Builder system... > > Jesse Kempa > Altera Corp. > jkempa at altera dot com
Reply by September 18, 20032003-09-18
Followup to:  <95776079.0309180911.4f8937ae@posting.google.com>
By author:    kempaj@yahoo.com (Jesse Kempa)
In newsgroup: comp.arch.fpga
> > You might check the dev. board schematic (installed into the Nios kit > "documents/nios_stratix_1s10" folder) page 32, which goes over the > RS232 connections between FPGA & DB9 connectors. We use the same > circuit for both serial ports on the board. The distinction of > communication vs. debug serial port is just for software purposes > (where does STDOUT go...). For hardware development & interfacing > purposes, both ports are functionally equivalent. >
At least on the Cyclone board, this is not true -- only the most basic pins are wired up on the DEBUG port (highly unfortunate IMO.) -hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! If you send me mail in HTML format I will assume it's spam. "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
Reply by Jesse Kempa September 18, 20032003-09-18
"clsan" <clsan@cuhk.edu.hkk> wrote in message news:<bkbs56$sbn$1@justice.itsc.cuhk.edu.hk>...
> thx... > I found that I can use the hyper terminal to communicate with the nios > through the debug port, but I wonder whether the debug port has power pin to > give the mouse.Do I need to do anything to activate the power pin or not? > > Thank you very much > > San >
Hi San, You might check the dev. board schematic (installed into the Nios kit "documents/nios_stratix_1s10" folder) page 32, which goes over the RS232 connections between FPGA & DB9 connectors. We use the same circuit for both serial ports on the board. The distinction of communication vs. debug serial port is just for software purposes (where does STDOUT go...). For hardware development & interfacing purposes, both ports are functionally equivalent. You might also look at whether the 'extra' UART pins are needed for your mouse (I personally don't have any experience with serial mice!). In the most basic UART you can create with SOPC Builder, there are TXD & RXD pins only (because we are just interfacing to a PC terminal). The remaining UART pins (RTS, CTS, etc.) are optional, and can be turned on by editing the UART details for the UART(s) in your SOPC Builder system... Jesse Kempa Altera Corp. jkempa at altera dot com
Reply by clsan September 18, 20032003-09-18
thx...
I found that I can use the hyper terminal to communicate with the nios
through the debug port, but I wonder whether the debug port has power pin to
give the mouse.Do I need to do anything to activate the power pin or not?

Thank you very much

San




"H. Peter Anvin" <hpa@zytor.com> ??? news:bjqb6b$5la$1@cesium.transmeta.com
???...
> Followup to: <bjmki8$1dam$1@justice.itsc.cuhk.edu.hk> > By author: "clsan" <clsan@cuhk.edu.hkk> > In newsgroup: comp.arch.fpga > > > > I have tried using the console uart instead of debug uart, it still
can't
> > work. > > > > I have connected the mouse to the board by a serial cable. Any one have
any
> > document that I can refer to? > > Thank you very much. > > > > Well, you need a null modem in between (the ports on the Nios card are > wired DCE; the mouse expects to be connected to a DTE.) > > Then, you need to find the exact combination of control signal outputs > that the mouse expects. This is how the mouse is powered!! > > -hpa > -- > <hpa@transmeta.com> at work, <hpa@zytor.com> in private! > If you send me mail in HTML format I will assume it's spam. > "Unix gives you enough rope to shoot yourself in the foot." > Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
Reply by September 11, 20032003-09-11
Followup to:  <bjmki8$1dam$1@justice.itsc.cuhk.edu.hk>
By author:    "clsan" <clsan@cuhk.edu.hkk>
In newsgroup: comp.arch.fpga
> > I have tried using the console uart instead of debug uart, it still can't > work. > > I have connected the mouse to the board by a serial cable. Any one have any > document that I can refer to? > Thank you very much. >
Well, you need a null modem in between (the ports on the Nios card are wired DCE; the mouse expects to be connected to a DTE.) Then, you need to find the exact combination of control signal outputs that the mouse expects. This is how the mouse is powered!! -hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! If you send me mail in HTML format I will assume it's spam. "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
Reply by clsan September 10, 20032003-09-10
I have tried using the console uart instead of debug uart, it still can't
work.

I have connected the mouse to the board by a serial cable.Any one have any
document that I can refer to?
Thank you very much.

San

"H. Peter Anvin" <hpa@zytor.com> ??? news:bjj3di$j57$1@cesium.transmeta.com
???...
> Followup to: <bjhgdo$1li7$1@justice.itsc.cuhk.edu.hk> > By author: "clsan" <clsan@cuhk.edu.hkk> > In newsgroup: comp.arch.fpga > > > > Hi all, > > > > I am doing a project and using Altera Nios Development kit with
Stratix
> > Edition. I need to connect a serial/PS/2 mouse to that board . But the
board
> > can't get any signal from the mouse, anyone has this experience can
share
> > with me?I have already set the UART 2 to 1200 baud rate. > > Thank you very much. > > > > Most mice need a particular combination of the control signals in > order to enter serial mode (as opposed to PS/2 mode.) This probably > means you need to use the CONSOLE port as opposed to the DEBUG port, > and drive the proper signals. > > You'd also need a null modem cable in between, since the NDK board is > wired as a DCE instead of a DTE (a mistake in my opinion.) > > -hpa > -- > <hpa@transmeta.com> at work, <hpa@zytor.com> in private! > If you send me mail in HTML format I will assume it's spam. > "Unix gives you enough rope to shoot yourself in the foot." > Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
Reply by September 8, 20032003-09-08
Followup to:  <bjhgdo$1li7$1@justice.itsc.cuhk.edu.hk>
By author:    "clsan" <clsan@cuhk.edu.hkk>
In newsgroup: comp.arch.fpga
> > Hi all, > > I am doing a project and using Altera Nios Development kit with Stratix > Edition. I need to connect a serial/PS/2 mouse to that board . But the board > can't get any signal from the mouse, anyone has this experience can share > with me?I have already set the UART 2 to 1200 baud rate. > Thank you very much. >
Most mice need a particular combination of the control signals in order to enter serial mode (as opposed to PS/2 mode.) This probably means you need to use the CONSOLE port as opposed to the DEBUG port, and drive the proper signals. You'd also need a null modem cable in between, since the NDK board is wired as a DCE instead of a DTE (a mistake in my opinion.) -hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! If you send me mail in HTML format I will assume it's spam. "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
Reply by clsan September 8, 20032003-09-08
Hi all,

    I am doing a project and using Altera Nios Development kit with Stratix
Edition. I need to connect a serial/PS/2 mouse to that board . But the board
can't get any signal from the mouse, anyone has this experience can share
with me?I have already set the UART 2 to 1200 baud rate.
Thank you very much.

San