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: Cool_ABen@s...<Cool_ABen@s...>
    Date: Tue Dec 23 10:24:04 CET 2003
    Subject: [openrisc] About the uclinux running in the or32-uclinux-simulator
    Top
    Hi:
    I am a graduate student and recently wrote a mp3-decoding
    program . Then I added the program to the romfs ramdisk image of
    uclinux .So when I boot the uclinux in the or32-uclinux-simulater in my
    pc, you can see the mp3-decoding program "player" in the
    directory "bin" of uclinux. First I set the "channel" of uart secton of file
    sim.cfg = "file:/dev/tty10". I want to printf all the decoding data to
    tty10.
    But to my disappoint ,after printing several thousand of data,the
    simulator suddenly stopped and lost control. So I changed the the
    channel of uart secton to "file:uart0.rx,uart0.tx". But the same result
    happened. Only part of the whole data can be written to the file
    uart0.tx.

    I checked my dedoding program and it seems no errors .By the
    way ,with little modifications,it can run smoothly in Visual C++ of
    Microsoft. I don't know how the "printf" works in the simulator and I am
    a newcomer to linux. I wonder whether there are any limits in the
    operation of "printf" about the memory capacity. By the way , I set the
    flash and ram capacity in the file "sim.cfg" to 0xf00000. I think it is
    enough.

    Of course my first solution is the file operation. I tried a little example
    of file operations. But ,unfortunately, the file operations such as
    readfile ,wirtefile and so on don't have effect on the files in pc. How
    can I send the data out of the simulating world ?

    Thanks for your reading . I wish anyone can help me.My project is very
    urgent . Thanks a lot!

    Regards:

    Ben
    Cool_ABen@s...

    Follow upAuthor
    [openrisc] About the uclinux running in the or32-uclinux-simulatorMatjaz Breskvar

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