diff options
author | Johan Jansen <jnsn.johan@gmail.com> | 2015-02-26 11:14:54 +0100 |
---|---|---|
committer | Johan Jansen <jnsn.johan@gmail.com> | 2015-02-26 11:14:54 +0100 |
commit | 74177a2688f1163ec9659f3847d7cd17d0eb325f (patch) | |
tree | 64f5feb6734437c32bc4254afa95fc19090ef5bf | |
parent | a8f9caaaa5e76fa6d4790608fef73b81e201d977 (diff) | |
download | px4-firmware-74177a2688f1163ec9659f3847d7cd17d0eb325f.tar.gz px4-firmware-74177a2688f1163ec9659f3847d7cd17d0eb325f.tar.bz2 px4-firmware-74177a2688f1163ec9659f3847d7cd17d0eb325f.zip |
px4_uploader: Push program bytes faster by using bigger blocks
-rwxr-xr-x | Tools/px_uploader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/px_uploader.py b/Tools/px_uploader.py index 8042ec34a..c9a142ddf 100755 --- a/Tools/px_uploader.py +++ b/Tools/px_uploader.py @@ -169,8 +169,8 @@ class uploader(object): INFO_BOARD_REV = b'\x03' # board revision INFO_FLASH_SIZE = b'\x04' # max firmware size in bytes - PROG_MULTI_MAX = 60 # protocol max is 255, must be multiple of 4 - READ_MULTI_MAX = 60 # protocol max is 255, something overflows with >= 64 + PROG_MULTI_MAX = 252 # protocol max is 255, must be multiple of 4 + READ_MULTI_MAX = 252 # protocol max is 255 NSH_INIT = bytearray(b'\x0d\x0d\x0d') NSH_REBOOT_BL = b"reboot -b\n" |