- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, JustinLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To fix the problem I unchecked "Lightweight device driver API" in the BSP editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- To fix the problem I unchecked "Lightweight device driver API" in the BSP editor. --- Quote End --- It worked for me too. Thanks!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page