<?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: over gsm firmware update</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531003#M10110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Fri Aug 28 11:26:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi LessThan Zero,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding to SYSMEMREMAP you open my mind. By using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define MEMMAP_SETUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define SYSMEMREMAP_Val&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000002&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;interrupts works perfect :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But regarding to memory configuration when I configure the lpc1115 as an lpc1114/301 (like in AN10995), at location 7FFC there are some values and the u32InvalidateApp() function at the secondary application returns to vBootLoader_Task(), Whereas when configuring with the settings as shown before the values at FFFC are all zeroes and the u32InvalidateApp() function doesn't return to bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where do you think that my memory settings for the lpc1115 are faulty?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:30:31 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:30:31Z</dc:date>
    <item>
      <title>over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/530998#M10105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Tue May 26 01:47:01 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My application uses lpc1115 with gsm module through uart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if I can update the firmware remotely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)Enter the mcu in isp mode through software.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)dial to the gsm and establish serial connection. eg xmodem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)upload the new hex code hopefully through flashmagic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any previous experience or any suggestions ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/530998#M10105</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/530999#M10106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Wed May 27 15:00:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No one can advice whether my thought can work ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/530999#M10106</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531000#M10107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LessThanZero on Wed May 27 21:51:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds overly complicated to try to use the ISP. The IAP is the programming interface used by the ISP to program/verify/erase flash. The IAP is available for use by your application code, provided your code executes out of SRAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You still need to solve the problem how to manage the firmware upload using the GSM/UART. You should manage this such that you have at least a supported page size (e.g. 256, 512, 1024, 4096) before using the Copy RAM to Flash command. The LPC1115 has 8 kB SRAM, so this should be adequate space for your code and a decent sized buffer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LessThanZero&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531000#M10107</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531001#M10108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Fri Aug 28 01:31:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on AN10995 secondary bootloader on the LPC1115 I use the following settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_START_SECTOR1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_END_SECTOR15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_VALID_CHECK_ADDR0x0000FFFCUL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_START_ADDR0x00001000UL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_END_ADDR0x000010000UL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Bootloader firmware location is at 0 with size 1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Application firmware location is at 1000 with size F000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The CRC value (as seen in view memory option of flashmagic) at FFFC is 00000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Application programm executes but interrupt re-direction halts the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: Using the same settings as of AN10995 on my LPC1115 the CRC has a value :) but still interrupt re-direction doesnt work&amp;nbsp; :( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1) Can someone evaluate my settings for the LPC1115 ?&lt;BR /&gt;2) Any tips for interrupt re-direction ? &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use LPCXpresso v7.9.0_455&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531001#M10108</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531002#M10109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LessThanZero on Fri Aug 28 10:01:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: tbelo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;The CRC value (as seen in view memory option of flashmagic) at FFFC is 00000&lt;BR /&gt;Application programm executes but interrupt re-direction halts the system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS: Using the same settings as of AN10995 on my LPC1115 the CRC has a value :) but still interrupt re-direction doesnt work&amp;nbsp; :( &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1) Can someone evaluate my settings for the LPC1115 ?&lt;BR /&gt;2) Any tips for interrupt re-direction ? &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I use LPCXpresso v7.9.0_455&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CRC value in effect is that of the secondary bootloader. LPCXpresso calculates this value for you when you flashed the bootloader image. The LPC1115 is never going to evaluate the check word of your firmware, since it doesn't directly boot it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regard to interrupt vector table redirection, review the SYSMEMREMAP register in your user manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LessThanZero&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531002#M10109</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531003#M10110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Fri Aug 28 11:26:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi LessThan Zero,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding to SYSMEMREMAP you open my mind. By using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define MEMMAP_SETUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define SYSMEMREMAP_Val&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000002&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;interrupts works perfect :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But regarding to memory configuration when I configure the lpc1115 as an lpc1114/301 (like in AN10995), at location 7FFC there are some values and the u32InvalidateApp() function at the secondary application returns to vBootLoader_Task(), Whereas when configuring with the settings as shown before the values at FFFC are all zeroes and the u32InvalidateApp() function doesn't return to bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where do you think that my memory settings for the lpc1115 are faulty?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531003#M10110</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531004#M10111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LessThanZero on Sat Aug 29 08:17:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I mistakenly presumed your CRC problem referred to the NXP check word, but this is your own CRC scheme. Sorry, but it doesn't help when you make reference to code you've never posted. The few details you have posted aren't nearly enough to understand what you're talking about. No one here is going to be able to read your mind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LessThanZero&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531004#M10111</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531005#M10112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Sat Aug 29 10:51:56 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You meant the flash protection mechanism ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the misunderstanding&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531005#M10112</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: over gsm firmware update</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531006#M10113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Thu Sep 03 04:40:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;AN10995 secondary bootloader on the LPC1115 use the following settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_START_SECTOR1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_END_SECTOR15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_VALID_CHECK_ADDR0x0000FFFCUL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_START_ADDR0x00001000UL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define APP_END_ADDR0x000010000UL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Bootloader firmware location is at 0 with size 1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Application firmware location is at 1000 with size F000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Redirect interrupts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define MEMMAP_SETUP 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define SYSMEMREMAP_Val 0x00000002&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use int32_t len as the flash is bigger:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uint16_t u16CRC_Calc16(const uint8_t *pu8Data, int32_t i32Len)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Combine the two hex files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;srec_cat bootloader.hex -intel application.hex -intel -o merge.hex -intel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/over-gsm-firmware-update/m-p/531006#M10113</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:30:33Z</dc:date>
    </item>
  </channel>
</rss>

