On Thu, Dec 21, 2023 at 11:40:26AM +0100, Oleksij Rempel wrote: > "Ingenic Xburst" is kind of special architecture, not 100% compatible with > MIPS 4K, > but latest OpenOCD version already includes some of Xburst quirks. With other > words, > there is a good chance to have some kind of working starting point.
I know of 3 quirks I had to do to make it work with the JZ4730: - Branch target buffer needs to be disabled before doing first branch in debug mode - Writing 1 to ROCC is not ignored - Entering Pause-IR and Pause-DR causes changes to IR/DR to be lost I know the last one was fixed for some JTAG adapters by never idling in Pause-*R, which is possible because we can usually stop TCK. But for which of the other two issues has a workaround been merged? All I can find is a commit that says that JZ4780 needs NOPs after DRET. Best regards, Daniel