CycloneVsoc dev kit UART read from FPGA/HPS
Hi,
My hardware is Cyclone V soc Dev kit with software of newest version of GHRD.
I encountered several questions on handling the UART.
1. According to the GHRD QSYS HPS Mux Table:
UART RX/TX was sent to CAN RX/TX
CAN RX/TX was sent to UART RX/TX
Is that mean my set to UART port (software wide) is linked to CAN(hardware wide,J35 CAN )
and my CAN port(software) is linked to UART (J8 with RX/TX option)?
If is that so, then auto_semihosting is always sending through CAN (software) with UART(J8 port)?
2. FPGA reading/sending through UART
How to let FPGA read/write through HPS UART?
In the HPS design tab I can set the UART to FPGA, and get the export port, but how to use that port?
Another question would be : can hps use UART at the same time? Like when I was debugging through arm ds and then transfer the data to FPGA and let FPGA send the data to my host.
3. Let's say the answer of the 2nd question is NO, HPS and FPGA cant communicate with UART at the same time, then how do I manage the CAN port. I mean what's the data width of CAN port,where can I find the information etc.
4.How to send data to the on-chip-ram from HPS and let FPGA receive data from the OCRAM.
According to the GHRD:
There is an 65536 bit on chip ram on FPGA side.
Is that the same ram used in HPS example Makefile(make memory = ocr)?
As I know the on-chip memory is 0xC000_0000 + RAM offset, but the OCR is 0xFFFF0000 right?
5. How to instore the codes in the ROM?
Now I'm debugging the bare metal projects with ARM DS, but I must download/boot the board every time, is there some methods to solve this problem?
That's it.
Looking forward to ur reply
Reguards
Alex