<?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: Release Build problems LPCOpen Lpc11U68</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390824#M47457</link>
    <description>&lt;P&gt;Hello again.&lt;/P&gt;&lt;P&gt;The answer to the problem is that the&lt;U&gt; Run&lt;/U&gt; command from the MCU IDE does not support the LPCopen.&lt;/P&gt;&lt;P&gt;There is a &lt;U&gt;GUI flash tool&lt;/U&gt;.&amp;nbsp; It is not found from any of the IDE menus, but it does have an icon.&lt;/P&gt;&lt;P&gt;From there, the debug version can be put into flash.&amp;nbsp; In principle, the release *axf file can also be flashed.&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 14:31:00 GMT</pubDate>
    <dc:creator>jDrum</dc:creator>
    <dc:date>2021-12-22T14:31:00Z</dc:date>
    <item>
      <title>Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381486#M47243</link>
      <description>&lt;P&gt;I am trying to implement a release version of my LPCOpen program.&amp;nbsp; In the debug configuration I am able to properly download the program to my custom PCB using a Link II interface.&lt;/P&gt;&lt;P&gt;So far, I changed the project configuration to Release and did a build all command.&amp;nbsp; No errors were reported.&lt;/P&gt;&lt;P&gt;I am using the MCUXpresso IDE and have tried the various&lt;U&gt; Run commands&lt;/U&gt; from various places.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I am getting is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Error starting process.&lt;BR /&gt;Cannot run program "C:\nxp\workspace\demos_switch_blinky\Debug\demos_switch_blinky.axf": Launching failed.&amp;nbsp; It repeats the message three times.&lt;/P&gt;&lt;P&gt;The Debug and the Release directories in the project are similar, but the first item&lt;/P&gt;&lt;P&gt;"demos_switch_blinky.axf -[arm/le] "&amp;nbsp; is missing from the Release directory.&lt;/P&gt;&lt;P&gt;&lt;U&gt;How do I get it there? &lt;/U&gt;&lt;/P&gt;&lt;P&gt;I am reading the two makefiles now.&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 22:52:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381486#M47243</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-04T22:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68 @</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381489#M47245</link>
      <description>&lt;P&gt;Update on my progress.&lt;/P&gt;&lt;P&gt;We manually did a &lt;U&gt;release build&lt;/U&gt; on the board project and the chip project.&lt;/P&gt;&lt;P&gt;Going back to the target project, we did another build.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point the Release folder now has an axf entry, but that entry still has the debug icon.&lt;/P&gt;&lt;P&gt;The binary folder has two identical axf entries, each with the same debug icon.&lt;/P&gt;&lt;P&gt;The lauch error message box is still the same:&lt;/P&gt;&lt;P&gt;Error starting process.&lt;BR /&gt;Cannot run program "C:\nxp\workspace\demos_switch_blinky\Debug\demos_switch_blinky.axf": Launching failed&lt;BR /&gt;Cannot run program "C:\nxp\workspace\demos_switch_blinky\Debug\demos_switch_blinky.axf": Launching failed&lt;BR /&gt;Cannot run program "C:\nxp\workspace\demos_switch_blinky\Debug\demos_switch_blinky.axf": Launching failed&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 01:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381489#M47245</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-05T01:32:58Z</dc:date>
    </item>
    <item>
      <title>@ Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381510#M47248</link>
      <description>&lt;P&gt;More progress (?) :&lt;/P&gt;&lt;P&gt;We tried switching back to the previously working debug build.&amp;nbsp; Now it won't run.&lt;/P&gt;&lt;P&gt;So, we are doing a manual build on all of the items that we changed for the release build.&amp;nbsp; I hope it works.&lt;/P&gt;&lt;P&gt;The architecture for LPCOpen/MCUXresso&amp;nbsp; is very strange.&amp;nbsp; In some ways it is very powerful, but the IDE certainly doesn't support often used procedures such as changing to the release build.&amp;nbsp; Other IDEs are able to to that with a single click.&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 14:46:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381510#M47248</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-05T14:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: @ Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381511#M47249</link>
      <description>&lt;P&gt;Response #3:&lt;/P&gt;&lt;P&gt;Tried debug build again.&amp;nbsp; Several message boxes during the launch.&lt;/P&gt;&lt;P&gt;The console reported the following:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.3 (Jan 11 2021 16:41:13 - crt_emu_cm_redlink build 9)&lt;BR /&gt;Found part description in XML file LPC11U6x.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)&lt;BR /&gt;Serial Number: KZB4BYKS&lt;BR /&gt;VID:PID: 1FC9:0090&lt;BR /&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;217425a0&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Failed on connect: Em(01). Cannot find MEM-AP selected by core index (check target power)&lt;BR /&gt;Connected&amp;amp;Reset. Was: NotConnected. DpID: 0BC11477. CpuID: 00000000. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Last stub error 0: OK&lt;BR /&gt;Last sticky error: 0x0 AIndex: 0&lt;BR /&gt;No debug bus (MemAp) selected&lt;BR /&gt;DAP Speed test unexecuted or failed&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.&lt;BR /&gt;(100) Target Connection Failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hint on what to do next?&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 15:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1381511#M47249</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-05T15:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1382320#M47276</link>
      <description>&lt;P&gt;Further progress on problem:&lt;/P&gt;&lt;P&gt;We have given up on building a release version and are working at getting the debug version to work again.&lt;/P&gt;&lt;P&gt;We have noticed two additional problems that might be causing the program upload problems.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; A second PCB&amp;nbsp; with a LPC11U68 was tested.&amp;nbsp; We were able to upload&amp;nbsp; one of the saved versions of the program.&amp;nbsp; We suspect that the chip on the first PCB had locked out the upload capability.&amp;nbsp; We are searching for a previous post on how to unlock it. &lt;U&gt;Do you know where it is?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; In looking at the project file tree in the NXP workspace, we found several redundant copies of the source directory and debug directories in the project.&amp;nbsp; We suspect that the cause was that t&lt;U&gt;here were two XML project files&lt;/U&gt; in the project!&lt;/P&gt;&lt;P&gt;With the exporting of the files for backup purposes, the files grew quite large.&lt;/P&gt;&lt;P&gt;We are now cleaning the workspace to get rid of the extra files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 04:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1382320#M47276</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-07T04:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1382435#M47279</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;jDrum,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1) About the "clocked out " chip, you can try to enter ISP mode, then use Flash Magic to erase all.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Delete ".metadata" folder under Workspace of IDE, then connect board to download and debug again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2)About Release, you can change from below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1638860517146.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164293i72AB557F603E2FB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1638860517146.png" alt="Alice_Yang_0-1638860517146.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Pay attention, if your project bases on LPCopen lib, LPCopen chip and board libraries also need change to Release when compile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 07:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1382435#M47279</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-12-07T07:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1389696#M47438</link>
      <description>&lt;P&gt;Hello again.&amp;nbsp; Two weeks later:&lt;/P&gt;&lt;P&gt;We tried to do the release build once again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project workspace was moved to a fresh directory and the previous suggestions have been implemented.&lt;/P&gt;&lt;P&gt;The release build was done for the project, the chip and the board projects.&amp;nbsp; All compiled with zero errors and warnings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;The last two paragraphs in the build were:&lt;/P&gt;&lt;P&gt;//*************************************&lt;/P&gt;&lt;P&gt;Building target: no2son.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -L"C:\Users\John\Documents\4 Sondes\workspace\lpc_chip_11u6x\Release" -L"C:\Users\John\Documents\4 Sondes\workspace\lpc_board_nxp_lpcxpresso_11u68\Release" -Xlinker -Map="no2son.map" -Xlinker --gc-sections -Xlinker --allow-multiple-definition -mcpu=cortex-m0 -mthumb -T "no2son_Release.ld" -o "no2son.axf" ./src/I2C.o ./src/PressTemp.o ./src/clock.o ./src/cr_startup_lpc11u6x.o ./src/crp.o ./src/l_UART.o ./src/l_ad.o ./src/main.o ./src/mtb.o ./src/sysinit.o -llpc_board_nxp_lpcxpresso_11u68 -llpc_chip_11u6x&lt;BR /&gt;Finished building target: no2son.axf&lt;BR /&gt;&lt;BR /&gt;make --no-print-directory post-build&lt;BR /&gt;Performing post-build steps&lt;BR /&gt;arm-none-eabi-size "no2son.axf"; # arm-none-eabi-objcopy -O binary "no2son.axf" "no2son.bin" ; checksum -p LPC11U68 -d "no2son.bin";&lt;BR /&gt;text data bss dec hex filename&lt;BR /&gt;28184 68 2344 30596 7784 no2son.axf&lt;/P&gt;&lt;P&gt;18:07:11 Build Finished. 0 errors, 0 warnings. (took 2s.206ms)&lt;/P&gt;&lt;P&gt;//****************************************************&lt;/P&gt;&lt;P&gt;The lpc11u68 was connected by using a&lt;U&gt; Link2.&amp;nbsp; It works for the debug version.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Do we need to do a release version for the Link2 as well?&amp;nbsp; Probably has a 43xx chip.&lt;/P&gt;&lt;P&gt;The run release command (green triangle) builds the release version again but does not launch. &lt;U&gt;(the first time, it tried to launch but reported it could not.)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;The "problems page" lists two errors and five warnings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;//*****************************************************&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;fatal error: chip.h: No such file or directory board.h /lpc_board_nxp_lpclink2_4370/inc line 35 C/C++ Problem&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;make: *** [src/subdir.mk:23: src/board.o] Error 1 lpc_board_nxp_lpclink2_4370 C/C++ Problem&lt;/P&gt;&lt;P&gt;//**************************************************************&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 23:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1389696#M47438</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-20T23:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390576#M47450</link>
      <description>&lt;P&gt;Hello jDrum,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Release version is directly program version, can't debug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 07:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390576#M47450</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-12-22T07:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390802#M47455</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess the question is:&amp;nbsp; How do I get the release program into my LPC11U68? Why does the run command not work?&lt;/P&gt;&lt;P&gt;I guess that I am too used to Microchip computers.&amp;nbsp; When I want the program to stay as it is for the next power up, (but without debug capability) I use the run command from the IDE.&lt;/P&gt;&lt;P&gt;I've considered using Flash Magic but this is really a round-about-solution and it would still involve the Link2 since I don't have the USB or the extra RS232 wire installed on the PCB.&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 13:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390802#M47455</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-22T13:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Release Build problems LPCOpen Lpc11U68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390824#M47457</link>
      <description>&lt;P&gt;Hello again.&lt;/P&gt;&lt;P&gt;The answer to the problem is that the&lt;U&gt; Run&lt;/U&gt; command from the MCU IDE does not support the LPCopen.&lt;/P&gt;&lt;P&gt;There is a &lt;U&gt;GUI flash tool&lt;/U&gt;.&amp;nbsp; It is not found from any of the IDE menus, but it does have an icon.&lt;/P&gt;&lt;P&gt;From there, the debug version can be put into flash.&amp;nbsp; In principle, the release *axf file can also be flashed.&lt;/P&gt;&lt;P&gt;jDrum&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Release-Build-problems-LPCOpen-Lpc11U68/m-p/1390824#M47457</guid>
      <dc:creator>jDrum</dc:creator>
      <dc:date>2021-12-22T14:31:00Z</dc:date>
    </item>
  </channel>
</rss>

