From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Date: Fri, 30 Sep 2016 07:38:23 -0400 Subject: [OpenRISC] Data transfer from de0-nano board to Laptop/PC In-Reply-To: <0c7aa936-9e06-58b5-d42d-0ff83d475e67@embecosm.com> References: <0c7aa936-9e06-58b5-d42d-0ff83d475e67@embecosm.com> Message-ID: <1475235503.4153.197.camel@jericho> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.org FTP? Does that work over a uart? My thought would've been to try a serial line protocol, such as xmodem? Try "man sx", or the similar "man rx" for the support programs you would need. If you go this road, you can even 'tar' and 'gzip' the files you need to send. Alternatively, since the file being transferred is text, why not just "cat" it across the interface, and save it in the PC? You can use "script" for this purpose, or if you are using something like minicom to talk to the UART, you can direct minicom to save it's output. Dan On Fri, 2016-09-30 at 08:14 +0100, Jeremy Bennett wrote: > On 29/09/16 20:22, Manaar Alam wrote: > > Hello, > > > > Is there any way to copy any text file, generated by a C program > > running on openrisc linux on de0-nano board, into my Laptop/PC? > > > > I will be highly obliged with any kind of help. > > Hi Manaar, > > If you build your linux with FTP, you can use that in principle to > talk across the UART. You'd have to look up exactly how to configure > that. > > If you are running the Linux gdbserver and connecting to that from > GDB, you will also be able to suck data off using GDB. I've never > tried connecting GDB, but it should work over the serial link you use > for telnet. > > Once you find out how, it would be helpful if you could share it here. > I'm sure you won't be the first person wanting to do this. > > Best wishes, > > > Jeremy > > > > > > Thank you > > > > -- *Manaar Alam,* Junior Research Fellow, Secured Embedded > > Architecture Laboratory (SEAL), Department of Computer Science and > > Engineering, Indian Institute of Technology, Kharagpur, West > > Bengal, India. > > > > > > _______________________________________________ OpenRISC mailing > > list OpenRISC at lists.librecores.org > > https://lists.librecores.org/listinfo/openrisc > > > > > _______________________________________________ > OpenRISC mailing list > OpenRISC at lists.librecores.org > https://lists.librecores.org/listinfo/openrisc -------------- next part -------------- An HTML attachment was scrubbed... URL: