LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: James Cotton<peabody124@g...>
    Date: Fri Feb 22 09:00:48 CET 2008
    Subject: [openrisc] debugger doesn't return from stepi
    Top
    I'm trying to get linux to boot up on my spartan 3e / or1200 system.
    I can load hello-world through the jtag into SDRAM and receive it just
    fine. However, when I try and load up my kernel it loads fine, and
    when I look at the instructions about to be executed they are all
    correct. However, around when it tries to access the uart (as I said
    hello world works fine, so I know the address is right and working)
    gdb never returns after the stepi instruction. Specifically it's a
    l.sb to that register (when I've caught it). Even more strangely,
    when I then load hello-world it also locks up in a similar way.

    So my question is, what sort of errors will cause the debug interface
    not to return from a stepi command. Would this be characteristic of
    something being set wrong with a data/instruction cache? I can
    simulate the same code (in iverilog and or1ksim) and don't see a
    problem.

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.