Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Is it possible to transfer files through serial ?

Altera_Forum
Honored Contributor II
1,101 Views

Hello, 

 

We need some way to transfer files through serial in order to program flash. 

Is it possible to do that in ucos ? 

 

Best Regards, 

Ran
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
370 Views

Define what you mean by 'serial'? Ethernet is inherently serial, so is USB. 'Serial' from what source to what destination, over what kind of link. 

 

Remember when you ask a question you need to provide as much detail up front if you expect some kind of helpful answer.
0 Kudos
Altera_Forum
Honored Contributor II
370 Views

 

--- Quote Start ---  

Define what you mean by 'serial'? Ethernet is inherently serial, so is USB. 'Serial' from what source to what destination, over what kind of link. 

 

Remember when you ask a question you need to provide as much detail up front if you expect some kind of helpful answer. 

--- Quote End ---  

 

 

Hi, 

 

I intend to use ucos, without ethernet. 

So it seems that in order to flash program new images, we will need to use the UART interface. 

Serial file transfer can be done with kermit,xmodem,ymodem, but the question is if ucos support this kind of file transfer. 

 

Thanks, 

Ranchu
0 Kudos
Altera_Forum
Honored Contributor II
370 Views

I don't think it supports it straight out of the box, but if you can find some C code for a kermit/*modem receiver you should be able to port it to ucos. 

But it's a lot easier to do through jtag, using the tools altera provides.
0 Kudos
Reply