1/1

|
Problem faced while using Or1ksim as standalone
by Shreesha on Apr 16, 2012 |
Shreesha
Posts: 4 Joined: Mar 26, 2012 Last seen: Apr 17, 2012 |
||
|
Hi All ,
I am trying to use Or1ksim as standalone , referring to this link (http://opencores.org/forum,OpenRISC,0,4434) .I have followed the same procedure as mentioned.But I am facing a problem while loading the executable file in new window , kindly go through the below mentioned snippet and please suggest me a solution. ****************************************************************************************** (In the current window) or32-uclinux-sim --srv=51000 Seeding random generator with value 0x353825f4 Or1ksim 2012-03-23 Building automata... done, num uncovered: 0/213. Parsing operands data... done. Resetting PIC. Listening for RSP on port 51000 Remote debugging from host 0.0.0.0 Listening for RSP on port 51000 Remote debugging from host 0.0.0.0 (In newly opened window) or32-elf-gdb Test (Name of the Executable) Building automata... done, num uncovered: 0/216. Parsing operands data... done. GNU gdb (OpenRISC 32-bit toolchain for or32-elf (built 20120409)) 7.2-or32-1.0rc3 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later " target="_blank">http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=or32-elf". For bug reporting instructions, please see: ..." target="_blank">http://bugzilla.opencores.org/>... Reading symbols from /home/shreesha/test/Test...done. (gdb) target remote :51000 Remote debugging using :51000 0x00000100 in __reset () (gdb) load Loading section .vectors, size 0x2000 lma 0x0 Load failed (gdb) ****************************************************************************************** Regards, Shreesha Rao P |
|||
|
RE: Problem faced while using Or1ksim as standalone
by filepang on Apr 16, 2012 |
filepang
Posts: 23 Joined: Jul 2, 2009 Last seen: May 6, 2016 |
||
|
check out the memory section of simulator configuration. 'Load failed ' can be occurred when memory space is not enough for execution image file.
|
|||
|
RE: Problem faced while using Or1ksim as standalone
by Shreesha on Apr 17, 2012 |
Shreesha
Posts: 4 Joined: Mar 26, 2012 Last seen: Apr 17, 2012 |
||
|
Hi filepang ,
Thanks a lot for helping me out ,I have now copied or1ksim.cfg into the directory where I have my source code , with this I am now able to launch the simulator as standalone and debug it remotely . Regards, Shreesha Rao P |
|||
1/1

