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: Matjaz Breskvar<phoenix@o...>
    Date: Thu Jul 8 13:26:20 CEST 2004
    Subject: [openrisc] OpenRISC Simulator
    Top
    * jorgensc@e... (jorgensc@e...) wrote:
    > Thanks for the help all. I'm still struggling through. Everyone's advice has
    > worked thus far. My next concern is how to get GDB to talk to the simulator. I
    > see how JTAG is talking to a port but now how to get things going with the
    > simulator in place of a board.
    >
    > Example:
    >
    > (gdb) target jtag jtag://localhost:9999
    > jtag_connect_to_server: connect failed errno = 111
    > Connection refused
    >
    > So where do I insert or1ksim? In place of jtag or its destination port? I
    > apologize for the stream of simple questions. But I've been basically employed
    > in a project using OpenRISC and Unix at a university that doesn't speak my
    > native language. So I'm always a little lost.

    you need to supply an argument to or1ksim


    q:/$ or32-uclinux-sim --srv 9999
    WARNING: Cannot read script file from 'sim.cfg',
    neither '/home/phoenix/.or1k/sim.cfg'.
    WARNING: No config file read, assuming default configuration.
    Verbose on, simdebug off, interactive prompt off
    Machine initialization...
    Clock cycle: 4ns
    No data cache.
    No instruction cache.
    BPB simulation off.
    BTIC simulation off.
    WARNING: Memory not defined, assuming standard configuration.
    Building automata... done, num uncovered: 0/212.
    Parsing operands data... done.
    JTAG Proxy server started on port 9999 <--- you should see this then
    Resetting Tick Timer.
    Resetting Power Management.
    Resetting PIC.
    Starting at 0x00000000

    regards,
    p.

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