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: wuxian<magicwu1984@g...>
    Date: Mon Sep 22 06:52:07 CEST 2008
    Subject: [openrisc] problem with running "hello uart" in v2pro
    Top

    Hello,everybady.
    I'm new here.
    For the last few weeks I try to run the "hello uart" program in v2pro. I
    built a program using the openrisc-HW-tutorial-Xilinx and
    openrisc-SW-tutorial.
    Then I tryed to run the program
    download the .bit file
    run jtag
    -cd ... //location of jtag
    -./jp1 xpc3 9999

    run gdb
    -cd ... //location of hello-uart
    -or32-uclinux-gdb hello.or32
    -target jtag jtag://localhost:9999
    -load
    -set $pc=0x100
    -run
    And there came the problem, the openrisc CPU didn't send control signal to
    URAT union.
    In the hello.or32 file, I found the reset.S instruction in 2100h and the
    uart_init instruction in 4000h.
    By using the JTAG ,I get the instruction which I have just download from the
    ram. But I couldn't find the reset.S instruction which supposed to begin at
    0x100 any where.And the uart_init instruction which is supposed to begin
    after address 0x100 is founded in 0x00.
    So I restart the system,set the PC 0x00,run the program. And it doesn't work
    either.
    Is there anyone met this problem before.Do you think there is something
    wrong with my tool chain?
    Because the tutorial I use is too old , I had to do something different from
    what it tells.I downloaded the gdb5.3.patch from the
    http://www.eecg.utoronto.ca/~jarvin/or32/gdb-5.3.patch.bz2.

    Thanks a lot!






    --
    View this message in context: http://www.nabble.com/problem-with-running-%22hello-uart%22-in-v2pro-tp19601890p19601890.html
    Sent from the OpenCores - RISC mailing list archive at Nabble.com.

    Follow upAuthor
    [openrisc] problem with running "hello uart" in v2proJeremy Bennett

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