Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

problem of serial UART (NEEK)

first, sorry for my poor english, and I am a Nios and Altera Newbie.

I want to make a Nios Processor that can blast a "hello world" message out of the serial port on the NEEK.

1. I use sopc to configure just include a nios2 cpu, on_chip_memory,and a uart, then assign the rxd_to_the_uart_0 with PIN_E18, and txd_from_the uart_0 with PIN_H17. Then make a software example hello world (just printf()). In IDE, on the "system library", select "uart" as stdout/stderr/stdin.

But when "run as hardware", there is nothing output on console.

2. I use the ptf of application_selector as the hardware design file, then make the hello world, and select "uart" as stdout/stderr/stdin. there is still nothing on the console.

ps: ①i already did :assignements->Device options->Device and pin options->Dual purpose pins>USE as regular I/O

②i already can did in IDE : debug>target connection, console->UART

please help me, thanks a lot!
No RepliesBe the first to reply