OVP Forums - A community of assistance, help, questions, and answers.
|
View previous topic :: View next topic |
Author |
Message |
ShuyuanLan
Joined: 15 Feb 2011 Posts: 11
|
Posted: Mon Mar 05, 2012 12:02 am Post subject: windows 7 64-bit |
|
|
Hi
I'm using msys on Windows 7 64-bit and rebuild demo package. while the excutable can not be excuted .. any idea how to fix this? Thanks. |
|
Back to top |
|
 |
LeeMoore OVP Technologist

Joined: 27 Feb 2008 Posts: 633
|
Posted: Wed Mar 07, 2012 2:29 pm Post subject: |
|
|
Hi
It is not clear what your problem is.
Can you include the commands you are using, and the responses you are getting to your commands.
Thx
Lee |
|
Back to top |
|
 |
ShuyuanLan
Joined: 15 Feb 2011 Posts: 11
|
Posted: Wed Mar 07, 2012 7:20 pm Post subject: Re: windows 7 64-bit |
|
|
Hi
in MINGW32:
cd $IMPERAS_HOME/Demo/OVPsim_single_arm7
make clean
make all
make MAKEPASS=1
make[1]: Entering directory `/c/tools/Imperas/_Demo/OVPsim_single_arm7'
# Host Compiling Platform obj/Windows32/OVPsim_single_arm7.o
# Host Linking Platform OVPsim_single_arm7.Windows32.exe
# Host Linking Platform object OVPsim_single_arm7.dll
make[1]: Leaving directory `/c/tools/Imperas/_Demo/OVPsim_single_arm7'
make MAKEPASS=2
make[1]: Entering directory `/c/tools/Imperas/_Demo/OVPsim_single_arm7'
# Compiling ARM7 (Debug) linpack.c
# Linking ARM7 linpack.dbg.ARM7.elf
# Compiling ARM7 (Debug) fibonacci.c
# Linking ARM7 fibonacci.dbg.ARM7.elf
# Compiling ARM7 (Debug) dhrystone.c
# Linking ARM7 dhrystone.dbg.ARM7.elf
# Compiling ARM7 (Debug) peakSpeed1.c
# Linking ARM7 peakSpeed1.dbg.ARM7.elf
rm dhrystone.dbg.ARM7.o fibonacci.dbg.ARM7.o peakSpeed1.dbg.ARM7.o linpack.dbg.ARM7.o
make[1]: Leaving directory `/c/tools/Imperas/_Demo/OVPsim_single_arm7'
-- no sign of error --
run the excutable:
$OVPsim_single_arm7.Windows32.exe dhrystone.ARM7.elf
the terminal crashes .. |
|
Back to top |
|
 |
LeeMoore OVP Technologist

Joined: 27 Feb 2008 Posts: 633
|
Posted: Thu Mar 08, 2012 2:25 am Post subject: |
|
|
This seems very strange.
Can you please explain 'the terminal crashes'
Q1. do you mean that the MSYS terminal running the program crashes, or do you mean you get a new terminal started, which crashes ?
Q2. do you get any error messages at all ?
Q3. can you try running this under gdb to see if this provides any further help ?
$ gdb OVPsim_single_arm7.Windows32.exe
(gdb) run dhrystone.ARM7.elf
(gdb) where
Q4. also can you try running under the program under the 'windows dependancy walker'
http://www.dependencywalker.com/
This is a very useful program to identify runtime issues
Q5. what is the version of gcc you have installed under MSYS
$ gcc --version
Q6. Is the issue you are seeing, only after you have re-compiled, or does the same demo fail in its pre-compiled form ?
If all else fails, I would like to get a copy of the executable you have built and try this on our machine locally.
Thx
Lee |
|
Back to top |
|
 |
ShuyuanLan
Joined: 15 Feb 2011 Posts: 11
|
Posted: Thu Mar 08, 2012 7:22 pm Post subject: |
|
|
LeeMoore wrote: | This seems very strange.
Can you please explain 'the terminal crashes'
Q1. do you mean that the MSYS terminal running the program crashes, or do you mean you get a new terminal started, which crashes ?
A: new terminal started and get crashed
Q2. do you get any error messages at all ?
A: Windows dialog box pops up: stop running program etc ..
Q3. can you try running this under gdb to see if this provides any further help ?
$ gdb OVPsim_single_arm7.Windows32.exe
(gdb) run dhrystone.ARM7.elf
(gdb) where
A:
$ gdb OVPsim_single_arm7.Windows32.exe
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http>
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 "i686-pc-mingw32".
For bug reporting instructions, please see:
<http>...
Reading symbols from c:\tools\Imperas\_Demo\OVPsim_single_arm7\OVPsim_single_arm7.Windows32.exe...done.
(gdb) set logging on
Copying output to gdb.txt
(gdb) run dhrystone.ARM7.elf
The program being debugged has been started already.
Start it from the beginning? (y or n)
Starting program: c:\tools\Imperas\_Demo\OVPsim_single_arm7\OVPsim_single_arm7.Windows32.exe dhrystone.ARM7.elf
[New Thread 4576.0x1880]
warning: FTH: (4576): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
Program received signal SIGSEGV, Segmentation fault.
0x75039eb2 in USER32!CopyAcceleratorTableW () from C:\Windows\syswow64\user32.dll
(gdb) where
#0 0x75039eb2 in USER32!CopyAcceleratorTableW () from C:\Windows\syswow64\user32.dll
#1 0x75039eb2 in USER32!CopyAcceleratorTableW () from C:\Windows\syswow64\user32.dll
#2 0x75039ee1 in USER32!PeekMessageW () from C:\Windows\syswow64\user32.dll
#3 0x0028f248 in ?? ()
#4 0x736b4911 in DPA_DeleteAllPtrs ()
from C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll
#5 0x736b4a74 in DPA_DeleteAllPtrs ()
from C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll
#6 0x00000000 in ?? ()
Q4. also can you try running under the program under the 'windows dependancy walker'
http://www.dependencywalker.com/
This is a very useful program to identify runtime issues
A: will try
Q5. what is the version of gcc you have installed under MSYS
$ gcc --version
A: gcc version 4.6.2
Q6. Is the issue you are seeing, only after you have re-compiled, or does the same demo fail in its pre-compiled form ?
A: pre-compiled format works fine .., it happens after re-compiled
If all else fails, I would like to get a copy of the executable you have built and try this on our machine locally.
Thx
Lee |
|
|
Back to top |
|
 |
BluePhilosopher
Joined: 11 Feb 2013 Posts: 21
|
Posted: Thu May 23, 2013 2:14 pm Post subject: |
|
|
I also have problems with win 7 64 bit.
it works find with 32 bit, but with 64 bit, as I have checked, it even doesn´t go inside the software, and seems to be in an loop forever |
|
Back to top |
|
 |
BluePhilosopher
Joined: 11 Feb 2013 Posts: 21
|
Posted: Thu May 23, 2013 2:15 pm Post subject: |
|
|
I forgot to mention, that I´m using putty. i guess it could also be a problem... |
|
Back to top |
|
 |
LeeMoore OVP Technologist

Joined: 27 Feb 2008 Posts: 633
|
Posted: Thu May 23, 2013 2:32 pm Post subject: |
|
|
Can you try to run in a dos command shell ? |
|
Back to top |
|
 |
BluePhilosopher
Joined: 11 Feb 2013 Posts: 21
|
Posted: Thu May 23, 2013 3:02 pm Post subject: |
|
|
you mean run in cmd like following?
*.exe *.elf
yes. I could. And for the OVP demo, I also run from cmd. it works...But for the demo there is this warning:
Warning (ARM_MORPH_BII) CPU 'top.cpu1' 0x000000cc beab bkpt 0xab: BKPT instruction ignored in nopBKPT compatability mode
I chose the OVPsim_single_arm_Cortex-M3_tlm2.0 with fibonacci.ARM_CORTEX_M3.elf. |
|
Back to top |
|
 |
BluePhilosopher
Joined: 11 Feb 2013 Posts: 21
|
Posted: Thu May 23, 2013 3:10 pm Post subject: |
|
|
is there any demo using uart/putty? |
|
Back to top |
|
 |
LeeMoore OVP Technologist

Joined: 27 Feb 2008 Posts: 633
|
Posted: Fri May 24, 2013 5:48 am Post subject: |
|
|
There a number of Demos which boot linux, and connect to the console using a UART.
A simple example would be OVPsim_linux_XilinxML505, but there are many others
Simply go to the downloads page, under Xilinx Examples / OVPsim_demo_linux_XilinxML505
Thx
Lee |
|
Back to top |
|
 |
BluePhilosopher
Joined: 11 Feb 2013 Posts: 21
|
Posted: Fri May 24, 2013 7:27 am Post subject: |
|
|
Hey Lee,
thanks. The problem is fixed. I have setting mistakes with putty...
So OVP 20130315 works with windows 7 64 bit. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Information regarding OVP © 2008-2022 Imperas Software
|