public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: todd.kallam@acterna.com
To: ebenard@free.fr
Cc: ecos-discuss@sources.redhat.com
Subject: [ECOS] RedBoot for Assabet (strongarm) problem
Date: Tue, 13 Nov 2001 03:41:00 -0000	[thread overview]
Message-ID: <85256B09.0074D8AC.00@wg.com> (raw)




Hi,

This looks like a similar problem that I had with the reset vector being
initiailized
to the wrong address.  You can tell by looking at the third line of your hex
dump.
The first entry shows the address of the the reset_vector and should be 0040
instead of 0060.

You can search the archives for more info about reset_vector and UNMAPPED_PRT
to find out more about this problem, but here are three solutions from Chris
Lesiak:

        1. Add the following to your hal_platform_setup.h file:
                #define CYGHWR_HAL_ROM_VADDR 0x50000000
        2. Change your binutils.  Binutils-011002 does not have this problem .
        3. Define CYGSEM_HAL_ROM_RESET_USES_JUMP (I haven't tried this myself.)

I used method 1 to fix my problem.

Todd

> Hi Jesper,
>
> Yes the flash is 32 bits width but I don't think this is the problem :
> I've got a running binary of redboot and mine non working binary.
>
> I've checked with hexdump and the bytes seems to be properly ordered in both
files :
> working redboot.bin :
> 0000000 f018 e59f f018 e59f f018 e59f f018 e59f
> 0000010 f018 e59f 0000 0000 f018 e59f f018 e59f
> 0000020 0060 0000 037c 5000 0400 5000 0438 5000
>
> non-working redboot.bin :
> 0000000 f018 e59f f018 e59f f018 e59f f018 e59f
> 0000010 f018 e59f 0000 0000 f018 e59f f018 e59f
> 0000020 0040 0002 0128 0002 01ac 0002 01e4 0002
>
> Thanks
> Eric



             reply	other threads:[~2001-11-19 21:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-13  3:41 todd.kallam [this message]
2001-11-13  5:41 ` Jordi Colomer
2001-11-14 20:36   ` [ECOS] Building ecos RolandKane
2001-11-15  4:50     ` Julian Smart
  -- strict thread matches above, loose matches on Subject: below --
2001-11-13  4:40 [ECOS] RedBoot for Assabet (strongarm) problem Tim Michals
2001-11-13  5:33 ` Eric BENARD / FREE
2001-11-12  6:12 Eric BENARD / FREE
2001-11-12  8:51 ` Jesper Skov
2001-11-12 13:10   ` Eric BENARD / FREE
2001-11-12 13:10     ` Jesper Skov
2001-11-12 13:15       ` Eric BENARD / FREE

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=85256B09.0074D8AC.00@wg.com \
    --to=todd.kallam@acterna.com \
    --cc=ebenard@free.fr \
    --cc=ecos-discuss@sources.redhat.com \
    /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).