-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Here is some issue I found while using the stubs on a lower level
Already wrote there
The SLIP start marker (0xC0) which is the same as the end marker (0xC0) already causes a transmit on every first byte written to the buffer.
So any "single-transfer" kind of frame already triggers **three** bulk transfers on the USB-JTAG.
This is the line:
esp-flasher-stub/src/transport.c
Line 54 in 2fa753f
| if (c == SLIP_END || transferred_without_flush >= 63) { |
Recommendation:
if (((transferred_without_flush > 1) && (c == SLIP_END)) || (transferred_without_flush >= 63)) {
Also i am puzzled about the correct stub loaders to PR/patch/use.
- current ones: deprecated (and no issue system)
- recommended ones: archived (and crashing)
- these: experimental (and crashing)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels