<?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>topic Re: LPC810 invalid PC (program counter) on reset in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC810-invalid-PC-program-counter-on-reset/m-p/1597758#M51608</link>
    <description>&lt;P&gt;Nevermind.&amp;nbsp; I had the ISP pin (pin 5) grounded when trying to run the program.&amp;nbsp; Disconnecting the pin and resetting the chip allowed the program to run as expected.&amp;nbsp; Sorry for the interruption.&lt;/P&gt;</description>
    <pubDate>Sun, 12 Feb 2023 22:56:33 GMT</pubDate>
    <dc:creator>aaronm</dc:creator>
    <dc:date>2023-02-12T22:56:33Z</dc:date>
    <item>
      <title>LPC810 invalid PC (program counter) on reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC810-invalid-PC-program-counter-on-reset/m-p/1597757#M51607</link>
      <description>&lt;P&gt;Simple default project in MCUXpresso v11.7.0&lt;/P&gt;&lt;P&gt;LPC810 SDK 2.9.0&lt;/P&gt;&lt;P&gt;This is a bare chip: it's not an evaluation kit board.&amp;nbsp; The chip is LPC810M021FN8.&lt;/P&gt;&lt;P&gt;When I try to debug this program with gdb on the command line, using the J-Link GDB Server as the backend, I get the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;(gdb) load&lt;BR /&gt;Loading section .text, size 0x238 lma 0x0&lt;BR /&gt;Start address 0x00000000, load size 568&lt;BR /&gt;Transfer rate: 554 KB/sec, 568 bytes/write.&lt;/P&gt;&lt;P&gt;(gdb server) Downloading 568 bytes @ address 0x00000000&lt;BR /&gt;Writing register 'pc' = 0x00000000&lt;BR /&gt;ERROR: RAM area configured for this target is too small&lt;/P&gt;&lt;P&gt;(gdb) monitor reset&lt;BR /&gt;Resetting target&lt;/P&gt;&lt;P&gt;(gdb server) Received monitor command: reset&lt;BR /&gt;Resetting target&lt;/P&gt;&lt;P&gt;(gdb) mon step&lt;/P&gt;&lt;P&gt;(gdb server) Received monitor command: step&lt;BR /&gt;Performing single step...&lt;BR /&gt;...Target halted (DBGRQ, PC = 0x1FFF00C4)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This PC seems to crop up a lot.&amp;nbsp; Every time I load a different program and try to step through after a reset, I get the same address.&amp;nbsp; I also tried a different LPC810 chip, and it behaves the same way.&amp;nbsp; The error&amp;nbsp; about the RAM size too small is consistent, too.&amp;nbsp; I'm using the default configuration as much as possible, except I've selected "Optimize for size" so everything will fit in the flash.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 22:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC810-invalid-PC-program-counter-on-reset/m-p/1597757#M51607</guid>
      <dc:creator>aaronm</dc:creator>
      <dc:date>2023-02-12T22:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC810 invalid PC (program counter) on reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC810-invalid-PC-program-counter-on-reset/m-p/1597758#M51608</link>
      <description>&lt;P&gt;Nevermind.&amp;nbsp; I had the ISP pin (pin 5) grounded when trying to run the program.&amp;nbsp; Disconnecting the pin and resetting the chip allowed the program to run as expected.&amp;nbsp; Sorry for the interruption.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Feb 2023 22:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC810-invalid-PC-program-counter-on-reset/m-p/1597758#M51608</guid>
      <dc:creator>aaronm</dc:creator>
      <dc:date>2023-02-12T22:56:33Z</dc:date>
    </item>
  </channel>
</rss>

