HI, Are there any new findings on this question? Has anyone had this problem before?
HI, A piece of good news: I changed a line of code and now bit31 works! ! in src/target/adi_v5_jtag.c/jtag_dp_run(), I remove "retval2 = jtagdp_overrun_check(dap);" modify to "retval2 = ERROR_OK;" I don't know how it works, but here's how I discovered it: You mentioned above that my xt-ocd and JLINKEXE are both 4000KHZ, and then openocd is the default, which is 100KHZ. But when I increase the speed of openocd, say 1000 2000 3000 4000KHZ.Keep reminding me of an infinite message ** ”DAP transaction...
HI, Add an important test!!!! In previous tests, I always used xt-ocd or openocd, which made it impossible to tell whether it was a tool problem or an RTL problem. I now use the JLinkExe tool directly and do not use any ocd tools to connect. As you can see from the image and Log,JLINKEXE can correctly read APB_ID or AXI_ID。 (xt-ocd can also read correctly) But openocd's read is always wrong, bit31=1. Through this TEST, it can be proved that there is no problem with my JLINK device, and there is no...
HI, I've changed my cmd to the same as yours,Like this: "openocd -s tcl -d3 -f tcl/interface/jlink.cfg -c "set CPUTAPID 0x3ba00477" -f tcl/board/xtensa-kc705-ext-dap.cfg -f xtcfgfiles/xtensa-core-DCD330HiFi.cfg" "openocd -s tcl -d3 -f tcl/interface/jlink.cfg -c "set CPUTAPID 0x6ba00477" -f tcl/board/my.cfg -f xtcfgfiles/xtensa-core-lx7.cfg" "command - xtensa.cpu configure -event reset-assert-post softresethalt" Also in our Log, reference "319 2 command.c:153 scriptdebug(): command - plmp.smcu configure...
this is my new_log for the lastest openocd.
HI, I looked at your test log, so I also adjusted the test environment. First of all, in order to keep the environment consistent with you, I used only one core; Second, your target creat did not specify ap_num, and I modified it to be consistent with you. LIKE: “target create $_TARGETNAME_0 xtensa -dap $_CHIPNAME.dap -dbgbase 0x80108000” Finally, I updated openocd to the latest version But the bit31 problem remains, and there are two things in my Log that are different from yours: Mine: <debug:...
HI: Debug: 594 79 arm_adi_v5.c:826 mem_ap_init(): MEM_AP Packed Transfers: disabled. That's another difference