There is every now anf then a discussion about the strange behaviour of GDB
Remote Serial Protocol, especially with regard to its Download Packet Size.
To Control it, and force GDB to use a particular packet size (unless the
download is smaller) use the following command inside GDB:
set download-write-size 512
Now GDB will use 512 byte packets. The size can be anything you want, but there
is a practical limit and your target also needs to be able to handle a packet
this big. I have no problem with GDB Proxy for MSP430 with 512 byte packets and
dowload speed is always consistent and fater than people often complain about on
this list. I dont see packets that variably change size once you execute this
command to GDB.
Steven