Skip to main content
benjaminmortensen9
Associate
November 5, 2007
Question

Development system hangs when DMA active

  • November 5, 2007
  • 1 reply
  • 493 views
Posted on November 05, 2007 at 06:09

Development system hangs when DMA active

    This topic has been closed for replies.

    1 reply

    benjaminmortensen9
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:17

    Hello

    Perhaps this is not a Cortex only problem, but I try to post it here first.

    I use a STM32F103 (on a Keil board) my development system is IAR embedded workbench ver 4.42. I have an application that uses DMA to communicate on SPI.

    Most of the time everything is working fine, but sometimes (I suspect it is when I have shut down debugging while the DMA was active) I can not get in touch with the processor again. So when I try to flash the new SW, the system just hangs. The only solution I have found so far is to remove power from the board and plug it in again.

    Has anybody observed a similar problem, and come up with a more elegant solution?