* [OpenRISC] Data transfer from de0-nano board to Laptop/PC
@ 2016-09-29 19:22 Manaar Alam
2016-09-30 7:14 ` Jeremy Bennett
0 siblings, 1 reply; 4+ messages in thread
From: Manaar Alam @ 2016-09-29 19:22 UTC (permalink / raw)
To: openrisc
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20160930/8393106e/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [OpenRISC] Data transfer from de0-nano board to Laptop/PC
2016-09-29 19:22 [OpenRISC] Data transfer from de0-nano board to Laptop/PC Manaar Alam
@ 2016-09-30 7:14 ` Jeremy Bennett
2016-09-30 11:38 ` Dan
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Bennett @ 2016-09-30 7:14 UTC (permalink / raw)
To: openrisc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
>
- --
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Twitter: @jeremypbennett
Email: jeremy.bennett at embecosm.com
Web: www.embecosm.com
PGP key: 1024D/BEF58172FB4754E1 2009-03-20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iGMEARECACMFAlfuEM0cHGplcmVteS5iZW5uZXR0QGVtYmVjb3NtLmNvbQAKCRC+
9YFy+0dU4U/8AJ9ZRERxAdzTJgs4Fns4Vn9t3jUCrQCfZ96A6Z7RN5J1XyqFfYzJ
Dt/6ndc=
=4NKd
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* [OpenRISC] Data transfer from de0-nano board to Laptop/PC
2016-09-30 7:14 ` Jeremy Bennett
@ 2016-09-30 11:38 ` Dan
2016-09-30 12:17 ` Jeremy Bennett
0 siblings, 1 reply; 4+ messages in thread
From: Dan @ 2016-09-30 11:38 UTC (permalink / raw)
To: openrisc
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: <http://lists.librecores.org/pipermail/openrisc/attachments/20160930/946ac481/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [OpenRISC] Data transfer from de0-nano board to Laptop/PC
2016-09-30 11:38 ` Dan
@ 2016-09-30 12:17 ` Jeremy Bennett
0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Bennett @ 2016-09-30 12:17 UTC (permalink / raw)
To: openrisc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30/09/16 12:38, Dan wrote:
> FTP? Does that work over a uart?
Your suggestion of xmodem/zmodem is better - they are on busybox
(lrzsz package?). To use FTP you'd need SLIP or something similar
underneath.
> 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
>> <mailto:OpenRISC@lists.librecores.org>
>>> https://lists.librecores.org/listinfo/openrisc
>>>
>>
>>
>> _______________________________________________ OpenRISC mailing
>> list OpenRISC at lists.librecores.org
>> <mailto:OpenRISC@lists.librecores.org>
>> https://lists.librecores.org/listinfo/openrisc
- --
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Twitter: @jeremypbennett
Email: jeremy.bennett at embecosm.com
Web: www.embecosm.com
PGP key: 1024D/BEF58172FB4754E1 2009-03-20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iGMEARECACMFAlfuV80cHGplcmVteS5iZW5uZXR0QGVtYmVjb3NtLmNvbQAKCRC+
9YFy+0dU4YYXAJ9VE1OIVpd6o6SdpaPJoH2VT7hQsgCfYB4ytB16jBKUtW4286EC
EVYLbDI=
=U1Vz
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-30 12:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 19:22 [OpenRISC] Data transfer from de0-nano board to Laptop/PC Manaar Alam
2016-09-30 7:14 ` Jeremy Bennett
2016-09-30 11:38 ` Dan
2016-09-30 12:17 ` Jeremy Bennett
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.