Http://hi.baidu.com/hmilo029/blog/item/9687fbf81bac650bd8f9fdc3.html
Differences in uClinux content downloaded from the uClinux official site http://www.uclinux.org and the ADI Blackfin website http://blackfin.uclinux.org, the market is dominated by arm processors, and DSP processors have gradually become a new favorite because of the emergence of a variety of new series. Here we use Adi (analogdevices. INC) the company's Blackfin
I am troubled by the optimization of the Ti 6000 series DSP. I would like to sum up my optimization experience and hope to help you.
I. First, we should consider optimizing the system structure. For example, we should try to reduce unnecessary migration of data to be processed, and consider optimizing the system structure of your DSP disk memory and the amount of data processed each time, this part of optim
Modeling and configuration of DSP System
[Date: 2008-6-2]
Source: electronic design application by Eyal Bergman
[Font: large, medium, and small]
Embedded software development requires a thorough understanding of the target architecture and its application. It takes a series of steps to transform the concept of an embedded system into an efficient solution that can be effectively deployed in a hardware environment. The entire pro
works normally when Flash is burned. For details, see section 5th of general method for Flash writing on TMS320C6713.Check for hidden memory errors in the program.
In many cases, programs in RAM can run normally when the array is out of bounds, but running after Flash writing will crash or the program will run.
For example, defining an array,
int x[5];
You can use statements like x [5] = 10 to run correctly in a RAM program, or on a PC. However, after writing the program to Flash, the
first, to consider the optimization from the system structure, such as minimizing the unnecessary removal of data to be processed, considering your DSP chip memory reserves and each processing data volume of the system structure optimization, this part of the optimization should be done first;
Second , from the algorithm level, to see whether the algorithm has a better and simpler calculation method, the algorithm has some symmetry, can be used more
Basic class DSP/bios api call
I. Clock management CLK(1) uns ncounts = clk_countspms (void)Returns the counter value of the timer high-resolution clock per millisecond.(2) lguns currtime = clk_gethtime (void)The Return Value of the high-resolution clock exceeds 32 bits and returns to zero.High-resolution clock is the DSP clock divided by (tddr + 1)(3) lguns currtime = clk_getltime (void)The Return Value of
For more information about datasheet translation, see datasheet 3.9.6.
---------------------------------
3.9.6 reset Sequence
When the reset # signal is low, the clock generator enters the bypass mode. At this time, the input clock is set to clkin or x2/clkin Based on the gpio4 status. When the level of the reset # pin changes from low to high, the following events are performed in sequence.
Gpio6 and gpio7 are sampled at the rising edge of the reset signal. The status of gpio6 and
Reproduced in the original: http://blog.csdn.net/hw5226349/article/details/50767454 thank you very much.
After a period of research finally the tms320c6657 single-core and dual-core SPI Nor Flash program to write tune. Tools are predecessors of the work, there is a need to leave the mailbox, I have free to send.
Principle reference Chanfong's "TI c66x series DSP multi-core boot research" paper.
All processes of the loa
There are many descriptions about YUV4: 2: 2 to YUV4: 2: 0 on the network, but most of them are about the principle and there is no practical practice, this article provides the code tested on ti davinci DM6446 for your reference and learning. At the same time, I hope you can give us some advice. This method is applicable to DSP series such as TI, DM643x, and DM644x. The previous image collection formats are generally YCbCr (YUV4: 2: 2). However, many
expands: #pragma data_section (G). G ") If this does not work, modify the build option, into the advance, the memory mode into the" far ", the RTS calls to" are far "on the line.
13. Need to be very careful: CCS has an automatic optimization function, that is, choose-o1~-o3 in Build option, there will be different degrees of optimization results. But after optimization, CCS will turn the loop of the program into a DSP-like pipelined form, so it's un
DSP programming languages are assembly and C
Let's start with the compilation basics, which are several common operations
MOVE Transfer, ADD addition, sub subtraction, Mpym multiplication, MACM multiply (MACM a,b,c = "C=a*b+c")
Shift: Shift-out bit discard, vacancy 0, left n is equal to n times 2, right shift n is equal to 2 of the n-th square
For the program, mainly consists of data and code, the data is divided into initialized data and uninitializ
The management module provided in Dsp/bios for coordination between threads
1 MBX Mailbox Management module
The MBX module uses a set of functions to manage access to a mailbox through a handle to a mailbox object.
Usually mbx_pend function to wait for the message of the mailbox. This function can take a timeout parameter to control when the task is allowed to wait. If the parameter is set to Sys_forever, it causes the calling task to wait indefinitel
What is IOMath for floating-point to fixed-point operations? dsp, iomathdsp
[Post Source: blog.csdn.net/lanmanck]
I did not find it suitable for searching on the Internet. I will share it with you.
We all know that there are few CPUs in the embedded system with floating-point operation instructions, and TI's DSP is also cheap. So what should we do if we want to increase the floating point speed during op
We selected jm6.1e reference software published by ITU-T as our optimization object, the goal is to achieve a base-line profile real-time codec algorithm. However, the jm6.1e code is complex and redundant. Therefore, you need to make major adjustments on the PC end, involving the following work: remove redundant code, standardize program structure, global and local variable adjustment and redefinition, and structure adjustment. 1. code migrationCode porting is to port the program running on the
adnetwork, Adexchange, DSP, SSP, RTB, DMP there is an inherent relationship between these patterns, so in understanding, we need to connect to understand, can not be separated. 1, RTB (realtimebidding, real-time bidding):
Definition: A bidding technique that uses third-party technology to evaluate and bid on the millions of Web sites for each user to display their behavior.
Personal understanding: If the Internet is compared to a spider web, then whe
first, the optimization process is generally divided into three stages
Phase one: directly as needed in C language to implement the function. In the actual DSP application, many algorithms are written directly with the assembly code, although the optimization efficiency is very high, but the implementation of the difficulty is very large, so generally first use C language to achieve, and then compile and run, using the C64X development Environment Pro
The SWI module manages software interruption services. These interrupt service programs are closely related to Hwi hardware interrupt service programs. Generally, most of the daily processing functions are placed in these software interrupt service programs for management and operation.
I. Overview of the SWI Module
In the DSP/BIOS kernel, the threads managed and run by the system are divided into four levels: hardware interrupt service program, softw
Work Phase:The workflow is generally divided into three stages.
Phase 1: Use the C language to implement the function as needed. In actual DSP Applications, many algorithms are very complex and can be directly written using assembly code. Although the optimization efficiency is very high, the implementation is very difficult, therefore, it is generally implemented in C language and then compiled and run. The program running time is tested using the pr
If a function is frequently called many times, we should start with the details. Sometimes we have no idea about the logic of the Code itself. These details can often bring us unexpected results. A type modifier is one of them.
constKeywords do not need to be said, but we can often ignore them, so try to develop a habit: when designing a function parameter or declaring a variable (either local or global, subconsciously consider whether we can design this variable as unchangeable.
NOTE: If it i
should I do to avoid errors?2. In the description of O3, "various cyclic optimizations have been executed". How can we optimize various cyclic optimizations? Under what conditions? What have been optimized?3. "various file-level properties are also used to improve performance". What does a file-level nature mean? Why does it improve performance?
O3 is the largest optimization level, especially for loop attempts to carry out software flow. After optimization, some infrequently used intermediate
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.