public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Matt Sartori <msartori@hanoverdisplays.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] load problems
Date: Tue, 19 Jul 2005 18:46:00 -0000	[thread overview]
Message-ID: <20050719184554.GC29741@lunn.ch> (raw)
In-Reply-To: <F9885E669725F248A1F6DB9109FDD67905E4BE@Molly.hanover.local>

On Tue, Jul 19, 2005 at 04:51:10PM +0100, Matt Sartori wrote:
> Hi all,
> 
> I am in the middle of porting Redboot/eCos to an STR71X board and have
> reached the point where I have the basic console working on the board, I
> can examine memory, etc. I am now attempting to load something
> (anything) into RAM on the board, using the command
> 
> Load -m ymodem -r -b 0x20004000 test.txt
> 
> but I am getting the error message
> "Specified address (0x20004000) is not believed to be in RAM - continue
> (y/n)?"
> This is confounding as it is, and if I choose yes it only ever
> successfully transfers the first packet (confirmed by subsequently doing
> a memory dump of the memory that was written to). 
> The xxx_rom.h/xxx_rom.ldi correctly define the memory locations for the
> platform (RAM at 0x20000000, size 0x10000 and ROM at 0x40000000, size
> 0x40000). 
> The diag output on reset is 
> 
> +
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version UNKNOWN - built 14:42:08, Jul 19 2005
> 
> Platform: STM STR7X/STR710FZ2 (ARM7TDMI-S)
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
> 
> RAM: 0x20000000-0x20010000, [0x20006b88-0x20004000] available
                               ^^^^^^^^^^^^^^^^^^^^^^

Take a closer look. The start is supposed to be below the end!

Take a look at cyg_start in redboot/current/src/main.c. Something is
wrong with your workspace_end. 

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2005-07-19 18:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-19 15:51 Matt Sartori
2005-07-19 18:46 ` Andrew Lunn [this message]
2005-07-20 10:43 Matt Sartori

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=20050719184554.GC29741@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=msartori@hanoverdisplays.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).