logo       

Re: sim/2181: powerpcsim crt0 could not initialize register "sp" for MPC555: msg#00003

Subject: Re: sim/2181: powerpcsim crt0 could not initialize register "sp" for MPC555
The following reply was made to PR sim/2181; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@xxxxxxxxx>
To: muhavid@xxxxxx
Cc: gdb-gnats@xxxxxxxxxxxxxxxxxx
Subject: Re: sim/2181: powerpcsim crt0 could not initialize register "sp" for 
MPC555
Date: Fri, 6 Oct 2006 10:31:19 -0400

 On Thu, Oct 05, 2006 at 09:27:57PM -0000, muhavid@xxxxxx wrote:
 > I hav a problem with setting register "sp". This always happens:
 > 
 > Cannot access memory at address 0x3fb814
 > 
 > I've looked on the internet to find some hint but still without sucess. Can
 > somebody tell me what's wrong with my code.
 
 Are you using GDB or the sim directly?  Have you configured the sim?  I
 don't think it comes configured to a memory layout that looks like
 this:
 
 > MEMORY
 > {
 >     vector  :   org = 0x0000000,    len = 0x001EFF
 >     rom     :   org = 0x0002000,    len = 0x06FFFF
 >     ram     :   org = 0x03f9800,    len = 0x0067FF
 > }
 
 at all.
 
 I don't know much about psim but I think you have to give it a
 configuration telling it where your RAM is, in the Open Firmware device
 tree.
 
 -- 
 Daniel Jacobowitz
 CodeSourcery



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe