<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Unable to view printk() output in Visual Studio Code for Arduino Nano 33 BLE (nRF52840)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84477/unable-to-view-printk-output-in-visual-studio-code-for-arduino-nano-33-ble-nrf52840</link><description>Hi everyone, I’d like to build native code on my Arduino Nano 33 BLE on a Mac, i.e. using the nRF Connected SDK and avoiding the Arduino Core/Mbed OS. I’ve followed zephyr’s Getting Started with nRF Connect for Visual Studio Code guide and am able to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Feb 2022 09:31:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84477/unable-to-view-printk-output-in-visual-studio-code-for-arduino-nano-33-ble-nrf52840" /><item><title>RE: Unable to view printk() output in Visual Studio Code for Arduino Nano 33 BLE (nRF52840)</title><link>https://devzone.nordicsemi.com/thread/351716?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 09:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ed35d05-1069-4294-92ff-58673af01bde</guid><dc:creator>ipener</dc:creator><description>&lt;p&gt;Thank&amp;#39;s for the quick reply.&amp;nbsp;Bummer that&amp;nbsp;this doesn&amp;#39;t work out of the box, however, I&amp;#39;m able to view prints over the USB following &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/usb/console"&gt;this example from zephyr&lt;/a&gt;. For those developing on a Mac,&amp;nbsp;after flashing the board, open&amp;nbsp;a Terminal and run:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;screen /dev/tty.usbmodem* 9600&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;where&amp;nbsp;&lt;code&gt;&lt;span&gt;usbmodem*&lt;/span&gt;&lt;/code&gt;&amp;nbsp;is the port connected to your board and &lt;code&gt;9600&lt;/code&gt; the desired baud rate.&amp;nbsp;No need to use the Arduino IDE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to view printk() output in Visual Studio Code for Arduino Nano 33 BLE (nRF52840)</title><link>https://devzone.nordicsemi.com/thread/351675?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 07:14:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d8c9cdf-ebdb-4a23-9d69-eb3a58a8325f</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please see Simon&amp;#39;s answer here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84448/no-devices-connected/351559#351559"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/84448/no-devices-connected/351559#351559&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There is no debugger/JLink device on the Arduino Nano 33 BLE board. In order to communicate with the nRF Connect for&amp;nbsp;VS code you will need either a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/"&gt;J-Link debugger&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;or an&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF52840-DK"&gt;nRF52 series DK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;According to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.arduino.cc/static/8280a3314d8ea678e8fd0360067d7d58/ABX00031-datasheet.pdf"&gt;Arduino Nano datasheet (chapter 8, board operation)&lt;/a&gt;, it&amp;#39;s recommended using the Arduino Desktop IDE or Web editor.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>