dink32 downloads
Has anybody got a reliable recipe for downloading code over the serial port to a Sandpoint running dink32 (version 12, rev 0)? I'd prefer to do it from Linux, but right now I'd accept NT.
I've so far tried minicom, cu, and hyperterminal. Minicom claims to upload a 100k ascii file in <1 second. cu takes about the right time, but dink32 eventually starts reading the s-records as commands. Hyperterminal simply becomes unresponsive when I try to send an ascii file.
- Adrian Cox, AG Electronics
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Alex Shnitman
Hi, Adrian!
(You have to
make sure the file has Unix-style newlines, though.)
Thanks. That was my problem all along. It turns out that powerpc-eabi-objcopy -O srec puts DOS style newlines in the output.
- Adrian Cox, AG Electronics
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi, Adrian!
On Wed, Nov 15, 2000 at 01:38:29PM +0000, you wrote the following:
Quoted 3 lines
Has anybody got a reliable recipe for downloading code over the serial port to a Sandpoint running dink32 (version 12, rev 0)? I'd prefer to do it from Linux, but right now I'd accept NT.
I work with the Sandpoint via minicom, and upload the files via ascii-xfr. In minicom I give it the command 'sb -k 38400', then change the speed in minicom (Alt-P G Enter; may be mistaken, reciting from memory), and then type on the command line 'ascii-xfr -svn file > /dev/ttyS0' . It then uploads the file fine at 38400. (You have to make sure the file has Unix-style newlines, though.)
--
Alex Shnitman | http://www.debian.org
[email protected], [email protected] +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
I drive way too fast to worry about cholesterol.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/