Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Ankündigungen
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Diskussionen

How to use S10 SoC Uart1 through F2H AXI

Jiayi_H_Intel
Mitarbeiter
1.502Aufrufe

Hi expert,

 

I am using S10 SoC board and want to use Uart1 to print some log from my fpga logic.

I connected my AXI4 master to HPS's F2H AXI slave. And the F2H AXI interface signal is correct. But minicom in arm linux doesn't print anything. Any ideas?

Jiayi_H_Intel_4-1653038500282.png

 

read:

Jiayi_H_Intel_1-1653038115060.png

read response:

Jiayi_H_Intel_2-1653038189851.png

write:

Jiayi_H_Intel_3-1653038287314.png

 

Open minicom:

$./minicom -D /dev/ttyS1 -b 115200

Nothing print.

 

What I have done for prerequisite:

rebuild u-boot.image and socfpga_stratix10_socdk.dtb with UART1 enabled.

driver is successfully loaded in arm boot log:

Jiayi_H_Intel_0-1653037795356.png

 

 

 

 

 

0 Kudos
2 Antworten
IntelSupport
Administrator
1.471Aufrufe

Hello Jiayi_H_Intel,

 

First of all, can you send any message to PC via HPS UART1 from S10 SoC Linux?

Next, HPS UART bus width is 32 bit and low 8bit is valid.

 

According to address map below, the address of UART1 TX and RX buffer port is 0xFFC02100. But, AWADDR on your signal tap is 0xFFC02104.

 

UART Address Map

https://www.intel.com/content/www/us/en/programmable/hps/stratix-10/hps.html#pvo1505406672338.html

 

Please check AXI-4 format.

 

Thanks


IntelSupport
Administrator
1.443Aufrufe

We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


Antworten