diff options
author | Ahmed BOUDJELIDA <aboudjelida@nanoxplore.com> | 2023-11-21 17:45:55 +0100 |
---|---|---|
committer | Evgeniy Naydanov <109669442+en-sc@users.noreply.github.com> | 2024-01-29 13:36:27 +0300 |
commit | 311c70405ddfc76cbaa88e081bbf5c56bc457a47 (patch) | |
tree | 86f0163091a8e5db7a1f3c055c002eb30b80dd3f /contrib/firmware | |
parent | 619a4bbb7b30c80723bdbdb670e77aa1078aea85 (diff) | |
download | riscv-openocd-311c70405ddfc76cbaa88e081bbf5c56bc457a47.zip riscv-openocd-311c70405ddfc76cbaa88e081bbf5c56bc457a47.tar.gz riscv-openocd-311c70405ddfc76cbaa88e081bbf5c56bc457a47.tar.bz2 |
jtag/drivers: send bitstream size to firmware via libusb
Send bitstream size to firmware to initialize the GPIF count registers,
since we're going to send this size via GPIF, we need to give the exact
number of bytes to be sent, then the GPIF counter will decrement with
every clock cycle (every byte sent) until reaching zero and stops.
Change-Id: Ib4e8e0f95a6a4a95ef4888ba8a04a0ea45567f5a
Signed-off-by: Ahmed BOUDJELIDA <aboudjelida@nanoxplore.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7988
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'contrib/firmware')
0 files changed, 0 insertions, 0 deletions