Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

fopen("/dev/uart","w") returning NULL

$
0
0
Hey guys,

I'm attempting to communicate between my PC to the Nios II via RS-232.
I've built up my system in SOPC and I'm using the eclipse tool to code in c.
When I use the function fp = fopen("/dev/uart","w"), I always receive NULL.
/dev/uart is the correct path according to my system.h file.

Could you offer any advice?

Thanks,
Justin
Attached Files

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>