<?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: LPC546xx IAPUpdata in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1326044#M46203</link>
    <description>&lt;P&gt;Hi, GongTao,&lt;/P&gt;
&lt;P&gt;Can you post your code and point out the code which will trigger a hardfault event?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 07:15:19 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2021-08-19T07:15:19Z</dc:date>
    <item>
      <title>LPC546xx IAPUpdata</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1325206#M46189</link>
      <description>&lt;P&gt;你好，我在使用LPC54628的开发板调试IAP更新程序的功能，我已经测试过AN12384的程序，并且成功的加载了APP的程序。但是我不想使用有线通信。我把需要加载的bin文件通过无线传输保存到了开发板外接的eMMC中，然后使用fatfs文件系统来读取这个bin文件。但是在使用f_open之后，调用EraseSector()扇区擦除函数都会进入到HardFault_Handler中断，并且在iap_entry()函数中也关闭了中断，请问这是什么原因造成的呢。&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 06:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1325206#M46189</guid>
      <dc:creator>fa_gt006</dc:creator>
      <dc:date>2021-08-18T06:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx IAPUpdata</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1326044#M46203</link>
      <description>&lt;P&gt;Hi, GongTao,&lt;/P&gt;
&lt;P&gt;Can you post your code and point out the code which will trigger a hardfault event?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 07:15:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1326044#M46203</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-08-19T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx IAPUpdata</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1326154#M46209</link>
      <description>&lt;P&gt;我已经解决这个问题了，这个问题是由于加了FATFS文件系统之后，所占用的flash空间超过了32KB，所以我想把APP程序的开始地址改为0x10000，这样分配给Bootloader的大小为64kb，这样就解决了HardFault_Handler的错误。但是我又遇到了一些其他的问题。&lt;/P&gt;&lt;P&gt;在fw_boot.h中将启动地址改为&lt;/P&gt;&lt;P&gt;#define BOOT_FIRMWARE_BASE_ADDRESS (2U * FSL_FEATURE_SYSCON_FLASH_SECTOR_SIZE_BYTES)&amp;nbsp; &amp;nbsp;/* (1024 * 32*2) Bytes. */&lt;/P&gt;&lt;P&gt;这样Bootloader的大小为64Kb，重新加载APP程序到flash之中，app程序并不能启动，这是什么原因呢？&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 09:02:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-IAPUpdata/m-p/1326154#M46209</guid>
      <dc:creator>fa_gt006</dc:creator>
      <dc:date>2021-08-19T09:02:25Z</dc:date>
    </item>
  </channel>
</rss>

