Commit Graph
20 Commits
Author SHA1 Message Date
Simon Laube b184b61457 IO: fix px4io uploader to work reliably on F7 platform.
- Missing get_sync() in verify function
- Allow some time to reboot before closing the serial port
  (closing the serial port drives TX low)
2018-01-16 08:36:51 +01:00
Lorenz Meier 8421d51d5e PX4IO driver: Fix code style 2015-09-06 12:05:37 +02:00
Mark Charlebois 9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Lorenz Meier 0fd11b78eb Fix PX4IO startup 2015-02-08 12:30:39 +01:00
David Sidrane e037b7ae9b Added delay to ensure the the px4io is in loop waiting for a characterit
loop.
2015-01-21 10:02:22 -10:00
Jean Cyr 3a4da7c5fa Revert to original loop
Original loop was correct, and slightly more efficient. Retain
initialization of ret to handle the case where passed in count is 0.
2014-07-26 09:05:44 -04:00
Jean Cyr 2de38d0628 Improve update performance and clean up compiler warnings in px4io driver
- Fix compiler warnings in px4io_serial.cpp
- Fix compiler warnings in px4io_uploader.cpp
- Rename confusing overloaded send method with nearly identical
parameters in px4io_uploader.cpp
- Improve update performance by using maximum size programming buffer
since we are no longer limited by stack size.
2014-07-25 23:30:37 -04:00
Jean Cyr e8c5b8230d px4io_uploader cleanup and minor optimization
Remove redundant code
Cleanup error handling in program function
2014-07-10 23:01:41 -04:00
Jean Cyr 12da0efbb2 Read the full buffer
sizeof wont work here since file_buf is now a pointer
2014-07-10 00:55:33 -04:00
Jean Cyr 8c6745d53f Prevent stack overflow when flashing px4io
Large local variable causing stack overflow when attempting to flash
IO!!!
2014-07-10 00:41:09 -04:00
Lorenz Meier d58a992e91 Hotfix: Improve PX4IO monitor command 2014-06-23 13:44:36 +02:00
Lorenz Meier 282f40d162 Hotfix to PX4IO uploader. There are no known mishaps due to it, but very clearly the IO firmware flashing process should be verified after an upload. 2014-04-15 19:25:07 +02:00
Lorenz Meier 73a483c265 Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets. 2014-01-24 17:30:40 +01:00
Andrew Tridgell d8c1131f1e px4io: improved reliability of forceupdate re-starting px4io
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
2014-01-24 12:35:19 +01:00
Andrew Tridgell 6016fbe55d Merged PX4IO crc checks and force update 2013-12-13 11:21:00 +01:00
Lorenz Meier 4984ab4418 Comment fix 2013-10-12 20:14:47 +02:00
Julian Oes e301bb4d94 Reset baudrate after px4io update 2013-09-03 17:07:41 +02:00
Lorenz Meier d28f5ac03f Updated IO firmware upgrade strategy and locations 2013-08-28 09:14:38 +02:00
px4dev 9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
px4dev e67f6a51a3 Make px4io driver filenames less ambiguous. 2013-07-13 20:13:53 -07:00