Commit Graph

145 Commits

Author SHA1 Message Date
Marek Kraus
8a00a63600 Make proper error handling 2023-01-07 13:34:33 +01:00
Marek Kraus
da34daf69f Update code styly and reformat code 2023-01-07 11:50:51 +01:00
Marek Kraus
9fbaa05b64 Migrate Pinecil V2 instructions to Github Wiki 2023-01-07 10:38:06 +01:00
River
7601709a4c
improved blisp instructions (#12)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>

* Update README.md

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-01-01 13:07:37 +11:00
River
4618e722ab
Added instructions (#11)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2022-12-14 07:01:16 +01:00
Marek Kraus
eb086f6fe3 Add initial MacOS support 2022-12-06 17:15:53 +01:00
Marek Kraus
a68c54ed2b Fix indentation 2022-12-06 16:10:46 +01:00
Marek Kraus
b9a2baae13
Merge pull request #3 from pine64/write
Modifications for MacOS to let it find data files in the same directory as the executable. This is totally wrong for a "normal" MacOS app bundle, but it follows the existing Linux convention.
2022-12-06 16:09:22 +01:00
Marek Kraus
4609916981
Merge branch 'master' into write 2022-12-06 16:08:54 +01:00
Marek Kraus
6de3af46aa Update README.md
Co-authored-by: River <97197236+River-b@users.noreply.github.com>
2022-12-06 16:04:48 +01:00
Marek Kraus
6c0c857474 Drain TX and flush RX only in UART mode 2022-12-05 22:06:47 +01:00
Marek Kraus
a4489c7cce Add license 2022-11-30 13:17:30 +01:00
Marek Kraus
8bb6d2a82d Adds LOW_LATENCY config, which is disabled by default
This helped with handshake on CH340, but FT232H don't like it.
Currently, it is not needed, as current code can work properly
both on CH340G but also on FT232H.
2022-11-22 14:01:27 +01:00
Marek Kraus
717d693d0b Wait a bit so BootROM can init after reset 2022-11-22 13:57:56 +01:00
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
807c21bbef
Merge pull request #8 from pine64/errors
Marginally improving error handling and rough corners
2022-11-20 18:10:28 +01:00
Ben V. Brown
236690b095 Handle failure finding current program path 2022-11-20 20:43:36 +11:00
Ben V. Brown
8334e583b6 Add note to use recursive clone 2022-11-20 17:22:47 +11:00
Ben V. Brown
c419cc0cd9 Markdown styling 2022-11-20 17:22:36 +11:00
Ben V. Brown
20c4fa0163 Handle missing eflash loader in a nicer form
Print error rather than crashing
2022-11-20 17:20:46 +11:00
Ben V. Brown
f60cfc02f9 Ignore build folder 2022-11-20 17:20:16 +11: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
7f69a80f0e Add building and usage instructions 2022-11-08 22:17:40 +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
c7bbb0a797 Fix unitialized variable 2022-11-08 16:21:13 +01:00
Marek Kraus
7795de96ff Add proper Windows support 2022-11-08 09:54:34 +01:00
Marek Kraus
6b97b239cb Update readme 2022-11-08 09:37:29 +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
Robert Lipe
e789cdf809 Modifications for MacOS to let it find data files in the same directory
as the executable.
This is totally wrong for a "normal" MacOS app bundle, but it follows
the existing Linux convention.
2022-10-23 02:26:06 -04:00
Marek Kraus
ec17f896bc Add some macOS related stuff 2022-10-05 11:53:32 +02: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
Marek Kraus
9d8738cb85 WIP 2022-09-24 11:58:47 +02:00
Marek Kraus
e9217452e4 WIP... 2022-09-13 11:03:39 +02:00
Marek Kraus
4f6df4fb46 Add readme 2022-09-12 16:47:58 +02:00
Marek Kraus
8bb1a6306f Fix merge conflicts 2022-09-12 13:16:23 +02:00
Marek Kraus
fb70d7eea4 Add libserialport + another improvements 2022-09-12 13:14:55 +02:00
Marek Kraus
542efae1db Another improvements 2022-09-12 13:13:36 +02:00
Marek Kraus
019c7dd845 Initial commit 2022-08-24 12:06:39 +02:00