<?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>trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89964/trouble-flashing-arduino-33-with-zephyr-examples</link><description>Hi all. I am fairly new to zephyr so I apologize for any &amp;quot;noob&amp;quot; errors i seem to present. I have been working with nrf52 dk board and have been able to accomplish many things, pwm, gpio, ble, etc. However I have decided to switch to a non nordic development</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Aug 2022 11:47:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89964/trouble-flashing-arduino-33-with-zephyr-examples" /><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/381345?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 11:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8e1ca32-0dad-4d8d-a2a3-9831c8e2e17a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="loganmeyer3"]wondering if any update? thanks[/quote]
&lt;p&gt;My deepest apologies for the delayed reply.&lt;/p&gt;
&lt;p&gt;According to the schematic (&lt;a href="https://content.arduino.cc/assets/NANO33BLE_V4.0_sch.pdf"&gt;https://content.arduino.cc/assets/NANO33BLE_V4.0_sch.pdf&lt;/a&gt;), the green LED is P0.16, which corresponds to the &amp;quot;led1&amp;quot; defined in the board itself:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.0.99-ncs1-1/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble-common.dtsi#L25"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.0.99-ncs1-1/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble-common.dtsi#L25&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you build blinky for the &amp;quot;arduino_nano_33_ble&amp;quot; board, it will setup the ledX to point to the corresponding GPIOs.&lt;/p&gt;
&lt;p&gt;To use &amp;quot;led1&amp;quot; instead of the default led0, change this line:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.0.99-ncs1-1/samples/basic/blinky/src/main.c#L14"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.0.99-ncs1-1/samples/basic/blinky/src/main.c#L14&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS: the nano33 has a nrf52840 device on it, not a nrf5340 as you&amp;#39;ve added as the runner args.&lt;/p&gt;
&lt;p&gt;PPS: If you&amp;#39;re new to NCS, I can recommend looking at the ncs sdk academy:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/377665?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50d39456-37b9-4ab6-9937-288acbf62054</guid><dc:creator>loganmeyer3</dc:creator><description>&lt;p&gt;wondering if any update? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/377247?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 17:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5932377-44a6-41cf-91be-b9f7c0f98c56</guid><dc:creator>loganmeyer3</dc:creator><description>&lt;p&gt;yes i had this set up before except with rest attached, however with reset removed it seems to make no difference.&amp;nbsp; I think really what I am trying to understand is what would be the correct board.cmake, .yaml, and arduino_nano_ble_defconfig file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unless there are any other things that I am missing or could have wrong.&amp;nbsp; I seem to be able to flash the blinky program to the arduino but it does not do&amp;nbsp; anything.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/377073?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 06:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:406922b8-68df-42b9-b5b5-380d325cf81e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Yes, and connecting the correct SWD pins from the Arduino Nano BLE to the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html"&gt;debug out port on the nRF52DK&lt;/a&gt; should be sufficient.&amp;nbsp;&lt;span&gt;Note:&lt;/span&gt;&lt;span&gt;&amp;nbsp;The voltage supported by external debugging/programming is 3.0 V.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/images/pca10040_debug_out.svg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8171.pastedimage1531825435460v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know how that works for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/376997?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 13:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f5a3ed9-c915-4a20-9a63-3c0291cc42d6</guid><dc:creator>loganmeyer3</dc:creator><description>&lt;p&gt;on modifying the board files i do not wish to flash to the board using the arduino bootloader.&amp;nbsp; I wish to flash using j link and jephyr.&amp;nbsp; I really want to try this out as experimentation for a custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/376994?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 13:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca92191b-ec47-411c-9660-092bdc8dd080</guid><dc:creator>loganmeyer3</dc:creator><description>&lt;p&gt;i copied the wrong file, my apoligies. This is my current board.cmake still seems to be having trouble&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;board_runner_args(jlink &amp;quot;--device=nRF52840_xxAA&amp;quot; &amp;quot;--speed=4000&amp;quot;)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/376987?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 13:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b25e9a4d-09b3-45af-873c-1dc97abf5b42</guid><dc:creator>loganmeyer3</dc:creator><description>&lt;p&gt;arduino nano ble&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble flashing arduino 33 with zephyr examples</title><link>https://devzone.nordicsemi.com/thread/376908?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 09:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:839cf0a9-d4e0-44d3-b1e7-db8b5e90c7d2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Just to clarify, are you using the&amp;nbsp;Arduino Nano 33 BLE or the&amp;nbsp;Arduino Nano 33 IoT?&lt;/p&gt;
&lt;p&gt;If you are using the&amp;nbsp;&lt;span&gt;Arduino Nano 33 BLE why do you need to modify board files? &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/arm/arduino_nano_33_ble/doc/index.html?highlight=arduino_nano_33_ble#arduino-nano-33-ble-sense"&gt;zephyr\boards\arm\arduino_nano_33_ble&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is the reason for using the nRF5340 as device in modified board.cmake file?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt; board_runner_args(jlink &amp;quot;--device=nrf5340_xxaa_app&amp;quot; &amp;quot;--speed=4000&amp;quot;)&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>