带回读的话,460800下:
H:\MyProject\Versaloon\Open\FW_Final\Project>vsprog -ccomisp_stm32 -C "COM4:4608
00 8E1 NN" -i"H:\MyProject\Versaloon\Versaloon_Nano_IAR.hex" -oe -owf -ovf
VSProg 1.0 (2009-05-17-18:02) svn:3:8M
CopyRight(c) 2008-2009 by SimonQian <SimonQian__AT__SimonQian__DOT__com>
URL: http://www.SimonQian.com/en/Versaloon
mail: SimonQian__AT__SimonQian__DOT__com
Warning:5 is invalid for hex type, current line ignored!!
Info: Bootloader version 2.2 detected
Info: Product id = 0x1004
Info: Flash memory size: 64 KB, SRAM memory size: 65535 KB
Info: erasing chip
erasing chip |========================================%100| 0.03s used
Info: chip erased
Info: programming flash
writing flash |========================================%100| 2.03s used
Info: flash programmed for 26941bytes
Info: verifying flash
reading flash |========================================%100| 1.16s used
Info: flash verified for 26941bytes
平均速度8KB/s多。
115200下:
H:\MyProject\Versaloon\Open\FW_Final\Project>vsprog -ccomisp_stm32 -C "COM4:1152
00 8E1 NN" -i"H:\MyProject\Versaloon\Versaloon_Nano_IAR.hex" -oe -owf -ovf
VSProg 1.0 (2009-05-17-18:02) svn:3:8M
CopyRight(c) 2008-2009 by SimonQian <SimonQian__AT__SimonQian__DOT__com>
URL: http://www.SimonQian.com/en/Versaloon
mail: SimonQian__AT__SimonQian__DOT__com
Warning:5 is invalid for hex type, current line ignored!!
Info: Bootloader version 2.2 detected
Info: Product id = 0x1004
Info: Flash memory size: 64 KB, SRAM memory size: 65535 KB
Info: erasing chip
erasing chip |========================================%100| 0.03s used
Info: chip erased
Info: programming flash
writing flash |========================================%100| 4.17s used
Info: flash programmed for 26941bytes
Info: verifying flash
reading flash |========================================%100| 3.30s used
Info: flash verified for 26941bytes
平均速度为3.5KB/s。
这个看来和CDC设备的性能有关了,以后有空的话给CDC做一个优化试试,目前CDC和ARM_JTAG调试可以同时使用,所以没有办法太优化。
不明白为什么你这里测试的波特率相差4倍,结果没有什么太大的差别,个人觉得很可能是哪个CDC的问题。
[此贴子已经被作者于2009-5-17 18:52:57编辑过]