[an error occurred while processing this directive]
Ответ:
(«Телесистемы»: Конференция «Цифровые сигнальные процессоры (DSP) и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено VC 19 июля 2006 г. 15:47
В ответ на: А разве могут файлы с расширениями *.с, *.h и *.s28 автоматически генерироваться? отправлено <font color=gray>Вяч</font> 19 июля 2006 г. 15:11

Могут

In order to use the DSP/BIOS API, a program must have a DSP/BIOS configuration file. The configuration file defines objects and object properties for use by the application program.

In this step, you create a configuration file for the program. The configuration defines a LOG object used to display the "hello world" message.

Choose File®New®DSP/BIOS Configuration.

Select the template for your DSP target and click OK.

You see the configuration window. The left side of the window lists categories of modules. You can see a list of modules by clicking the + symbol next to the category. You can see a module's objects by clicking the + symbol to the left of a module manager. The right side of the window shows properties of the selected manager or object. Click the + sign next to the Instrumentation category to display its list of modules.

Right-click on the LOG - Event Log Manager and choose Insert LOG from the context menu. This creates a LOG object called LOG0.

Right-click on the name of the LOG0 object and choose Rename from the context menu. Change the object’s name to trace.

If you are using a simulator target and did not select a configuration template specifically for the simulator, set the RTDX Mode to Simulator.

Choose File®Save. Move to your working folder (usually C:\CCStudio_v3.10\myprojects\hellobios) and save this configuration file with a filename of hello.cdb. Saving this configuration generates the following files:

hello.cdb. Stores configuration settings

hellocfg.cmd. Linker command file

hellocfg.h. Includes DSP/BIOS module header files and declares external variables for objects created in the configuration file

hellocfg.s. Assembly language source file for DSP/BIOS settings

hellocfg.h.. Assembly language header file included by hellocfg.s.

hellocfg_c.c. Code for Chip Support Library (CSL) structures and settings

You may notice a hello.ccf file in your project directory. This is a temporary file that exists only when the configuration file is open. Do not attempt to open, delete, or modify this file.

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Rambler's Top100 Рейтинг@Mail.ru
Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание