Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problems with the communication between PC and Nios board

Status
Not open for further replies.

dianacgil

Newbie level 5
Joined
Aug 23, 2004
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
72
Greetings,

I'm a new Nios (I) user. I'm working in my final project about video coding within a FPGA and I've had problems with the communication between the pc and the Nios board. Until now, the idea is that I could send many bytes to Nios uart, corresponding to pixels from an image, and I could see them with a "printf". However, when I run my Nios sw code (in C), it waits and waits for receiving data and it blocks the serial port; so, my another program (which sends pixels from a file) in Java says "Port is busy". Besides, if I run first the program in Java, bytes are sent but the program in C doesn't work, it finishes inmediately.

Any help?? :roll:
Is it neccesary using interrupts?

Thanks in advance.
 

*uart*.c + nios

Try use hyperterminal for verify error
or try read data from serial port if port OK
U should got some data stream
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top