I have observed this slow loading before.
Running GDB via the proxy on another machine on our network slows
everything down, but more recently I've been running it all on localhost.
You haven't posted what gdb-ini file you are using, so I assume it's the
default one but I'm not familiar with it.
I don't recall which 'remote' parameters caused the slow speeds. I
experimented with these commands in my gdb-ini file.
#set remote memory-write-packet-size 512
#set remote memory-write-packet-size fixed
#set remote memory-read-packet-size 512
#set remote memory-read-packet-size fixed
and came to the conclusion that using only these parameters
set remote memory-write-packet-size fixed
set remote memory-read-packet-size fixed
gave me the fastest load times, with reduced TCP overhead for fewer packets.
Our JTAG interface is the USB Olimex JTAG-TINY.
-------- Original Message --------
Subject: [Mspgcc-users] msp430-gdb loads slowly
From: bo gao <[email protected]>
To: [email protected]
Date: 22/03/2010 1:46 PM
Hi,
It takes a long time when i try to load my image to MSP430FG4618 by
msp430-gdb.
Is there somebody who faced the same problem before?
My steps:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1> start msp430-gdbproxy
./msp430-gdbproxy --port=4444 msp430
Remote proxy for GDB, v0.7.1, Copyright (C) 1999 Quality Quorum Inc.
MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
use `--warranty' option. This is Open Source software. You are
welcome to redistribute it under certain conditions. Use the
'--copying' option for details.
debug: MSP430_Initialize()
debug: MSP430_Configure()
debug: MSP430_VCC(3000)
debug: MSP430_Identify()
info: msp430: Target device is a 'MSP430FG461x' (type 58)
debug: MSP430_Configure()
notice: msp430-gdbproxy: waiting on TCP port 4444
notice: msp430-gdbproxy: connected
debug: MSP430_Registers(READ)
debug: MSP430_Registers(READ)
debug: MSP430_Memory(READ)
debug: command '657261736520616c6c'
debug: command 'erase all'
debug: executing target dependant command 'erase'
debug: MSP430_Memory(WRITE)
debug: MSP430_Memory(WRITE)
debug: MSP430_Memory(WRITE)
...
...
2>start msp430-gdb
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=msp430".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
0x00003100 in ?? ()
(gdb) monitor erase all
Erasing target flash - all... Erased OK
(gdb) load kernel_msp430.elf
Loading section .text, size 0x43b6 lma 0x3100
Loading section .data, size 0x66 lma 0x74b6
Loading section .vectors, size 0x40 lma 0xffc0
Start address 0x3100, load size 17500
Transfer rate: 18 bytes/sec, 47 bytes/write.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Thanks in advance!
------------------------------------------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
------------------------------------------------------------------------
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users