|
From: Michel C. <mic...@gm...> - 2009-04-25 00:27:07
|
Øyvind Harboe a écrit : >> It depends. WIth IAR If I don't reset the device correctly it programs >> garbage. What I found out was that the DMA was still running >> and wiping out some RAM location used by the downloader. With IAR you >> have the option to reset or not reset the peripherals. >> Perhaps those kind of options should be available with OpenOCD. >> > > This sounds strange. So the normal powercycle reset is not available > throught srst/trst? > > How are peripherals reset then, in an init script? > > > I don't have IAR here. I will check monday. My options for reset are "normal" and "reset all peripherals" If I can't see what it runs I will ask my contact at IAR. At the price I pay I should be able to get a clear answer. I spent several days trying to figure out why it was not programming correctly. I only found the problem in code where I use DMA. I haven't tested OpenOCD with IAR, I use the yellow device from Segger and the IAR driver. Michel -- Tired of Microsoft's rebootive multitasking? then it's time to upgrade to Linux. http://home.comcast.net/~mcatudal |