From: Home Email <home_email2000@yahoo.com>
To: Keith Wright <kwright@gis.net>
Cc: crossgcc@sources.redhat.com
Subject: Re: What is a vector file?
Date: Sun, 22 Oct 2000 15:28:00 -0000 [thread overview]
Message-ID: <20001022222816.38384.qmail@web9405.mail.yahoo.com> (raw)
In the last five hours since I wrote this I have done
nothing read, read, read GNU AS,LD and Hitachi manual.
I understand now what is going on and how this is
working. It's slowly coming together for me.
Thanks for your response.
R.F.
--- Keith Wright <kwright@gis.net> wrote:
> > From: Home Email <home_email2000@yahoo.com>
> >
> > In studying a boot prom for an Hitachi SH032 along
> > with the source code, I am beginning to get a good
> > understanding of how the GNU AS, LD works.
> However,
> > when I read in the boot prom I have into my
> programmer
> > I find locations 0x0000 - 0x01C7 filled with
> various
> > hex numbers that I don't know what they are.
>
> Clearly, you are out of your depth, but you may be
> swimming in a minute. You need to learn about the
> hardware you are running on. Go to Hitachi and ask
> for the SH032 "Principles of Operation",
> "Programmer's
> Reference", or "Instruction Set List". I don't
> know what it's called by Hitachi, and I don't have
> it,
> so don't ask me more about that. Some general book
> on programming microprocessors may also be helpful.
>
> > FILE NAME:
> > Vectors.S
> > FUNCTION:
> > This file contains the vector overlay for the
> > SH7000 microcontroller.
>
> ... so on. Much more than we need to see of the
> interrupt vector table. Go learn what an interrupt
> vector table is, the comment says all that could be
> said, you need to learn the language it is written
> in.
>
> > I am but just a learner here so bear with me while
> I
> > ask some dumb questions.....
>
> I'm being as polite as I can, given my abrasive
> personality.
>
> > It looks as though as soon as the microcontroller
> > begins it is initalizing itself. Is this what the
> > vector file is for?
>
> Its a list of addresses to jump to when an interrupt
> happens. Different addresses for different
> interrupts.
> One interrupt is Power-on and Reset.
>
> > Do all embedded microcontrollers use a file like
> this
> > at the beginning of their their boot prom
>
> You could imagine doing it in other ways, but
> _every_
> boot prom does it somehow, whether it is embeded in
> a can opener or largest Supercomputer of the week.
>
> > and how much intialization is necessary?
>
> See processor reference and motherboard schematic.
>
> > Is there any documentation about vector files and
> how
> > to use them (or other methods)?
>
> CS 201, Undergraduate Intro to Computer
> Architecture.
>
> > Thanks for any help on this.
>
> De nada.
>
> ------
> Want more information? See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sourceware.cygnus.com
>
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
next reply other threads:[~2000-10-22 15:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-22 15:28 Home Email [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-10-22 9:31 Home Email
2000-10-22 14:21 ` Keith Wright
2000-10-23 9:08 ` Michael Schwingen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001022222816.38384.qmail@web9405.mail.yahoo.com \
--to=home_email2000@yahoo.com \
--cc=crossgcc@sources.redhat.com \
--cc=kwright@gis.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).