<?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: SDK power library crash</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854172#M33963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy&lt;/P&gt;&lt;P&gt;I understand that you recommend not to remove __iar_program_start.&lt;/P&gt;&lt;P&gt;My boundary conditions however do not allow me to work with __iar_program_start.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need a power library that allows this me to work without __iar_program_start.&lt;/P&gt;&lt;P&gt;As you can see in my attachments it is possible to do this with the corresponding measures in coding and I am sure this would benefit others as well. I would like NXP to modify the power library to allow me to use it without having to use __iar_program_start. If this is not possible, then we may need to step out of buying this product and consider other alternatives.&lt;/P&gt;&lt;P&gt;Dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2019 08:50:50 GMT</pubDate>
    <dc:creator>danielgull</dc:creator>
    <dc:date>2019-02-14T08:50:50Z</dc:date>
    <item>
      <title>SDK power library crash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854170#M33961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;am using the power library from the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;SDK_2.5.0_LPCXpresso54102.zip\devices\LPC54102\iar\iar_lib_power.a&lt;/STRONG&gt;&lt;/EM&gt;. The library crashes when&amp;nbsp;I step over the function &lt;EM&gt;&lt;STRONG&gt;POWER_SetVoltageForFreq(LPC54XXX_F_CORE)&lt;/STRONG&gt;&lt;/EM&gt;. This function is used in our bootmonior. Our bootmonitor does not initialize variables using the&amp;nbsp;c-runtime &lt;SPAN style="font-size: 11pt;"&gt;__iar_program_start. We try to avoid using the c-runtime to reduce flash memory footprint for our bootmonitor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;We have observed a similar behavior with the lpc-spifi-lib provided with source code from NXP - see attachment. We have found that some crucial variables are not properly initialized when we do not use the c-runtime. The source code needs to be modified to properly initilize variables to allow usage of the library without relying on the c-runtime to initialize variables. Attached is the source code modification I have implemented in the lpc-spifi-lib to give you an idea what I am talking about.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;I need an update to the power library &lt;EM&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;STRONG&gt;SDK_2.5.0_LPCXpresso54102.zip\devices\LPC54102\iar\iar_lib_power.a)&lt;/STRONG&gt;&lt;/EM&gt; from NXP to solve my "crash" problem. Could NXP provide me with a fixed power library or provide me with the source code to this power library?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;Dani&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 07:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854170#M33961</guid>
      <dc:creator>danielgull</dc:creator>
      <dc:date>2019-02-11T07:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: SDK power library crash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854171#M33962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="294878" data-username="danielgull" href="https://community.nxp.com/people/danielgull"&gt;Daniel Gull&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;As I know, the source code of iar_lib_power.a has no plan to be published now.&lt;BR /&gt;During the MCU startup, __iar_program_start will initialize static and global variables, that is, zero-initialized variables are cleared and the values of other initialized variables are copied from ROM to RAM memory. &lt;BR /&gt;It's a key step prior to calling the main(), so I don't it's not advisable to remove the __iar_program_start to save flash space.&lt;BR /&gt;I'd highly recommend you to consider this risk of the operation.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 14 Feb 2019 08:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854171#M33962</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-02-14T08:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: SDK power library crash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854172#M33963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy&lt;/P&gt;&lt;P&gt;I understand that you recommend not to remove __iar_program_start.&lt;/P&gt;&lt;P&gt;My boundary conditions however do not allow me to work with __iar_program_start.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need a power library that allows this me to work without __iar_program_start.&lt;/P&gt;&lt;P&gt;As you can see in my attachments it is possible to do this with the corresponding measures in coding and I am sure this would benefit others as well. I would like NXP to modify the power library to allow me to use it without having to use __iar_program_start. If this is not possible, then we may need to step out of buying this product and consider other alternatives.&lt;/P&gt;&lt;P&gt;Dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2019 08:50:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854172#M33963</guid>
      <dc:creator>danielgull</dc:creator>
      <dc:date>2019-02-14T08:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: SDK power library crash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854173#M33964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="294878" data-username="danielgull" href="https://community.nxp.com/people/danielgull"&gt;Daniel Gull&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;Maybe you can give a try to contact local DFAE or FAE for requesting the source code of iar_lib_power. a, I think it needs to sign NDA.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Mon, 18 Feb 2019 05:52:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854173#M33964</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-02-18T05:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: SDK power library crash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854174#M33965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy&lt;/P&gt;&lt;P&gt;Can you direct me to my local DFAE or FAE? Who is my local DFAE or FAE?&lt;/P&gt;&lt;P&gt;Dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 06:36:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854174#M33965</guid>
      <dc:creator>danielgull</dc:creator>
      <dc:date>2019-02-18T06:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: SDK power library crash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854175#M33966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="294878" data-objecttype="3" href="https://community.nxp.com/people/danielgull"&gt;Daniel Gull&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;You can find the DFAE contact information via the link.&lt;BR /&gt;&lt;A href="https://www.nxp.com/support/sample-buy/distributor-network:DISTRIBUTORS#ARMENIA"&gt;https://www.nxp.com/support/sample-buy/distributor-network:DISTRIBUTORS#ARMENIA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 06:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDK-power-library-crash/m-p/854175#M33966</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-02-18T06:50:34Z</dc:date>
    </item>
  </channel>
</rss>

