<?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>LPCXpresso IDEのトピックRe: LPCXpresso Limitations</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550822#M11577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by OXO on Thu Jan 05 02:36:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1. If you pay for the unlimited version, yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. yes!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:39:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:39:26Z</dc:date>
    <item>
      <title>LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550821#M11576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by railtech on Thu Jan 05 02:30:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new in LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have few questions about the limitation of this IDE. I know that its debug limit is 128 KB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is it capable to build code size greater than 128 KB?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Does it support programming or debugging of LPC1768 (Flash 512 KB) but code size less than 128KB?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:):):):)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550821#M11576</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550822#M11577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by OXO on Thu Jan 05 02:36:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1. If you pay for the unlimited version, yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. yes!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550822#M11577</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550823#M11578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Jan 05 02:45:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Yes :eek: It's a 128k limit for debugging / downloading. The compiler isn't limited :), so you can compile a hex file and use FlashMagic to program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Yes :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550823#M11578</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550824#M11579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by railtech on Thu Jan 05 21:20:48 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thnx for rply&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need one more help please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I change Clock Configuration(Main PLL, USB PLL, CLKSRCSEL etc.) through a user interface like uVision by clicking on Configuration Wizard of "System_LPC17xx.c" file. It'll be very helpfull if possible.:cool::cool::cool::cool:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550824#M11579</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550825#M11580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Sat Jan 07 10:50:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My release builds in lpcxpresso have never crossed 15kb flash till date...:(. I've used FatFs file system, IEEE 802.15.4 stack, Graphics library for TFT touchscreen LCD and several other features in my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;128kb debug limit is quite a lot even in professional programming (atleast for the programmer within me...). Infact i consider it as a completely free full version IDE for students and non-professionals.:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;How can I change Clock Configuration(Main PLL, USB PLL, CLKSRCSEL etc.) through a user interface like uVision by clicking on Configuration Wizard of "System_LPC17xx.c" file.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;I'm afraid there is no such thing in LPCXpresso. Perhaps we could ask code red and NxP to add that feature in future versions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some other wish list too...like...adding C++ support in lpcxpresso with limited debug support...such as 128kb...which will be very restrictive....;) :D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vasanth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550825#M11580</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550826#M11581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Sat Jan 07 16:53:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: vasanth&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;How can I change Clock Configuration(Main PLL, USB PLL, CLKSRCSEL etc.)&amp;nbsp; through a user interface like uVision by clicking on Configuration&amp;nbsp; Wizard of "System_LPC17xx.c" file.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;I'm afraid there is no such thing in LPCXpresso. Perhaps we could ask code red and NxP to add that feature in future versions. &lt;BR /&gt;I have some other wish list too...like...adding C++ support in lpcxpresso with limited debug support...such as 128kb...which will be very restrictive....;) :D&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Vasanth&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not something I would do in compile time (or even before).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I like to do this at run time: let my system run at a low clock frequency and only increase the clock when it is needed. As an example: my system runs at 4 MHz (lpc1754, internal RC oscillator) and I only switch to the crystal when I need the accuracy for USB and I only switch to higher frequencies when I need the speed for audio compression or high speed SD access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote a small driver that you can use to program the PLL and clock selection fairly easy. Have a look at the &lt;/SPAN&gt;&lt;A href="http://http://hg.bikealive.nl/Platform1754/file/8970d53bebb8/Drivers/lpc17xx/clocking.c"&gt;clocking.c&lt;/A&gt;&lt;SPAN&gt; file and the &lt;/SPAN&gt;&lt;A href="http://http://hg.bikealive.nl/Platform1754/file/8970d53bebb8/Drivers/inc/clocking.h"&gt;clocking.h&lt;/A&gt;&lt;SPAN&gt; file in the drivers section of my Platform1754 code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interface is simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_UseOscillator(LPC_MAIN_OSC) will switch the CPU clock to the main crystal oscillator and LPC_SetPLL0(50000000) sets the PLL to 50 MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need USB, just call LPC_EnablePLL1() and LPC_DisablePLL1() to disable it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have included PLL settings for both the internal RC oscillator and the crystal oscillator (with a 12 MHZ crystal) for 10 - 100 MHz in 10 MHz steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still working on the C++ support. It works but the code size is just too big. C++ is used in a number of embedded systems, the Embedded C++ variant needs only smaller C++ base libraries but I don't have a proper GCC-ARM port for this (yet). C++ compilation/debugging works in LPCXpresso (this is all default ARMGCC functionality) but you will not be able to just generate a C++ project using the project wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need C++ support I strongly suggest to buy a Code Red license. This gives you the wizard to create an LPCXpresso C++ project and 90 days of support with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550826#M11581</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550827#M11582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Wed Jan 11 07:41:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;This is not something I would do in compile time (or even before).&lt;BR /&gt;I like to do this at run time: let my system run at a low clock frequency and only increase the clock when it is needed. &lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;That is a good way to optimize power consumption.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But what is the time taken for a changeover? Because we know there is PLL locking. If the changeover takes significant time between conversions, what is the optimum way to use this feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, LPC1114/302 and LPC1313/01 has a feature called power profile API's built-in ROM exactly for this purpose.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550827#M11582</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso Limitations</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550828#M11583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Wed Jan 11 13:31:09 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: vasanth&lt;/STRONG&gt;&lt;BR /&gt;But what is the time taken for a changeover? Because we know there is PLL locking. If the changeover takes significant time between conversions, what is the optimum way to use this feature?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not really thought about this yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPC17xx user manual tells me this about PLL locking:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The PLOCK0 bit in the PLL0STAT register reflects the lock status of PLL0. When PLL0 is&lt;BR /&gt;enabled, or parameters are changed, PLL0 requires some time to establish lock under the&lt;BR /&gt;new conditions. PLOCK0 can be monitored to determine when PLL0 may be connected&lt;BR /&gt;for use. The value of PLOCK0 may not be stable when the PLL reference frequency&lt;BR /&gt;(FREF, the frequency of REFCLK, which is equal to the PLL input frequency divided by the&lt;BR /&gt;pre-divider value) is less than 100 kHz or greater than 20 MHz. In these cases, the PLL&lt;BR /&gt;may be assumed to be stable after a start-up time has passed. This time is 500 &amp;amp;#956;s when&lt;BR /&gt;FREF is greater than 400 kHz and 200 / FREF seconds when FREF is less than 400 kHz&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Here FREF is the reference frequency, PLL clock in / N. in my driver FREF is always greater than 400 kHz so I guess that means locking the PLL takes (less than) 500 &amp;amp;#956;s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a real guess though ... I have just scanned across some pages to see what I could find regarding the PLL lock timing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The quickest way to switch clocks is to just reprogram the CPU clock divider (the one after the PLL). That gives the faster response when needing a higher frequency.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Still - both ways of increasing/reducing the clock mean that you have to reprogram all timing dependent things (e.g. uart baudrate, SPI/I2C clock, Systick) and that also takes some extra time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finding an optimum way to use this feature is a good question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know (yet) :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most users will just determine different use cases in the application and adjust the clock to fit the needs for these cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just as an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[LIST]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]* user interface handling only:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Slow clock, just fast enough to keep the user interface respond quick enough&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]* Logging data to SD card:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keep the clock high enough to prevent filling up the buffers (only possible when the speed of the data to log is known).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]* Attaching to USB to read the SD card and program parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fast is good. The device is now powered over USB so no need to save batteries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/LIST]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:39:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-Limitations/m-p/550828#M11583</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:39:30Z</dc:date>
    </item>
  </channel>
</rss>

