Skip to content

Tang Primer 25k And JTAGSEL/BL616_jtagsel #125

Description

@darkspr1te

Sorry if i get terminology wrong, i know just enough about mcu's to be dangerous.
I am trying to understand the BL616_jtagsel/jtagsel code in the tp25k top.v
I am using a pipico ro2040 as my fpgacompanion and it works great up until commit 57a1e27 ("tc138k (#99)", 2026-03-13) where BL616_jtagsel was added and this results in black screen no boot on a default bl616 debugger+tp25k , this all the way up to current commits.
by default the bl6161 with sipeed debugger firmware has TX high and the .cst code adding the BL616_jtagsel has pull up 3.3v assigned to it.
Now i noticed that the input BL616_jtag is treated the same as the buttons i.e the are high when triggered , this results is the code in top.v not running. I also note that the companion firmware drives jtagsel (tx) high by default

If I change Bl616_jtagsel to !BL616_jtagsel then the system boots as expected, Companion works as expected and shorting bl616 tx to ground triggers a reset. Is not the expected behavior? i have not tried the companion software on my bl616 onboard as i dont want to loose the debugger and the current setup is very usable for me.

Is bl616_jtagsel and jtagsel one and the same ? should it not trigger low if both side are driving high normally? what is the purpose of bl616 if it differs from jtagsel ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions