DSP/BIOS running out of flash

Started by thegreat105 in TMS320c6x18 years ago 2 replies

Hello All, I am working on DSK C6711 board. To add the kernel features if I configure my application using DSP/BIOS tools...

Hello All, I am working on DSK C6711 board. To add the kernel features if I configure my application using DSP/BIOS tools would it be possible to run the same application out of flash. Moreover I want to know that if I doesn't was to add profiling and analysis tools in


Doubt on profiling a loop

Started by libi...@stee.stengg.com in TMS320c6x17 years ago

HI, DSP expert I am using XD510PP emulator connected with a DSP board. I want to profile a loop. AT first, I used profile viewer...

HI, DSP expert I am using XD510PP emulator connected with a DSP board. I want to profile a loop. AT first, I used profile viewer to get the cycles:incl.Ave of the loop, it is 769096. Then I set two breakpoint at the beginning and end of this loop, and use clock to collect the Cycles. When programme stoped at the beginning of the loop, I reset the


Confusion about profiling:DM6446 Cycle accurate simulator

Started by perushiv in TMS320c6x15 years ago

For DM6446 Cycle accuracy simulator, when I profiled 1. I got cycles.total and cycles.cpu data. This number for cycles.tota...

For DM6446 Cycle accuracy simulator, when I profiled 1. I got cycles.total and cycles.cpu data. This number for cycles.tota l=3*cycles.cpu. Which one should I consider and what is the meaning of both. 2. There is a field called "others" (this is, last but one element after functions that are been listed in left most coulmn), which is also taking some significant amount of cycles....


DATA

Started by sandeep gajbhiye in TMS320c6x15 years ago

hi there ! i am using C6713.i have did profiling with optimization (0-3) lavel. now i want to how to calculte the data memory for context...

hi there ! i am using C6713.i have did profiling with optimization (0-3) lavel. now i want to how to calculte the data memory for context data , tables , local variable and array ? i find memory map file , but didnt get the answer. Is the varialbe in the Code size tune are the data memory ? how to find memory for tables ? in which section it is stored ? my stack memory show 0x0 to 0x1000...


Different profile results with load6x and CCS

Started by Sachin Gupta in TMS320c6x19 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


BIOS profiling not matching cycle counts

Started by Jeff Brower in TMS320c6x12 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...


Profiling in simulator

Started by Goh Chee Wei in TMS320c6x19 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


bit_rev is too slow when fft

Started by Xuchen Yao in TMS320c6x15 years ago 2 replies

Hi, Using C67x DSP library, whenever we perform FFT, like DSPF_sp_cfftr2_dit() or DSPF_sp_icfftr2_dif(), we must use bit_rev(). But bit_rev()...

Hi, Using C67x DSP library, whenever we perform FFT, like DSPF_sp_cfftr2_dit() or DSPF_sp_icfftr2_dif(), we must use bit_rev(). But bit_rev() is not in the DSP library, what I get is only C code written in "TMS320C67x DSP Library Programmer's Reference Guide". After some profiling, I found it extremely slow. Do we have ASM code for this function? Thank you. Xuchen


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

Started by Yong Yang in TMS320c6x19 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.


ccs profiler

Started by Khawar Shahzad in TMS320c6x14 years ago 1 reply

Hi, I am using c6416 device cycle accurate simulator and i am profiling a piece of code. When i use clock() function to get the cycle count, i...

Hi, I am using c6416 device cycle accurate simulator and i am profiling a piece of code. When i use clock() function to get the cycle count, i get 16500 cycles for the code... but when i use code composer studio profiler tool then i get 25000 cycles as the cycle count. My question is that which cycle count is correct and why am i getting different cycle count. Thanks


Re: Error message while profiling

Started by Mike Dunn in TMS320c6x17 years ago 2 replies

Li Bing, You do not mention which c6x DSP that you are using. The error message shows a problem at memory address 0x00083F6C. Most...

Li Bing, You do not mention which c6x DSP that you are using. The error message shows a problem at memory address 0x00083F6C. Most c6x devices do not have memory at that address - check the map file and linker command file. mikedunn --- Li Bing wrote: > HI, DSP friends >


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

Started by Yong Yang in TMS320c6x19 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


How to profile total cycles of a loop correctly

Started by libi...@stee.stengg.com in TMS320c6x17 years ago

Hi, I start to profile a loop in my code. I am using XDS510PP emulator. If I follow this sequence : load the program, activate the...

Hi, I start to profile a loop in my code. I am using XDS510PP emulator. If I follow this sequence : load the program, activate the profile, and run. The total cycles collected in the profile view is quite small. If I sequently press Debug-restart, and run again. The total cycles in the profile view is quite large. Why? Which way in profiling is correct.


Doubt reg memory allocation DM6437

Started by src_be in TMS320c6x15 years ago

Hi all, i m facing some problems wrt to allocation of code and data sections on DM6437 board. 1)On 64x,all the sections(code and data) are...

Hi all, i m facing some problems wrt to allocation of code and data sections on DM6437 board. 1)On 64x,all the sections(code and data) are placed in L2MEM and the MIPS are calculated but On DM6437 i m not able to put all sections internally.how to decide which sections should lie internal and which others external? 2)while profiling on DM6437 board, keeping both program and data ...


What is difference between cycle.CPU: Incl. Avg and cycle.Total: Incl. Avg

Started by Li Bing in TMS320c6x17 years ago

HI, DSP friends I am using C6711 Device Cycle Accurate Simulator in CCS 3.0 IDE. I want to profile a loop in my code. In profiling view...

HI, DSP friends I am using C6711 Device Cycle Accurate Simulator in CCS 3.0 IDE. I want to profile a loop in my code. In profiling view there are two items - cycle.CPU: Incl. Avg and cycle.Total: Incl. Avg . What is difference between them? Thanks LI Bing


Re: How to speed up profiling

Started by Yong Yang in TMS320c6x19 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


Profiling Code timings

Started by Imran Akthar in TMS320c6x19 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


C6713 profiling

Started by Quan Nguyen in TMS320c6x17 years ago

Hi everybody,   I want to profile my program on TMS320C6713 and I found some instructions in "spru198g.pdf" , page 41-42. ...

Hi everybody,   I want to profile my program on TMS320C6713 and I found some instructions in "spru198g.pdf" , page 41-42.   1) In section 2.3.1.1 , they talk about the command :  


TI DM642 Profile Related

Started by gbalwant in TMS320c6x15 years ago

Hello, I am porting AAC decoder for DM642. I am facing some problems with profiling. The Cycles incl & cycles excl are not satisfactory....

Hello, I am porting AAC decoder for DM642. I am facing some problems with profiling. The Cycles incl & cycles excl are not satisfactory. Also, the no optimization profile results & optimized profile results are not satisfactory. A function having few lines is showing cycles nearly equal to main. for example For No optimization cycle.CPU: cycle.CPU: cycle.Total: cycle.Total: In...