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

 
 
> MSP430F5418 + Code Composer V4.0 + DMA не работает Halt, без использования DMA всё ОК
Paramedic
сообщение Nov 5 2009, 07:47
Сообщение #1


Частый гость
**

Группа: Свой
Сообщений: 181
Регистрация: 15-01-07
Пользователь №: 24 436



При отладке MSP430F5418 под Code Composer Studio V4.0 и использовнии в программе DMA при попытке останова программы возникает следующая проблема:
"MSP430: Trouble Halting Target CPU: Could not terminate EEM polling thread." Программа-то вроде бы останавливается (светодиод на плате перестают мигать), а отладчик показывает, что всё в процессе и не хочет останавливаться.
Без DMA всё гуд. Нашёл в ерате:
EEM4 - Bug description
Module: Enhanced Emulation Logic, Function: No breakpoint stop reaction at DMA/CPU switch
If an address-related trigger, such as the general IDE breakpoint, is triggered for a CPU instruction
one cycle after a DMA transaction, the stop reaction is not accepted by the EEM (does not halt
program execution). A data related trigger set at a DMA transaction one cycle after a CPU
instruction results in the same behavior.
Workaround:
Use trigger configurations that are not dependent on DMA/not-DMA transactions (Read, Write, or
Don't Care). The State Storage Block can then be used at program stop to determine:
• Whether the trigger-causing event was a DMA or a non-DMA transaction
• The state of the program at the time of the event
Пробовал различные конфигурации триггеров в отладчике, не помогает. Может кто сталкивался?
Go to the top of the page
 
+Quote Post



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

 


RSS Текстовая версия Сейчас: 16th June 2025 - 19:09
Рейтинг@Mail.ru


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