DSPRelated.com

rtdx problem

Started by abhik2415 in TMS320c6x16 years ago

how can i profiling a rtdx application in the simulator mode.when i try this it gives me a memory address...

how can i profiling a rtdx application in the simulator mode.when i try this it gives me a memory address error. _____________________________________


BIOS profiling not matching cycle counts

Started by Jeff Brower in TMS320c6x16 years ago

All- We're using Clock_getTicks() BIOS API to profile code. Results do not match cycle counts by a factor of 10: about 50 sec vs....

All- We're using Clock_getTicks() BIOS API to profile code. Results do not match cycle counts by a factor of 10: about 50 sec vs. expectation of 5 sec (cycle counts determined by looking at generated .asm). We're using CCS 4.2, BIOS6, and EVM C6472. All code and data is in onchip RAM, the only interrupt enabled is TIMER0 for BIOS. A few questions: 1) Is there any reason not to use B...


Different profile results with load6x and CCS

Started by Sachin Gupta in TMS320c6x23 years ago 3 replies

Hi, I am profiling a function and am using CCS as well as load6x for this purpose. I am getting different results from both of...

Hi, I am profiling a function and am using CCS as well as load6x for this purpose. I am getting different results from both of them. 1. Load6x is showing a lesser count than CCS. 2. Load6x shows consistent counts for max min and avg. CCS shows different counts for


Profiling Code on DSK

Started by Nikhil S. Parvatikar in TMS320c6x25 years ago

Hi !!!   When i profile a code on the DSK C6711 ( CCS V2.0) by enabling the profile clock i find that each a

Hi !!!   When i profile a code on the DSK C6711 ( CCS V2.0) by enabling the profile clock i find that each a


Profile Problem

Started by simha j in TMS320c6x24 years ago 2 replies

hi, i am using ccs2 for 621x. I was Profiling a 'for loop' of my c-code which loops for count=200, few equations in it. For...

hi, i am using ccs2 for 621x. I was Profiling a 'for loop' of my c-code which loops for count=200, few equations in it. For this case I got clock=15050. but when i made count =1 (i.e., only one iteration), I am getting clock = 550. so for count=


Profiling C Code

Started by indrtiya in TMS320c6x24 years ago

Dear Experts, I am working on the development of a software codec for the TMS320C6416 DSP from TI. I am using the Test and...

Dear Experts, I am working on the development of a software codec for the TMS320C6416 DSP from TI. I am using the Test and Evaluation Board with XDS510PP and Code Composer Studio Version 2.10. I am at a stage where my code is written in C only and I have used C instrinsics for


tips for calculating the MIPS

Started by raja nayaka in TMS320c6x24 years ago

Hello C6x Pals I want know some basic tips for calculating the MIPS. Can any one suggest as how to calculate the MIPS for a code...

Hello C6x Pals I want know some basic tips for calculating the MIPS. Can any one suggest as how to calculate the MIPS for a code written in C. Will profiling help me ? Are MIPS the general indicators of an efficient code? For C6211 for instance,it reads as 1200 MIPS, but


Profiling with simulator and actual processor

Started by Indrajit Chakrabarty in TMS320c6x23 years ago 1 reply

Dear Experts, I had a post similar to the one I have now. I am using the C6xxx Simulator (Revision 2) with "MAP 1" (Default ...

Dear Experts, I had a post similar to the one I have now. I am using the C6xxx Simulator (Revision 2) with "MAP 1" (Default memory mapping) and I am using a TI Test and Evaluation Board with a TMS320C6416 on it. I am porting a huge bundle of code and I a


C6201 - EMIF wait State ?

Started by goelhss in TMS320c6x23 years ago 2 replies

Hi .... I have to run my code on 'C6201. If i use internal program memory, there is some profiling figure, which is different...

Hi .... I have to run my code on 'C6201. If i use internal program memory, there is some profiling figure, which is different than if i load my code in external memory(i.e. SBSRAM, or SDRAM). Is it because of wait states ? The documents say that there is certain n


Profiling in CCS

Started by #JONATHAN SANITO# in TMS320c6x22 years ago 4 replies

Hi, I am using CCS 2.0, to program on C6711 DSK. I'm trying to profile my code. But the funny thing I got different results for...

Hi, I am using CCS 2.0, to program on C6711 DSK. I'm trying to profile my code. But the funny thing I got different results for different execution. Is this normal? I actually set to profile functions that don't have any communication with my host pc. ie no printf/fread and su


Printf 30K cycles?

Started by #JONATHAN SANITO# in TMS320c6x23 years ago

Hi all, I am using C6711 DSK, CCS 2.0. I really had doubts in my program cycle count. I was profiling 1 single printf statement...

Hi all, I am using C6711 DSK, CCS 2.0. I really had doubts in my program cycle count. I was profiling 1 single printf statement and gives me the result of 34600 + cycle. I believe printf should only takes around 3k cycles? Do you have suggestions where I might be wrong?


PBC

Started by Kiran Chitriki in TMS320c6x23 years ago 1 reply

Hi, how to run only a certain part of the code for PBC(Profile based compilation).Actually i set the start and end points n...

Hi, how to run only a certain part of the code for PBC(Profile based compilation).Actually i set the start and end points n left for profiling..but it gets aborted without giving the configuration graph....any suggestions??? Kiran


Problem with DMA

Started by Giovanni Parodi in TMS320c6x23 years ago 1 reply

Hi Cx, I have a little problem with DMA in c6701. I need to initialize with 0.0 an array of 65536 float stored in external memory...

Hi Cx, I have a little problem with DMA in c6701. I need to initialize with 0.0 an array of 65536 float stored in external memory and I wanna do this operation using DMA. I created a little program to test the DMA and I've seen that it works but profiling the function I've seen resul


Profiling on DM642 EVM board

Started by Lakshman in TMS320c6x21 years ago

Hi all, I'm working on DM642EVM with CCS 3.0 IDE. The CCS profiler is showing incorrect profile figures for function calls(cache...

Hi all, I'm working on DM642EVM with CCS 3.0 IDE. The CCS profiler is showing incorrect profile figures for function calls(cache config. is not changed). The profile figures are not getting refreshed after every call, It sometimes don't show up the statistics at all. Can anyone please explain wht's going wrong on the settings? When I comp


Profiling in simulator

Started by Goh Chee Wei in TMS320c6x23 years ago

Has anybody try profilling in simulator using C6203? I'm using CCS ver2.1, is the result accurate when using simulator? from...

Has anybody try profilling in simulator using C6203? I'm using CCS ver2.1, is the result accurate when using simulator? from the CCS menu, the result in the profiler will indicate the number of instruction cycles, is this true?   If the result is not accurat


Profiling Code timings

Started by Imran Akthar in TMS320c6x22 years ago 2 replies

Hi there,    I m using DM642 simulator,600MHz,CCS ver 2.2,WINDOWS 2000 OS.    I have a algorithmn and i want to...

Hi there,    I m using DM642 simulator,600MHz,CCS ver 2.2,WINDOWS 2000 OS.    I have a algorithmn and i want to check the time take


Re: How to speed up profiling

Started by Yong Yang in TMS320c6x22 years ago

Hi, Ganesh Pls see the answers below, What are the functions that you are trying to profile ? All major...

Hi, Ganesh Pls see the answers below, What are the functions that you are trying to profile ? All major functions in the encoder What are your pr


Re: How to speed up profiling

Started by Yong Yang in TMS320c6x22 years ago

Hi Ganesh,   Thanks for your answer.  I need some clarification. Pls see them embedded below (in red). ...

Hi Ganesh,   Thanks for your answer.  I need some clarification. Pls see them embedded below (in red).  


Fwd: Re: [code-comp] How to speed up profiling

Started by Yong Yang in TMS320c6x22 years ago 8 replies

HI, ganesh   Do i have to enable clock as well when using TIMER_getCount()? If i enable it, the same error message (invalid...

HI, ganesh   Do i have to enable clock as well when using TIMER_getCount()? If i enable it, the same error message (invalid CIO command) comes out.   Thank you   Yong Note: forwarded message attached.


Fwd: Re: Fwd: Re: [code-comp] How to speed up profiling

Started by Yong Yang in TMS320c6x22 years ago

HI, Ganesh   A typo Control Register (CTL) is 0x200 instead of 0x0   You said output of TIMER_getCount...

HI, Ganesh   A typo Control Register (CTL) is 0x200 instead of 0x0   You said output of TIMER_getCount should be multiplied by 8. Is it because you set Input Clock Source(CLKSRC) to (CPU clock)/8? Can i use the default value "External