Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target/riscv: restrict BSCAN-related commands to before-init #1115

Merged
merged 1 commit into from
Sep 4, 2024

Commits on Aug 14, 2024

  1. target/riscv: restrict BSCAN-related commands to before-init

    Logically, BSCAN tunneling is used to establish a connection, therefore
    it should be set up before the communication starts (i.e. before
    `init`).
    
    Moreover, current implementation does not support changing
    `bscan_tunnel_ir_width` after `init`. This is evident by RISC-V handler
    of the `init` itself.
    Link: https://github.com/riscv-collab/riscv-openocd/blob/9a23c9e67978f77d9166102cefc7b537b714b561/src/target/riscv/riscv.c#L467-L481
    
    Change-Id: I817c6a996f7f7171b2286e181daf1092bd358f69
    Signed-off-by: Evgeniy Naydanov <[email protected]>
    en-sc committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    342f294 View commit details
    Browse the repository at this point in the history