Thanks everybody!!
I'll try what you say!!
--- Quote Start ---
originally posted by ilan-g7@Jan 23 2006, 06:52 PM
hi roberto,
wolf is right,
you should use the uart to transmit your file from nios to your pc
on the pc side you will need to write a program that will read this transmitted chars and will write them to a file.
try to read n2cpu_nii5v3.pdf it is found in the document under your installation, you will find there a chapter about uart
try using # include <stdio.h>
file* fp=fopen(your_uart_name,"r+");
fprintf(fp,"what ever you want to transmit on uart");
fclose(fp);
this is the way to transmit char over uart.
your_uart_name was defined as you added the uart component on sopc
you can find this name in a file called system.h
the system.h describes your design and can be found under
your_project_syslib\debug
have fun
ilan
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12336)
--- quote end ---
--- Quote End ---