actuino / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 0 forks source link

Patch for additional serial speeds #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I can consistently get my boards to download at 921,600.

This patch adds in all the standard to 2,000,000.

The symptoms of going too fast are that it never initially connects. I have 
never had a corrupted download.

Original issue reported on code.google.com by bolms...@gmail.com on 6 Nov 2011 at 3:31

Attachments:

GoogleCodeExporter commented 9 years ago
Please patch the w32 code for these rates too and I will commit this.

Original comment by ge...@spacevs.com on 10 Nov 2011 at 10:45

GoogleCodeExporter commented 9 years ago
I would really like to patch and test the w32 code but I do not have a machine 
capable of even compiling.

The serial subsystem was designed well so that the rates could be partially 
implemented. I noticed already that the two serial implementations are 
different since w32 does has the 1800 commented out.

I attached a patch that has the new baud rates commented out for w32.

Original comment by bolms...@gmail.com on 11 Nov 2011 at 5:05

Attachments:

GoogleCodeExporter commented 9 years ago
Excellent, thanks, I will apply this shortly, will see if we can get someone 
under linux to test these baud rates.

Original comment by ge...@spacevs.com on 24 Dec 2011 at 3:17

GoogleCodeExporter commented 9 years ago
I can confirm that this patch seems to work. I was able to download code to my 
system at 460400.

Original comment by reubendowle0@gmail.com on 5 Jan 2012 at 10:15

GoogleCodeExporter commented 9 years ago
In absence of the maintainer, I have set up a git repository where I will try 
to incorporate all outstanding patches: 
https://gitorious.org/stm32flash/stm32flash#more

I applied this patch in the issue10 branch. Please provide a name/address that 
I can use as commit author (and Tested-by: if possible).

Original comment by lists.to...@gmail.com on 17 Nov 2012 at 8:43

GoogleCodeExporter commented 9 years ago
Sorry I meant the issue17 branch at 
https://gitorious.org/stm32flash/stm32flash/commits/issue17

Original comment by lists.to...@gmail.com on 17 Nov 2012 at 8:43

GoogleCodeExporter commented 9 years ago
I merged this into my "merging" branch and tested successfully reading from 
flash with 2000000 baud on Linux and 115200 baud on Windows 7, over a CP2102 
USB UART. That was quite a speed improvement, thanks!

Original comment by lists.to...@gmail.com on 24 Nov 2012 at 8:28

GoogleCodeExporter commented 9 years ago
This has now been fixed in the official repository and is included in version 
0.3beta2.

Original comment by lists.to...@gmail.com on 9 Dec 2013 at 11:12