Seminar Topics & Project Ideas On Computer Science Electronics Electrical Mechanical Engineering Civil MBA Medicine Nursing Science Physics Mathematics Chemistry ppt pdf doc presentation downloads and Abstract

Full Version: DMA Exercise DMA_1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
DMA Exercise DMA_1


[attachment=27226]

Some of the work done in the previous exercise ASC_1 can be reused in this exercise.
Copy and rename the file ASC_1.dav into
c:\hot\tc1766\dma_asc\dma_asc.dav
Open this file
File  Open and browse for dma_asc.dav.

Save your DAvE file.

Let DAvE now generate the code for you
Go to File  Generate Code or click:
DAvE open a new window with the Project Documentation file. On the left hand site a browser window shows the generated files. You can take a look at the generated code or just find out in which file DAvE put the included functions.
In general:
if the included function is a macro it is included in the ‘.h’ file.
if the included function is a function it is included in the ‘.c’ file.
Start Tasking EDE for TriCore and follow with one of the possibilities:
A project space exists already but is not open:
Open project space (File  Open Project Space ) select filename c:\hot\tc1766\tc1766.psp
A project space exists already and is open:
Follow with next step: Create a new project.

Start typing

Enter character “a” and “b” in the MTTTY Terminal.
The characters you enter are sent to the TC1766 and the TC1766 sends them back to the Terminal Program so that you can read them on the screen.
Monitor the LED on board. It should turn on/off as you enter “a” or “b”.