I'm trying to set dmcontrol register to select hart, but commander always report using hart0. Is this a bug? Script: C Source Code (94 lines) And here's JLink Commander output: Source Code (95 lines) CSR 0x301(misa) also implies this is a S7 core(at hart 0) rather than a U74 core.
I'm trying to use my jlink to debug Starfive JH7110, which has a 1+4 harts version of U74-MC. I could successfully connect to chip, but I don't know which hart is selected and how to choose specific hart. Anyone could help?