Forum Discussion

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

change UART port/pin assignments

Hi,

I am working with a Nios II 2C35 dev board and I do not want to use the built-in serial port connector. I would like to use the J16 connector on the board to connect up RXD and TXD. I have done this in SOPC builder and verified that the .ptf file lists the new ports (on the FPGA) for the rxd and txd lines. However, after doing a "make clean" and rebuilding everything in uClinux, the serial port is still used... It seems as if the uClinux build system does not use the ports specified in the .ptf file.

I would appreciate any suggestions.

Thanks in advance!

- Amir

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You don't need to change the SOPC builder

    You can just change the pins assignment in Quartus, regenerate sof.

    If you change SOPC builder, you need to name the uart you want for console as "uart_0" .

    And run hwselect .