Sorry, you need to enable JavaScript to visit this website.

Keyboard has no response

Solved
10 posts / 0 new
vinny's picture
vinny
Junior(0)
Keyboard has no response

Hi,

I successfully booted my Mini ITX with Avnet_Mini-ITX_7z100_2015_2_1_BSP and Zynq_Mini-ITX_7100_PetaLinux from the SD card. Unfortunately, the key presses from my keyboard are not being received by the PetaLinux promt. I am using kermit on Ubuntu 14.04LTS. Here is my kermit configuration file:
set line /dev/ttyUSB0
set speed 115200
set flow control none
set carrier-watch off
connect

Please let me know if anyone has advice to solve this issue.

Thank you.

vinny's picture
vinny
Junior(0)
I verified with wireshark and

I verified with wireshark and the characters are being sent through the port. However, the characters are not being displayed on the terminal using kermit. I'm assuming the loop-back function by PetaLinux is disabled, which I doubt, since I used PetaLinux 2012 on the ML605 and it functioned correctly. Any other debugging suggestions or advice?

Thanks.

zedman2000's picture
zedman2000
Moderator(2)
Hi there,

Hi there,

Have you been able to at least validate that the commands are responding? That is, if you run a command with an expected behavior do you see that behavior?

I'm curious if you just need to enable echo?

--Dan

vinny's picture
vinny
Junior(0)
I'm using the pre-built

I'm using the pre-built images in Avnet_Mini-ITX_7z100_2015_2_1_BSP and Zynq_Mini-ITX_7100_PetaLinux. And, there is no validation that the command is responding. When I entered the user name and password, there is no message stating that it was an incorrect login nor a shell prompt to run commands.

vinny's picture
vinny
Junior(0)
Brief update: I was able to

Brief update: I was able to login the system using ssh. However, I am still unable to login through the prompt.

zedhed's picture
zedhed
Moderator(25)
RE: Keyboard has no response

Hi vinny,

Please bear with me as I want to make sure that we have the basics covered here.

Are you seeing terminal output within Kermit on your console while the board is booting? If not, double check that you are connected into port J7 and NOT the USB-JTAG port?

If you are seeing terminal output from Linux but yet none of the characters typed come back, could it still be a configuration issue with Kermit?

Have you tried another terminal application to verify that there is not a problem with your Mini-ITX hardware (specifically the USB-UART). One application that I have used successfully is Minicom.

I ran into some permissions problems with setting it up but once those are overcome, it actually works very well for me.

Check out this thread here for further details:

http://microzed.org/content/how-connect-zedboard-centos-7

Regards,

-Kevin

vinny's picture
vinny
Junior(0)
Hi Kevin,

Hi Kevin,

Thanks for the reply.

to clarify, I am able to see the output on the console, but not the characters typed come back (echo function from console). With minicom, the issue is still present. I tried the instructions in the thread you provided, however the issue is still present.

Do you have any other recommendations?

Thanks.

vinny's picture
vinny
Junior(0)
Brief Update

Hi,

These are the change to my rules file.
"
# relax the permissions just for ttyUSB* used on Mini-ITX
KERNEL=="ttyUSB[0-9]", MODE="0666"

# prevent modem-manager from touching USB-UART and JTAG device that is a target board

# 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light (USB-UART)
SUBSYSTEM=="usb", ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", MODE="0666", GROUP="dialout", ENV{ID_MM_DEVICE_IGNORE}="1"

# 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC (JTAG)
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6014", MODE="0666", GROUP="dialout", ENV{ID_MM_DEVICE_IGNORE}="1"
"

I also added my account to the dialout group. I am able to probe the Device information from the FPGA using the Hardware Manager in Vivado.

Here is a view of the device files:
crw-rw-rw- 1 root dialout 188, 0 May 13 18:54 ttyUSB0
crw-rw-rw- 1 root dialout 188, 1 May 13 18:42 ttyUSB1

I am still unable to write to the console.

Any help would be appreciated.

Thank you.

vinny's picture
vinny
Junior(0)
I solved the issue. The issue

I solved the issue. The issue was an invalid character in the kermit configuration file. The other issue was the kernel version.

zedhed's picture
zedhed
Moderator(25)
RE: I solved the issue. The issue

Hi vinny,

Glad to hear that you got this working!

Would you please post the relevant portions of your kermit configuration file to share with the community?

Also, which kernel version did you end up settling on?

Regards,

-Kevin