При отладке 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 Пробовал различные конфигурации триггеров в отладчике, не помогает. Может кто сталкивался?
|