<?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.4 breakpoints with USB Tap</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245100#M9507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check whether you have disabled watchdog:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="disable watchdog.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40273i5F720A0565AD0ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="disable watchdog.png" alt="disable watchdog.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the watchdog is enabled after target reset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2013 03:39:54 GMT</pubDate>
    <dc:creator>TICS_Fiona</dc:creator>
    <dc:date>2013-08-08T03:39:54Z</dc:date>
    <item>
      <title>Codewarrior 10.4 breakpoints with USB Tap</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245099#M9506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OS - Win 7&lt;/P&gt;&lt;P&gt;Codewarrior version 10.4&lt;/P&gt;&lt;P&gt;Debugger - USB Tap&lt;/P&gt;&lt;P&gt;Processor - MC56F847x&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having problems getting breakpoints to be hit in my application as well as codewarrior processor expert example applications. I tried the example projects when I found I could not get the breakpoints in main to be hit - I thought it may be an issue with my own application but the example projects also have the same problem. I can step through fine inside _EntryPoint() as seen below. For the debugger options I have set the Program execution to Stop at Startup on the Program entry point. I also tried user specified (main) but both yield the same result. I cannot get the breakpoints in the main function to be hit. The program executes successfully.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5528_5528.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119639iE072B49347195D87/image-size/large?v=v2&amp;amp;px=999" role="button" title="5528_5528.jpg" alt="5528_5528.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40267i449F974C0CDEA87C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled2.jpg" alt="Untitled2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;The debugging starts at:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void _EntryPoint(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; #pragma constarray off&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** !!! Here you can place your own code before PE initialization using property "User code before PE initialization" on the build options tab. !!! ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** ### MC56F84789VLL "Cpu" init code ... ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** PE initialization code after reset ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Disable watchdog after reset based on the setting of the "Watchdog" property in CPU component */&lt;BR /&gt;&amp;nbsp; /* COP_CTRL: ??=0,??=0,??=0,??=0,??=0,??=0,PSS=3,INTEN=0,CLKSEL=0,CLOREN=0,CSEN=0,CWEN=0,CEN=0,CWP=0 */&lt;BR /&gt;&amp;nbsp; setReg16(COP_CTRL, 0x0300U);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; /* System clock initialization */&lt;BR /&gt;&amp;nbsp; setRegBitGroup(OCCS_OSCTL1, FREQ_TRIM8M, ((*(word *)0xE42C) &amp;amp; 0x03FFU)); /* Trim the 8MHz internal relaxation oscillator, frequency trim value */&lt;BR /&gt;&amp;nbsp; clrReg16Bit(OCCS_OSCTL1, ROPD);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable internal 8MHz oscillator */&lt;BR /&gt;&amp;nbsp; setReg16Bit(OCCS_OSCTL1, CLK_MODE);&amp;nbsp; /* Select an external clock bypass mode */&lt;BR /&gt;&amp;nbsp; setRegBitGroup(OCCS_CTRL, PRECS, 0U); /* Select an internal 8MHz clock source for the CPU core */&lt;BR /&gt;&amp;nbsp; clrSetReg16Bits(OCCS_CTRL, OCCS_CTRL_PLLPD_MASK, OCCS_CTRL_LCKON_MASK); /* Enable PLL, LCKON and select clock source from prescaler */&lt;BR /&gt;&amp;nbsp; /* OCCS_DIVBY: LORTP=2,COD=0,??=0,??=0,PLLDB=0x31 */&lt;BR /&gt;&amp;nbsp; setReg16(OCCS_DIVBY, 0x2031U);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set the clock prescalers */ &lt;BR /&gt;&amp;nbsp; while(!getRegBit(OCCS_STAT, LCK0)){} /* Wait for PLL lock */&lt;BR /&gt;&amp;nbsp; setReg16Bits(OCCS_CTRL, OCCS_CTRL_ZSRC_MASK); /* Enable PLL, LCKON and select clock source from prescaler */&lt;BR /&gt;&amp;nbsp; /* OCCS_PROT: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,FRQEP=0,OSCEP=0,PLLEP=0 */&lt;BR /&gt;&amp;nbsp; setReg16(OCCS_PROT, 0x00U);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set the OCCS protection register */ &lt;BR /&gt;&amp;nbsp; /*** End of PE initialization code after reset ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*** !!! Here you can place your own code after PE initialization using property "User code after PE initialization" on the build options tab. !!! ***/&lt;/P&gt;&lt;P&gt;&amp;nbsp; asm(JMP init_56800_);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Jump to C startup code */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;=============================================&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here it is fine I can step through, however after it goes to the asm(JMP init_56800_) then it starts to step into the 56F83x_init.asm. I have put in breakpoints in the main function as seen below but none of these breakpoints are hit even though the program executes successfully. Is there some setting I am missing?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5527_5527.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119640i9E6AFECDB8FCBFDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="5527_5527.jpg" alt="5527_5527.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40260iE14B543E0BBEF708/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 20:46:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245099#M9506</guid>
      <dc:creator>doom_guy</dc:creator>
      <dc:date>2013-08-07T20:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 10.4 breakpoints with USB Tap</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245100#M9507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check whether you have disabled watchdog:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="disable watchdog.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40273i5F720A0565AD0ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="disable watchdog.png" alt="disable watchdog.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the watchdog is enabled after target reset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 03:39:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245100#M9507</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2013-08-08T03:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 10.4 breakpoints with USB Tap</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245101#M9508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - yes the Watchdog is set to disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 12:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-10-4-breakpoints-with-USB-Tap/m-p/245101#M9508</guid>
      <dc:creator>doom_guy</dc:creator>
      <dc:date>2013-08-08T12:10:32Z</dc:date>
    </item>
  </channel>
</rss>

