-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a skeleton for DASH4 Debug Adapter for SH CPUs #12790
Open
clawgrip
wants to merge
3
commits into
mamedev:master
Choose a base branch
from
clawgrip:dash4
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+91
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
// license:BSD-3-Clause | ||
// copyright-holders: | ||
/*********************************************************************************************************** | ||
Skeleton driver for Cross Products Ltd. DASH4 Debug Adapter. | ||
|
||
DASH4 is the hardware debug adapter of CodeScape development environment for the Hitachi SuperH family of | ||
microprocessors. | ||
It's an intelligent debug pod that offers a complete low-level debug capability. The DASH4 uses the JTAG | ||
interface to communicate with the target at 1.5 Mbytes/s via the Hitachi User Debug Interface (HUDI) | ||
built-in to the SH7750. The DASH4 connects to the host computer via Ethernet to allow high-speed | ||
communications with the debugging software. | ||
|
||
The CodeScape Development system encompasses both software tools and hardware interfaces to provide | ||
development support for Hitachi SH microprocessors from initial low-level system troubleshooting through | ||
to the development of complex applications in C++. | ||
|
||
It came bundled with the Altera Design Software for PCs "Quartus II": | ||
https://archive.org/details/altera-quartus-ii-version-2.2-manuals-software/ | ||
|
||
Also, it came with a MemoHASP-1 parallel port security dongle labeled: | ||
"MemoHASP-1 R3b CCYRW NA 23967", "HASP ID= 75BB4C39", "SH4". | ||
|
||
DASH4 Rev. B PCB (1999): | ||
____________________________________________________________________ | ||
| _____________ ______ | | ||
| ____________ Xtal |NEC | |LT1129 |___ | ||
| |Altera | 11.059MHz |D4564323G5__| |_____| _|__ | ||
_|_ |Flex | __________ __________ __________ | | <- Power | ||
| | EPF10K10TC144-3 |_CY2292F_| __________ S32XR861Q1 S32XR861Q1 |___| | ||
| | | | S32XR861Q1 | | ||
| | |___________| _________ _________ ___ | | ||
I/O | | _______ ____________ |74HCT244| |_HCT374A| 93LC56B O <- Yellow LED | ||
| | |_P92AB| |SH-2 | ________ _________ O <- Green LED | ||
| | _______ |HD6417604F28 |AS29F040 ________ Crystal LAN _|___ | ||
|_| |_P92AB| | | | | |GAL22V10D |CT8900A-IQ | | | ||
| _______ | | |_______| | | | | | | <- LAN RJ45 | ||
| |74HCT138 |___________| |_______| |_________| |___| | ||
|_____ __ __ ___| | ||
|___________| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| |___________| | ||
Unused edge connector | ||
|
||
***********************************************************************************************************/ | ||
|
||
#include "emu.h" | ||
#include "cpu/sh/sh7604.h" | ||
|
||
|
||
namespace { | ||
|
||
class dash4_state : public driver_device | ||
{ | ||
public: | ||
dash4_state(const machine_config &mconfig, device_type type, const char *tag) | ||
: driver_device(mconfig, type, tag) | ||
, m_maincpu(*this, "maincpu") | ||
{ } | ||
|
||
|
||
void dash4(machine_config &config); | ||
|
||
private: | ||
required_device<cpu_device> m_maincpu; | ||
}; | ||
|
||
|
||
static INPUT_PORTS_START(dash4) | ||
INPUT_PORTS_END | ||
|
||
void dash4_state::dash4(machine_config &config) | ||
{ | ||
SH7604(config, m_maincpu, 11'059'000); // Actually an Hitachi SH-2 HD6417604F28 | ||
} | ||
|
||
|
||
ROM_START(dash4) | ||
ROM_REGION(0x80000, "maincpu", 0) | ||
ROM_LOAD( "as29f040.u2", 0x00000, 0x80000, CRC(507c2a4c) SHA1(7eea8acf196a6c249fda5fe41b197070d426cffc) ) | ||
|
||
ROM_REGION(0x00100, "eeprom", 0) | ||
ROM_LOAD( "93lc56b.u17", 0x00000, 0x00100, CRC(a05ee68a) SHA1(5dd120cb4a818826ebec8bde59225ccdbf28a57d) ) | ||
|
||
ROM_REGION(0x002e5, "pld", 0) | ||
ROM_LOAD( "gal22v10d-15lj.u6", 0x00000, 0x002e5, CRC(80cc0146) SHA1(e28da16e18d0c9de48a08651f1c670f946d188e7) ) | ||
ROM_END | ||
|
||
} // anonymous namespace | ||
|
||
SYST( 1999, dash4, 0, 0, dash4, dash4, dash4_state, empty_init, "Cross Products", "DASH4 Debug Adapter", MACHINE_IS_SKELETON ) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SH7750
doesn't make sense here: the SoC mounted on the provided PCB ASCII below is a HD6417604F28, which is a SH2, cfr. psikyo/psikyosh.cpp and seibu/feversoc.cpp.Is the
DASH4
printed on PCB?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text was based on the (archived) product web page...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 7750 is not the CPU on the DASH4, but the CPU externally connected to the DASH4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering how much similar it is to Katana (Dreamcast) Dev.box's Debug Adapter PCB? expected to be quite similar device but with SCSI instead of Ethernet, uses CodeScape software as well.