Forum Discussion

TKerk3's avatar
TKerk3
Icon for New Contributor rankNew Contributor
5 years ago

How can I connect the UART pins on the DE10 nano to the USB mini-B connector?

I'm trying to establish a serial connection from my DE10 nano to my laptop. I tried doing this using the HPS but when I connect it to Putty the data is like:

askenv - get environment variables from stdin

base - print or set address offset

bdinfo - print Board Info structure

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootefi - Boots an EFI payload from memory

bootelf - Boot from an ELF image in memory

bootm - boot application image from memory

bootp - boot image via network using BOOTP/TFTP protocol

bootvx - Boot vxWorks from an ELF image

bootz - boot Linux zImage image from memory

bridge - SoCFPGA HPS FPGA bridge control

chpart - change active partition

clocks - display clocks

cmp - memory compare

coninfo - print console devices and information

cp - memory copy

crc32 - checksum calculation

dcache - enable or disable data cache

dfu - Device Firmware Upgrade

dhcp - boot image via network using DHCP/TFTP protocol

dm - Driver model low level access

echo - echo args to console

editenv - edit environment variable

env - environment handling commands

exit - exit script

ext4load- load binary file from a Ext4 filesystem

ext4ls - list files in a directory (default /)

ext4size- determine a file's size

ext4write- create a file in the root directory

false - do nothing, unsuccessfully

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls - list files in a directory (default /)

fatsize - determine a file's size

fatwrite- write file into a dos filesystem

fdt - flattened device tree utility commands

fpga - loadable FPGA image support

fstype - Look up a filesystem type

go - start application at address 'addr'

gpio - query and control gpio pins

grepenv - search environment variables

help - print command description/usage

i2c - I2C sub-system

icache - enable or disable instruction cache

iminfo - print header information for application image

imxtract- extract a part of a multi-image

itest - return true/false on integer compare

load - load binary file from a filesystem

loadb - load binary file over serial line (kermit mode)

loads - load S-Record file over serial line

loadx - load binary file over serial line (xmodem mode)

loady - load binary file over serial line (ymodem mode)

loop - infinite loop on address range

ls - list files in a directory (default /)

md - memory display

mdio - MDIO utility commands

mii - MII utility commands

mm - memory modify (auto-incrementing address)

mmc - MMC sub system

mmcinfo - display MMC info

mtdparts- define flash/nand partitions

mw - memory write (fill)

nfs - boot image via network using NFS protocol

nm - memory modify (constant address)

ping - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

pxe - commands to get and boot from pxe files

reset - Perform RESET of the CPU

run - run commands in an environment variable

save - save file to a filesystem

saveenv - save environment variables to persistent storage

setenv - set environment variables

setexpr - set environment variable as the result of eval expression

showvar - print local hushshell variables

size - determine a file's size

sleep - delay execution for some time

source - run script from memory

sspi - SPI utility command

sysboot - command to get and boot from syslinux files

test - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

true - do nothing, successfully

ums - Use the UMS [USB Mass Storage]

usb - USB sub-system

usbboot - boot from USB device

version - print monitor, compiler and linker version

Does anyone know what i'm doing wrong?

3 Replies