OVP Forums - A community of assistance, help, questions, and answers.
|
View previous topic :: View next topic |
Author |
Message |
ThomasB
Joined: 01 Aug 2011 Posts: 11 Location: Germany
|
Posted: Mon Nov 28, 2011 12:31 am Post subject: Profiling ARM7TDMIcore with functionprofile |
|
|
hi all,
I have a question about the VAP profiling tools and the ARM7TDMI core:
My Platform uses the uCLinux example with the ARM7TDMI core. As extension I programmed a PIT Timer which is used to control the application I am running on this platform.
With the VAP Tools I use icmCallCommand to call functionprofile and get this error when running:
Code: | Info 2985676273: 'ARM7TDMIcore', 0x0000000000052a5c: 60fc str r4,[r7,#12]
Info 2985676274: 'ARM7TDMIcore', 0x0000000000052a5e: e8dd blx (H=01) #442
Warning (ARM_MORPH_NSV) CPU 'ARM7TDMIcore' 0x00052a5e e8dd blx (H=01) #442: not supported on this variant
Error (ARM_MORPH_UDI) CPU 'ARM7TDMIcore' 0x00052a5e e8dd blx (H=01) #442: undefined instruction - enable simulated exceptions to continue simulation if this behavior is desired |
with ICM_ATTR_SIMEX the application hangs up. But without calling any VAP Command or when calling functiontrace this error is not present and the application runs completely normal. The Log file then looks like this:
Code: | Info 2985676273: 'ARM7TDMIcore', 0x0000000000052a5c: e8dd60fc ldm sp,{r2,r3,r4,r5,r6,r7,sp,lr}^ |
In both cases the application runs exactly the same until this point. Another point is that this command is executed before the point of failure while running functionprofile without any problem. (Then looks like the second case.)
Are there variants of the ARM7TDMIcore which support this function, or how can I implement this functionality into the existing core?
Or could this be a bug, as without profiling it runs completly normal?
Thank you all for your answers.
Thomas[/i] |
|
Back to top |
|
 |
JimStraus OVP Technologist

Joined: 09 Dec 2008 Posts: 154
|
Posted: Thu Dec 01, 2011 10:39 am Post subject: |
|
|
Hi Thomas,
I am able to run functionprofile on the unchanged uclinux demo, so we are going to have to get your changes to figure out what the problem is.
Would it be possible for you to send us what you are running? We would need any new/changed source and make files, and the linux and boot.rom files if you have modified them.
Easiest to just email a tar ball to support <at> imperas.com.
Thanks
Jim Straus |
|
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
|