Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Is it possible to transfer files through serial ?

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.