реклама на сайте
подробности

 
 
> Отладка, трассировка...
hash20
сообщение Apr 28 2012, 14:42
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 24
Регистрация: 24-01-12
Пользователь №: 69 858



Подскажите а есть ли под IAR for MSP430 что-то типа trace_LOG как например здесь.

А ещё в хелпе на IAR нашел:
Цитата
Formatted output
C-SPY provides various methods for producing formatted output:

_ _message argList; Prints the output to the Debug Log window.
_ _fmessage file, argList; Prints the output to the designated file.
_ _smessage argList; Returns a string containing the formatted output.

where argList is a comma-separated list of C-SPY expressions or strings, and file is the result of the _ _openFile system macro, see _ _openFile.
Click the arrows below to display more information.
Examples
Use the _ _message statement, as in this example:
var1 = 42;var2 = 37;_ 
__message "This line prints the values ", var1, " and ", var2, " in the Log window.";This should produce this message in the Log window:


каким образом можно прикрутить вышеуказанное к проекту ????

Или подскажите вариант шустрой отладочной трассировки...

Вариант :
Код
#define DEBUG

#ifdef DEBUG
        printf("Log message here...\n");
#endif


слишком медленный sad.gif
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 29th July 2025 - 10:32
Рейтинг@Mail.ru


Страница сгенерированна за 0.01366 секунд с 7
ELECTRONIX ©2004-2016