<?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>LPC MicrocontrollersのトピックRe: Blinky no blink, but can step debug?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637989#M25232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The board is the LPC 1769 Rev.B with the attached debugger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, the LPCOpen blinky examples build, program, debug, but do not blink. &amp;nbsp;I thought that the board was damaged somehow until my friend magically repaired it, only to be returned to the non-working state by programming it at home once again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 02:58:20 GMT</pubDate>
    <dc:creator>user24601</dc:creator>
    <dc:date>2017-04-04T02:58:20Z</dc:date>
    <item>
      <title>Blinky no blink, but can step debug?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637987#M25230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LPC 1769 RevB, LPC Expresso v8.2.2 Build 650, Semihosted C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run the code below out to the 1769 using the attached programmer. &amp;nbsp;It worked once and then I could step into the code therafter, but the LED never lit again. &amp;nbsp;This example doesn't actually, blink, but should turn on the red LED. &amp;nbsp;I took the board to a friend, and he was able to get my blinky blinking using the LPC-Link2 programmer, so I bought one and it also is able to program the part and step into the code, but does not blink the light. &amp;nbsp;I tried to program the flash with mass erase and the ISPResetConnect.scp file which had no apparent effect on the problem. &amp;nbsp;I now have 4 boards with this issue, since I thought that I was damaging them until my&amp;nbsp;friend's setup was able to revive them. &amp;nbsp;I also tried using the USB cable direct to the PC and to a different PC. &amp;nbsp;I am unable to find any references to this issue, since most of the reset type questions involve not being able to debug. &amp;nbsp;I have always been able to program and debug these parts. &amp;nbsp;Something is keeping the IO from working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifdef __USE_CMSIS&lt;BR /&gt;#include "LPC17xx.h"&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#include "board.h"&lt;BR /&gt;#include &amp;lt;cr_section_macros.h&amp;gt;&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;#define LED0_GPIO_PORT_NUM 0&lt;BR /&gt;#define LED0_GPIO_BIT_NUM 22&lt;/P&gt;&lt;P&gt;// TODO: insert other include files here&lt;/P&gt;&lt;P&gt;// TODO: insert other definitions and declarations here&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;Chip_GPIO_WritePortBit(LPC_GPIO, LED0_GPIO_PORT_NUM, LED0_GPIO_BIT_NUM, 0);&lt;/P&gt;&lt;P&gt;//Board_LED_Set(0, !Board_LED_Test(0));&lt;BR /&gt; printf("Hello World\n");&lt;/P&gt;&lt;P&gt;// Force the counter to be placed into memory&lt;BR /&gt; volatile static int i = 0 ;&lt;BR /&gt; // Enter an infinite loop, just incrementing a counter&lt;BR /&gt; while(1) {&lt;BR /&gt; i++ ;&lt;BR /&gt; }&lt;BR /&gt; return 0 ;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 20:32:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637987#M25230</guid>
      <dc:creator>user24601</dc:creator>
      <dc:date>2017-04-02T20:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Blinky no blink, but can step debug?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637988#M25231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What board are you using? Your own, or a standard board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried the standard LPCOpen blinky examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 21:13:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637988#M25231</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2017-04-03T21:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Blinky no blink, but can step debug?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637989#M25232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The board is the LPC 1769 Rev.B with the attached debugger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, the LPCOpen blinky examples build, program, debug, but do not blink. &amp;nbsp;I thought that the board was damaged somehow until my friend magically repaired it, only to be returned to the non-working state by programming it at home once again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 02:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637989#M25232</guid>
      <dc:creator>user24601</dc:creator>
      <dc:date>2017-04-04T02:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Blinky no blink, but can step debug?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637990#M25233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try to switch on vector catch and try to switch to ISP as described in:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/389112"&gt;Regaining debug access to target MCU&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then try again with the blinky example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Sol &lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:28:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637990#M25233</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2017-04-04T20:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Blinky no blink, but can step debug?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637991#M25234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that my issue is resolved. &amp;nbsp;The blinky example doesn't set IOCON, which results in unpredictable&amp;nbsp;behavior. &amp;nbsp;I've been trying to figure this out for hours, so hopefully this post will save someone else the trouble.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 05:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Blinky-no-blink-but-can-step-debug/m-p/637991#M25234</guid>
      <dc:creator>user24601</dc:creator>
      <dc:date>2017-04-05T05:09:36Z</dc:date>
    </item>
  </channel>
</rss>

