Debugging a SuperH4 target (Anritsu MS2721B) #290
Replies: 4 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
I emailed a few of the J-core devs yesterday and here's a nice piece of info about those special SH4 JTAG debuggers:
|
Beta Was this translation helpful? Give feedback.
-
Happy to sponsor https://apnet.co.jp/product/superh/ap-sh4-1a.html dev board to elucidate H-UDI and have as much as possible supported on Glasgow as discussed over IRC. Feel free to reach out to brainstorm at nopcode dot org for logistics, no rush ;) |
Beta Was this translation helpful? Give feedback.
-
I had some experience debugging STi7105 with ST40 Micro Toolset, I think parts of this toolchain are available somewhere on the internet (you know whom to ask, wink-wink) The adapter is just a regular FT2232 mini module with changed device name and VID:PID pair.... |
Beta Was this translation helpful? Give feedback.
-
While attempting repair of an Anritsu MS2721B 6GHz "portable" spectrum analyzer, I mapped out the JTAG pinout of its main SH4 (SH7750R) MCU on the board.
For context, the unit was working before but stopped booting up, so now I'm trying to figure out where exactly is the device halting within the (early) boot sequence.
Then I went for Glasgow to confirm the JTAG pinout and indeed, those pins are well identified:
And they also spit some TAP info:
And even attempted to establish some JTAG bitbanged session for OpenOCD, similar to my previous attempts with an ESP32S2:
But then after scanning OpenOCD for suitable targets, I couldn't find any SuperH4 related ones. So I went back to the datasheet linked above and sections 20 and 21 describe what seems to be a customization (extension?) of JTAG called "H-UDI" (and its debugging support called "UBC").
Also there seem to be some 12-y.o dead end threads on renesasrulz.com regarding BSDL availability for those targets.
Is there somebody experienced with this target within this community? Is there any prior art of OSS tooling for SH4 that somebody can point me to?
Beta Was this translation helpful? Give feedback.
All reactions