Commit Graph

12 Commits

Author SHA1 Message Date
Marek Kraus
115f1df0b3 Make handshake more reliable via UART
Added waiting for transmitting whole handshake, and then flushing
RX buffer in case we received 0xFF data in mean time.
2022-11-22 13:57:26 +01:00
Marek Kraus
dd2801d6e9 Add termios support to libserialport and set_baudrate error handling
This fixes issues with flashing with FT232H
2022-11-22 13:55:38 +01:00
Marek Kraus
2d7eb72e80 Increase timeout time, since erase command can take some time 2022-11-17 20:57:31 +01:00
Marek Kraus
cae1bf0202 Don't wait too much on handshake response 2022-11-10 21:35:33 +01:00
Jean-François Milants
48ecd90f71 Fix handshake procedure :
- set RST and P8 low
 - wait
 - set P8 high
 - wait
 - set RST high

Also, do not reset again when sending the 2nd handshake.
2022-11-09 21:09:47 +01:00
Marek Kraus
6e036df085 Adding RTS & DTS mechanism (not working yet) 2022-11-09 20:16:08 +01:00
Marek Kraus
8c3cc0b017 Add initial support for BL60X 2022-11-08 22:06:14 +01:00
Marek Kraus
d2f13de709 Working BL70X flashing 2022-11-08 19:35:51 +01:00
Marek Kraus
e3dea5b85d Windows fixes 2022-11-07 15:22:06 +01:00
Marek Kraus
17a6c2f4a1 Work in Progress 2022-11-07 10:20:38 +01:00
Marek Kraus
f7964a9cb2 WIP 2022-10-05 11:35:44 +02:00
Marek Kraus
29a36a2d7b WIP 2022-09-25 10:58:59 +02:00