<?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: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1398585#M47610</link>
    <description>&lt;P&gt;Jlink IDE is 3rd and I don't have have. That's why I suggest you using MCUXpresso IDE to test the basic connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you follow attached video to test Jlink interface. If you can get the same result as the video, please use MCUXPresso IDE to test the download. MCUXpresso IDE is free. I am not compelling you changing IDE. This is only for the purpose to test the basic HW connection to identify the problem on your PC side or HW side.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 03:50:12 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2022-01-13T03:50:12Z</dc:date>
    <item>
      <title>LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloader.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1397470#M47595</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using a LPC822 MCU for the below schematics but get an error while flashing:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Load "debug\\hello_world.out" &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Set JLink Project File to "mdk\JLinkSettings.ini"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Device "LPC822M101" selected.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;JLink info:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;DLL: V7.56b, compiled Oct 18 2021 16:30:47&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Hardware: V8.00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;S/N : 805251123 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDB &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Found SW-DP with ID 0x0BC11477&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: DPv0 detected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Scanning AP map to find all available APs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: AP[0]: AHB-AP (IDR: 0x04770031)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Iterating through AP map to find AHB-AP to use&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: AP[0]: Core found&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: AP[0]: AHB-AP ROM base: 0xF0000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: CPUID register: 0x410CC601. Implementer code: 0x41 (ARM)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Found Cortex-M0 r0p1, Little endian.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: CoreSight components:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: ROMTbl[0] @ F0000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: [0][0]: 14000000 CID 00000000 PID 00000000 ???&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: [0][1]: E00FF000 CID B105100D PID 000BB4C0 ROM Table&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: ROMTbl[1] @ E00FF000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: [1][0]: E000E000 CID B105E00D PID 000BB008 SCS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: [1][1]: E0001000 CID B105E00D PID 000BB00A DWT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: [1][2]: E0002000 CID B105E00D PID 000BB00B FPB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;ROMTableAddr = 0xF0000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: CPU did not halt after bootloader.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: CPU did not halt after bootloader.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Target info:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Device: LPC822M101JHI33&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;VTarget = 3.293V&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;State of Pins: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Hardware-Breakpoints: 4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Software-Breakpoints: 8192&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Watchpoints: 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;JTAG speed: 2000 kHz&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Full Chip Erase Done.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Programming Done.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Verify OK.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: CPU did not halt after bootloader.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;* JLink Info: CPU did not halt after bootloader.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Application running ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Flash Load finished at 16:08:39&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The application is not running after flash.&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 15:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1397470#M47595</guid>
      <dc:creator>Elmar</dc:creator>
      <dc:date>2022-01-11T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1397914#M47603</link>
      <description>&lt;P&gt;HI&amp;nbsp;Elmar&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding to SWD interface design, please refer this FAQ&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To test the interface, please use MCUXpresso IDE to download SDK blinky led demo&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE" target="_blank"&gt;https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can the blinky code run on your target?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 07:52:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1397914#M47603</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-01-12T07:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1397999#M47605</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I can flash the device using stlink and jlink debuggers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't see the program application as for led blinky app the pin is not changing state.&lt;/P&gt;&lt;P&gt;So I tried to put the Keil into debug mode and the pointer goes through 3 instructions:&lt;/P&gt;&lt;P&gt;0x1FFF00D6 7830 LDRB r0,[r6,#0x00]&lt;BR /&gt;0x1FFF00D8 2800 CMP r0,#0x00&lt;BR /&gt;0x1FFF00DA D1FC BNE 0x1FFF00D6&lt;/P&gt;&lt;P&gt;Then it restart each time. And it loads them into R15(PC) Core (see attachment). That's all.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 15:56:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1397999#M47605</guid>
      <dc:creator>Elmar</dc:creator>
      <dc:date>2022-01-12T15:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1398585#M47610</link>
      <description>&lt;P&gt;Jlink IDE is 3rd and I don't have have. That's why I suggest you using MCUXpresso IDE to test the basic connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you follow attached video to test Jlink interface. If you can get the same result as the video, please use MCUXPresso IDE to test the download. MCUXpresso IDE is free. I am not compelling you changing IDE. This is only for the purpose to test the basic HW connection to identify the problem on your PC side or HW side.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 03:50:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1398585#M47610</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-01-13T03:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1398984#M47622</link>
      <description>&lt;P&gt;I used mcuxpresso id to put the 25th pin to 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it on the 1st board that uses the same schematics and it worked, then used it on the 2nd board it didn't work. Both boards are the same LPC822M101 MCU.&lt;/P&gt;&lt;P&gt;Here is the comparison of the flashing messages (see attached) please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why it doesn't execute the program on my 2nd board?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 16:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1398984#M47622</guid>
      <dc:creator>Elmar</dc:creator>
      <dc:date>2022-01-13T16:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1399420#M47631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Elmar&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the second board, try to connect LPC822 in ISP mode. see how it works.&lt;/P&gt;
&lt;P&gt;If fails, use Jlink commander to check if LPC822 core can be detected.&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 10:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1399420#M47631</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-01-14T10:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: LCP822 MCU programming problem using JLINK : error: * JLink Info: CPU did not halt after bootloa</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1399439#M47632</link>
      <description>&lt;P&gt;Indeed the ISP pin was the problem. As P0_12 pin (ISP pin) was forced to the low mode by an external module so after reset the MCU was in BL mode. I think that on the LPC82X datasheet file figure 5 must be corrected and "PIO0_12/ISP" must be added to let the users pay attention to this pin while using it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I released this pin and put a pullup resistor and the mcu worked normally.&lt;/P&gt;&lt;P&gt;Thanks for idea!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 10:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCP822-MCU-programming-problem-using-JLINK-error-JLink-Info-CPU/m-p/1399439#M47632</guid>
      <dc:creator>Elmar</dc:creator>
      <dc:date>2022-01-14T10:46:54Z</dc:date>
    </item>
  </channel>
</rss>

