<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCUのトピックRe: Codewarrior 10, disable interrupts while stepping</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217168#M8587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm missing that functionality too. I have filed a request to add this functionality/menu/option for MCU10.1, so this will be hopefully available too.&lt;/P&gt;&lt;P&gt;What I do right now (and this is what you could do is): open the register view (if not already open), go to the core registers, CCR register and set the I CCR (disable interrupts) bit while stepping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the second problem (target already debugged): this happens to me when I forget to stop debugging and I have switched to the C/C++ perspective and then try to debug again (in that case the message is ok).&lt;/P&gt;&lt;P&gt;Seems that this is not your case. Maybe you could describe a little bit more the details so I can try to reproduce this on my side? What target are you debugging? P&amp;amp;E Multilink? Does it happen all the time? Anything to get this one resolved would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Aug 2010 17:11:28 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2010-08-20T17:11:28Z</dc:date>
    <item>
      <title>Codewarrior 10, disable interrupts while stepping</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217167#M8586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interrupts can be disabled while stepping in CW 6 via the MultiLinkCyclonePro menu, but I can't find a way to do this is in CW10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when I often get a message that the target is "already being debugged" (or similar) when I try to step.&amp;nbsp; Especially if I click on "terminate" and try to restart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Aug 2010 06:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217167#M8586</guid>
      <dc:creator>Nik</dc:creator>
      <dc:date>2010-08-08T06:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 10, disable interrupts while stepping</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217168#M8587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm missing that functionality too. I have filed a request to add this functionality/menu/option for MCU10.1, so this will be hopefully available too.&lt;/P&gt;&lt;P&gt;What I do right now (and this is what you could do is): open the register view (if not already open), go to the core registers, CCR register and set the I CCR (disable interrupts) bit while stepping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the second problem (target already debugged): this happens to me when I forget to stop debugging and I have switched to the C/C++ perspective and then try to debug again (in that case the message is ok).&lt;/P&gt;&lt;P&gt;Seems that this is not your case. Maybe you could describe a little bit more the details so I can try to reproduce this on my side? What target are you debugging? P&amp;amp;E Multilink? Does it happen all the time? Anything to get this one resolved would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 17:11:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217168#M8587</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2010-08-20T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 10, disable interrupts while stepping</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217169#M8588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't seen the "target already debugged" issue lately.&amp;nbsp; I don't know what I was doing wrong or what might have changed.&amp;nbsp;&amp;nbsp;&amp;nbsp; Regarding the step through interrupt issue, a workaround is (via Freescale support) is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*************************&lt;/P&gt;&lt;P&gt;As a current workaround for what you intend to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) You can preserve FLASH memory ranges for HCS08/RS08/CFV1 devices by specifying reserved memory ranges within Advanced Options Dialog.&lt;/P&gt;&lt;P&gt;2) You can currently use a hidden P&amp;amp;E command to enable/disable interrupts on the part:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gdi _i 1 - mask interrupts&lt;/P&gt;&lt;P&gt;gdi _i 0 - enable interrupts&lt;/P&gt;&lt;P&gt;gdi _reg - get status of PC/A/HX/SP/CCR registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P&amp;amp;E commands that I listed should be entered into 'Debugger Shell' view window. You can bring it up by selecting Debugger Shell option from Window -&amp;gt; Show View -&amp;gt; Debugger Shell menu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To determine whether the interrupts are enabled or not, you should use GDI _reg command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will output the status of all bits in the CCR register. If the I bit is set, it means that the interrupts are masked. If the I bit in CCR register is cleared, it means that the interrupts on the device are enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****************************&lt;/P&gt;&lt;P&gt;Also see the attached jpg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;BlackNight wrote:&lt;BR /&gt;&lt;P&gt;Yes, I'm missing that functionality too. I have filed a request to add this functionality/menu/option for MCU10.1, so this will be hopefully available too.&lt;/P&gt;&lt;P&gt;What I do right now (and this is what you could do is): open the register view (if not already open), go to the core registers, CCR register and set the I CCR (disable interrupts) bit while stepping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the second problem (target already debugged): this happens to me when I forget to stop debugging and I have switched to the C/C++ perspective and then try to debug again (in that case the message is ok).&lt;/P&gt;&lt;P&gt;Seems that this is not your case. Maybe you could describe a little bit more the details so I can try to reproduce this on my side? What target are you debugging? P&amp;amp;E Multilink? Does it happen all the time? Anything to get this one resolved would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 23:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-disable-interrupts-while-stepping/m-p/217169#M8588</guid>
      <dc:creator>Nik</dc:creator>
      <dc:date>2010-08-20T23:40:11Z</dc:date>
    </item>
  </channel>
</rss>

