From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3802 invoked by alias); 23 Oct 2003 18:41:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3795 invoked from network); 23 Oct 2003 18:41:31 -0000 Received: from unknown (HELO mail-out3.apple.com) (17.254.13.22) by sources.redhat.com with SMTP; 23 Oct 2003 18:41:31 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out3.apple.com (8.12.10/8.12.9) with ESMTP id h9NIfVTi011292 for ; Thu, 23 Oct 2003 11:41:31 -0700 (PDT) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Thu, 23 Oct 2003 11:40:59 -0700 Received: from apple.com (vpn-scv-x2-183.apple.com [17.219.193.183]) by scv1.apple.com (8.12.9/8.12.9) with ESMTP id h9NIf2ww026056; Thu, 23 Oct 2003 11:41:03 -0700 (PDT) Message-ID: <3F9820DA.2070709@apple.com> Date: Thu, 23 Oct 2003 18:41:00 -0000 From: Stan Shebs User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grant Edwards CC: gdb@sources.redhat.com Subject: Re: What does sh8 "hms" target talk to? References: <20031022230406.GB16318@grante.dsl.visi.com> In-Reply-To: <20031022230406.GB16318@grante.dsl.visi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00263.txt.bz2 Grant Edwards wrote: >Hi, > >I'm trying to figure out what the "hms" target talks to but I'm >not getting very far. According to the info file it talks to > > "A Hitachi SH, H8/300, or H8/500 board, attached via serial > line to your host." > >One presumes that's overly general, and there actually has to >be some specific chunk of SW running as a ROM monitor on the >board. What, exactly, does the "hms" target expect to be >talking to? > It's looking for a human-friendly monitor; "r" for registers, "g" to execute, etc; basically GDB acts as a fast typist. HMS is a couple generations back, so it's unlikely that the current monitor is sufficiently compatible. > > 1) Current h8 eval boards ship with something called the "HDI" > embedded monitor (or sometimes "HDI-M", which I gather is > the same thing). Will gdb talk to that? (I'm guessing > not.) > At least one person (found via Google) claims that the protocol is similar to GDB's remote protocol, so maybe "target remote" or "target extended-remote" will work. > > 2) If not, can one still get a monitor to which the hms target > will talk? > > 3) Is one better off just burning GDB stubs into flash? > > 4) Or maybe RedBoot (which contains gdb stubs)? > Apparently HDI source is not available, which means you can't fix target problems that come up; I'd recommend replacing with your own stubs. Stan