<?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>Processor Expert SoftwareのトピックHELP: OM13093 eval board debug using printf() via USB PC terminal</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1552678#M5320</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HELP: OM13093 eval board debug using printf() via USB PC terminal&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I found a similar post from 2018 but the question was not answered directly - how to setup OM13093 eval board hardware, LPC11C24 MCU, sample LPCopen project like /..._ccan_rom or /_uart projects to send debug printf messages out to the PC console terminal (not on MCUXpresso IDE console tab).&lt;/P&gt;&lt;P&gt;I'm asking for direct clear answers because I don't understand the links from help/manual sections of MCUXpresso, etc. and they are not specific to LPC11C24 and OM13093 eval board which does not have any R29 / R30 UART_TX/RX connections to USB right now.&amp;nbsp; &amp;nbsp;E.g printf(), semihosting, VCOM, etc.&amp;nbsp; Clueless.&lt;/P&gt;&lt;P&gt;So please provide clear instruction on what to do in both HW and SW aspects of the matter.&lt;/P&gt;&lt;P&gt;* What to do on OM13093 eval board for connection?&amp;nbsp; Tiny silkscreen - I can't find where R29 and R30 are for shorting.&amp;nbsp; Please point it out on PCB.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* what header / library files to use for the 11C24_* project to make UART-&amp;gt;VCOM-&amp;gt;USB -&amp;gt; Terraterm console to work?&amp;nbsp; (Is that series of interface correct or not?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;* what library header functions to include in the project to use printf() or putc() or whatever else to do in the software project&lt;/P&gt;&lt;P&gt;*... and all other else are needed which I missed on the above list.&lt;/P&gt;&lt;P&gt;Thank you very much for the help.&lt;/P&gt;&lt;P&gt;mi7engr&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 17:03:39 GMT</pubDate>
    <dc:creator>mi7engr</dc:creator>
    <dc:date>2022-11-11T17:03:39Z</dc:date>
    <item>
      <title>HELP: OM13093 eval board debug using printf() via USB PC terminal</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1552678#M5320</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HELP: OM13093 eval board debug using printf() via USB PC terminal&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I found a similar post from 2018 but the question was not answered directly - how to setup OM13093 eval board hardware, LPC11C24 MCU, sample LPCopen project like /..._ccan_rom or /_uart projects to send debug printf messages out to the PC console terminal (not on MCUXpresso IDE console tab).&lt;/P&gt;&lt;P&gt;I'm asking for direct clear answers because I don't understand the links from help/manual sections of MCUXpresso, etc. and they are not specific to LPC11C24 and OM13093 eval board which does not have any R29 / R30 UART_TX/RX connections to USB right now.&amp;nbsp; &amp;nbsp;E.g printf(), semihosting, VCOM, etc.&amp;nbsp; Clueless.&lt;/P&gt;&lt;P&gt;So please provide clear instruction on what to do in both HW and SW aspects of the matter.&lt;/P&gt;&lt;P&gt;* What to do on OM13093 eval board for connection?&amp;nbsp; Tiny silkscreen - I can't find where R29 and R30 are for shorting.&amp;nbsp; Please point it out on PCB.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* what header / library files to use for the 11C24_* project to make UART-&amp;gt;VCOM-&amp;gt;USB -&amp;gt; Terraterm console to work?&amp;nbsp; (Is that series of interface correct or not?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;* what library header functions to include in the project to use printf() or putc() or whatever else to do in the software project&lt;/P&gt;&lt;P&gt;*... and all other else are needed which I missed on the above list.&lt;/P&gt;&lt;P&gt;Thank you very much for the help.&lt;/P&gt;&lt;P&gt;mi7engr&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 17:03:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1552678#M5320</guid>
      <dc:creator>mi7engr</dc:creator>
      <dc:date>2022-11-11T17:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: HELP: OM13093 eval board debug using printf() via USB PC terminal</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1553140#M5322</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208579"&gt;@mi7engr&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Enable DEBUG_ENABLE of board_lib project as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1668416509045.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200193i21A4375F0485FB4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1668416509045.png" alt="Alice_Yang_0-1668416509045.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Connect PIO1_6 (RXD) and PIO1_7(TXD) to PC using a UART to USB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can see the characters printf() to terminal .&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 09:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1553140#M5322</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-11-14T09:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: HELP: OM13093 eval board debug using printf() via USB PC terminal</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1553361#M5323</link>
      <description>&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;Thanks for referring me to the Properties to set _DEBUG_ENABLE.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Follow-up questions:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;* When I connect LPC11C24 RXD &amp;amp; TXD (pins 46 and 47) to expansion headers with PIO1_6 and PIO1_7 (J2-9 and J2-10), I can then use the same USB port to connect to PC comm port and use Terraterm terminal to view the printfs?&lt;/P&gt;&lt;P&gt;* (please see schematic diagram attached) The USB micro-B connector, J4 is only directly connected to PIO1_7 and PIO1_6 through U2 CMSIS-DAP LS link debugger chip.&amp;nbsp; If I want to use THE SAME USB connector to go to the PC comm port, shouldn't I put on resistors R29 and R30 for PIO1_7 &amp;amp; _6 to "pass-through" debugger IC and go out to the USB connector?&amp;nbsp; If I do need to add R29 and R30 jumpers, please point out where on the eval board are these positions?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Or else, how do I actually adapt another, separate USB connector to interface this eval board to PC Terraterm comm port if it is not through USB connector J4?&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;U&gt;And please note:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;1) I the particular LPCopen project I'm going to modify and also debug using printf is the "CCAN_ROM", nxp_lpcxpresso_11c24_periph_ccan_rom.&amp;nbsp; This means I should add the _DEBUG_ENABLE line in its properties, correct.&lt;/P&gt;&lt;P&gt;2) Also I'm using MCUXpresso IDE and in order to successfully build this CCAN_ROM project without errors, I also include the 2 libraries:&lt;/P&gt;&lt;P&gt;* lpc_chip_11cxx_lib&lt;/P&gt;&lt;P&gt;* nxp_lpcxpresso_11c24_board_lib&lt;/P&gt;&lt;P&gt;* main project:&amp;nbsp; nxp_lpcxpresso_11c24_periph_ccan_rom&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;mi7engr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 14:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1553361#M5323</guid>
      <dc:creator>mi7engr</dc:creator>
      <dc:date>2022-11-14T14:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: HELP: OM13093 eval board debug using printf() via USB PC terminal</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1555424#M5334</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208579"&gt;@mi7engr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have replied you in your private case.&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>Thu, 17 Nov 2022 03:00:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1555424#M5334</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-11-17T03:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: HELP: OM13093 eval board debug using printf() via USB PC terminal</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1557232#M5336</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I got your full answers on the Tech Support ticket I opened.&amp;nbsp; It worked.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;I'm able to use DEBUGSTR(str) macro (non-printf) as enabled by the "DEBUG_ENABLE" define in properties and do the other steps summarized below.&lt;/P&gt;&lt;P&gt;The only extra effort I had to do outside of this matter is to implement an "itoa()" integer to ASCII function because DEBUGSTR cannot use formatting of integers/numbers ala-printf() style.&amp;nbsp; It only accepts ASCII strings.&lt;/P&gt;&lt;P&gt;So to summarize and for completeness with the hope of helping others who may ask about this matter, these are the 3 things that need to be done on the LPC11C24 eval board, OM13093UL:&lt;/P&gt;&lt;P&gt;1) Set/add DEBUG_ENABLE definition on the MCUX project's properties under Properties -&amp;gt; C/C++ Builds -&amp;gt; Settings -&amp;gt; Preprocessor (as shown on screenshot given before.&lt;/P&gt;&lt;P&gt;2) To use the USB J4 port to interface with a PC serial comm port terminal (e.g. Terraterm), put jumper/resister (0 ohm) on R29 and R30 on the eval board.&lt;/P&gt;&lt;P&gt;3) &lt;EM&gt;No work needed&lt;/EM&gt; to connect RXD and TXD to PIO1_6 and PIO1_7 because they are already connected to the expansion JP2_9 &amp;amp; _20&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Again, thanks Alice for the help even though I had to put separate pieces together.&amp;nbsp; I'm sorry if my question was incomplete to begin with so I had to follow-up with more posts.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;mi7engr&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 14:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/HELP-OM13093-eval-board-debug-using-printf-via-USB-PC-terminal/m-p/1557232#M5336</guid>
      <dc:creator>mi7engr</dc:creator>
      <dc:date>2022-11-21T14:43:33Z</dc:date>
    </item>
  </channel>
</rss>

