Commit Graph

77 Commits

Author SHA1 Message Date
River M
933851a775
Update README.md 2023-03-02 00:50:02 -08:00
River M
32e2a64390
Update README.md 2023-03-02 00:46:50 -08:00
River M
44f5c12b40
Update README.md 2023-03-02 00:08:31 -08:00
River M
f2605801a4
Update README.md 2023-03-01 22:04:18 -08:00
River M
670ec95507
Update README.md 2023-03-01 19:15:54 -08:00
River M
f8acfa2ac1
Merge branch 'pine64:master' into master 2023-03-01 17:58:14 -08:00
Marek Kraus
3d4dfe8b81
Add BL602 branded MCUs 2023-02-28 11:23:18 +01:00
River
4afdfff4b7 Update README.md
syntax error in instructions. this command as written will not work because if flag --chip is used it needs to be --chip=bl70x with the "="
does not work: blisp write --chip bl70x --reset name_of_firmware.bin
or if "=" is not desired then "-c bl70x" could be used instead.

-c, --chip=<chip_type>    Chip Type
2023-02-19 15:48:48 +01:00
River
7669ebbbcb
Update README.md
syntax error in instructions. this command as written will not work because if flag --chip is used it needs to be --chip=bl70x with the "="
does not work: blisp write --chip bl70x --reset name_of_firmware.bin
or if "=" is not desired then "-c bl70x" could be used instead.

-c, --chip=<chip_type>    Chip Type
2023-02-15 14:22:20 -08:00
porsolic
6424f9ddf8 Fix it to work under FreeBSD
Add sp_drain() where needed. Without it FreeBSD won't pass the handshake
phase.
Also decreate max buffer size.
Tested with Pinecil v2 and it can write and check new firmware.
2023-02-15 20:21:47 +01:00
porsolic
7fb2cc829c Fix UART baudrate
Set standard baudrate (460800) instead of non-standard (500000).
This enables opening of serial device under FreeBSD without error.
2023-02-15 20:21:47 +01:00
porsolic
a67ab9d218 Fix build on FreeBSD 2023-02-15 20:21:47 +01:00
porsolic
3fff531334 Fix compiler warnings 2023-02-15 20:21:47 +01:00
porsolic
53b57c3158 Update README.md
Add missing part about git submodules.
Without it build system won't find dependencies.
2023-02-15 20:21:47 +01:00
Lee Lup Yuen
884142932d The "write" command is missing I think. Thanks :-) 2023-01-25 08:45:59 +01:00
Marek Kraus
5e09eca00d Fix Windows CI build 2023-01-21 15:17:17 +01:00
Marek Kraus
5a6cd281c3 Adds CI 2023-01-21 15:01:18 +01:00
Marek Kraus
2141e33c2b Version v0.0.3 2023-01-21 14:50:35 +01:00
Marek Kraus
a7c69dbcee Add BL70XL into status matrix 2023-01-21 14:50:27 +01:00
Marek Kraus
10b150ee76 Update README that Apple is now supported 2023-01-21 14:48:31 +01:00
Marek Kraus
cbac0733ee Final support of flashing on macOS
For some reason, macOS have issues with USB CDC,
surprisingly, CH340G convertor works just fine.
But FTDI and Bouffalo's USB CDC didn't worked.
Basically, without writing anything, we don't receive
response from board. This was fixed by adding drain
after writing BOUFALLOLABRESET handshake + adding
drains after every commmand write. Also, for some reason,
in USB CDC, the size of USB payload is limited, else
it will fail.
2023-01-21 14:34:46 +01:00
Marek Kraus
3325f3725e Make macOS build working again 2023-01-21 10:08:26 +01:00
Marek Kraus
626522e074 Version v0.0.2 2023-01-12 11:49:04 +01:00
Marek Kraus
b941e60fbd [blisp] Disable compilation of argtable3 tests and other stuff 2023-01-12 11:46:40 +01:00
Marek Kraus
0e0ffb1d8c Change version to 0.0.1 2023-01-09 21:49:44 +01:00
Marek Kraus
a6b9b4102b Fix Windows support 2023-01-09 21:38:06 +01:00
Marek Kraus
279f2433ea Integrated eflash_loader 2023-01-09 21:23:46 +01:00
Marek Kraus
59cf5fb038 Add blisp_easy, many improvements, adds iot single download feature 2023-01-07 23:25:42 +01:00
Marek Kraus
ed2c9b80b8 Creating common functions: prepare flash 2023-01-07 19:57:23 +01:00
Marek Kraus
a072ddb3f3 Move some stuff to new util file 2023-01-07 16:57:58 +01:00
Marek Kraus
2740d305ba Added initial BL61X and BL808 support, some chip changes 2023-01-07 16:57:45 +01:00
Marek Kraus
841a52177b Some improvements to readme and added blisp_dlog 2023-01-07 15:07:25 +01:00
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