<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>The JTAG debug on SuperH is implemented with (essentially) normal ISA instructions in a protected on chip 'ASE' memory block. It is a debug stub speaking a proprietary protocol over JTAG, with hardware support on chip so that it can always trap into the stub. This is flexible, but takes up a large amount of unproductive die area (in actual use). A special jtag pod (E10A) is used, and the software requires Windows to run HUE (proprietary IDE).</div><div><br></div><div>J-Core takes a different approach. The scan chain has a few bits (basically, IIRC, 56 bits total) to stop/step the CPU, insert an instruction into the fetch stage, and scan out the writeback bus. total overhead is something like around 60-100 flops for the scan chain and capture regs, and a few dozen mux cells (assuming you had a TAP controller anyway).</div><div><br></div><div>So, unfortunately, we don't have any way to help with the (very different) SH implementation...</div><div><br><div>Cheers,<div>J.</div></div></div><div><br>On May 28, 2017, at 04:59, <<a href="mailto:volkovdablo@gmail.com">volkovdablo@gmail.com</a>> <<a href="mailto:volkovdablo@gmail.com">volkovdablo@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><p class="MsoNormal">Btw, does anybody know anything about the SH4 debug stub that is necessary in the ROM to make the JTAG subsystem to work?.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I’m trying to hook a JTAG to my Dreamcast. So far everything is installed correctly, as the probe can detect the CPU. Unfortunately, the rom does not initialize the CPU id correctly, and the probe just says “Target not recognized SDSR = 0x12345678”.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I tried everything to find the location of this “SDSR” register, so I could initialize it to something during the boot rom. But there is no information whatsoever about this. Even Renesas refuses to answer me.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Anyone can bring some light to this?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks in advance,<o:p></o:p></p><p class="MsoNormal">Javier.<o:p></o:p></p><p class="MsoNormal"></p></div></blockquote></body></html>