<?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>Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110228/problems-with-running-the-hrm-example-ant</link><description>Hello. 
 I bought an nRF5340 DK board and am trying to run the HRM example (which uses the ANT+ protocol) on it. The standard (create a new application -&amp;gt; copy a sample) blinky starts and works well, while the standard HRM_TX does not work. I&amp;#39;m getting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2024 17:22:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110228/problems-with-running-the-hrm-example-ant" /><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480280?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 17:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:940aff0a-15fb-4d17-8ea5-17ab9401f96a</guid><dc:creator>sread</dc:creator><description>&lt;p&gt;This is&amp;nbsp;a good place to start (must be logged into thisisant.com to view):&amp;nbsp;&lt;a href="https://www.thisisant.com/developer/resources/downloads/#documents_tab"&gt;https://www.thisisant.com/developer/resources/downloads/#documents_tab&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For nRF Connect SDK specific ANT documentation, see here: &lt;a id="" href="https://www.thisisant.com/APIassets/ANTnRFConnectDoc/"&gt;https://www.thisisant.com/APIassets/ANTnRFConnectDoc/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480278?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 17:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d8caa1-2b35-4528-8069-85aece0ac9f2</guid><dc:creator>Vint1k</dc:creator><description>&lt;p&gt;FINALLY!&lt;br /&gt;I was able to defeat Ant+.&lt;br /&gt;Yes, thank you very much, the problem was in sysbuild. I saw in Nordic&amp;#39;s YouTube video that they check the &amp;quot;sysbuild&amp;quot; box.&lt;br /&gt;I racked my brain for many days and couldn&amp;rsquo;t figure out what the problem was. It&amp;#39;s good that you were found!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then I&amp;#39;ll ask more questions. Please tell me where I can get acquainted with all Ant+ profiles (I&amp;#39;m interested in cycling ones). And in general, where is the documentation on working with Ant+ for beginners like me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480272?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 16:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8959f5-09f2-4763-9e45-ee8f2905b935</guid><dc:creator>sread</dc:creator><description>&lt;p&gt;As of sdk-nrf v2.6, ANT samples &lt;a href="https://github.com/ant-nrfconnect/sdk-ant/blob/main/doc/releases/release-notes-1.2.0.rst?plain=1#L30"&gt;do not support sysbuild&lt;/a&gt; - the Kconfig auto&amp;nbsp;header&amp;nbsp;shows SB_* defines so I think that is the problem. The child image feature for the samples relies on partition manager to build ANT onto the network core.&lt;/p&gt;
&lt;p&gt;I believe the sysbuild checkbox should be unchecked by default in VS Code, but please confirm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480261?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 15:12:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df84609e-53be-4f3f-86bb-7d078bdaa75e</guid><dc:creator>Vint1k</dc:creator><description>&lt;p&gt;I apparently chose this by accident. Of course I&amp;#39;m working with nRF5340, and building a project for my board (nRF5340-DK).&lt;br /&gt;&lt;br /&gt;I rebuilt the project, but the error did not go away.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713884494833v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Wherein I ran &amp;ldquo;git status&amp;rdquo; and everything seemed to be fine (as far as I understand).&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713884575942v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Also I don&amp;#39;t have the &amp;quot;ant_rpc&amp;quot; folder in the &amp;quot;build&amp;quot; folder:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713884845264v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;Here are two autoconf.h files that I found in the project folder:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713884877263v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713884981487v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;The &amp;quot;CONFIG_ANT_LICENSE_KEY&amp;quot; field is not in any of them.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t know if this will help you, but I put together a project for nRF53 (for my board) and am sending it to you. Maybe you can use some logs to determine the cause of the error.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8206.sample.zip"&gt;devzone.nordicsemi.com/.../8206.sample.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank you for your help, I hope that we can solve this problem.&lt;br /&gt;Sincerely, Victor!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480246?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 14:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e877645-c1af-4895-91c4-3a7fd12ee57f</guid><dc:creator>sread</dc:creator><description>&lt;p&gt;Hi Victor,&lt;/p&gt;
&lt;p&gt;Thanks for running these steps! I think we&amp;#39;re getting there.&lt;/p&gt;
&lt;p&gt;The build log shown is for an nRF52840. If you are building for nRF52840, the license key needs to be set in prj.conf. Since it is a single core chip this is the only configuration file that applies (there is no child_image in this case and ant_rpc.conf is unused).&lt;/p&gt;
&lt;p&gt;If you are intending to build for your nRF5340, child_image/ant_rpc.conf is the correct file for the license switch. Use &amp;quot;Add Build Configuration&amp;quot; to set up a new build for board nrf5340dk_nrf5340_cpuapp. This will use the child_image feature to automatically build for the network core based on the configurations in the ant_rpc.conf file.&lt;/p&gt;
&lt;p&gt;Let me know if this works!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480233?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 13:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adb36a62-0569-4f4b-8513-a9706d4f7c13</guid><dc:creator>Vint1k</dc:creator><description>&lt;p&gt;Good afternoon.&lt;br /&gt;I really hope that you can help me!&lt;/p&gt;
&lt;p&gt;1. I checked &amp;ldquo;git status&amp;rdquo; in the folder you specified, the following error occurred:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\ncs\v2.6.0\ant&amp;gt;git status
HEAD detached at 39a2222
Changes not staged for commit:
(use &amp;quot;git add &amp;lt;file&amp;gt;...&amp;quot; to update what will be committed)
(use &amp;quot;git restore &amp;lt;file&amp;gt;...&amp;quot; to discard changes in working directory)
modified: init/Kconfig

no changes added to commit (use &amp;quot;git add&amp;quot; and/or &amp;quot;git commit -a&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I fixed everything (now there are no changes), but now I can&amp;rsquo;t build the project...&amp;nbsp;During building I got this error:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713878592763v1.png" alt=" " /&gt;&lt;br /&gt;And this despite the fact that I have &amp;ldquo;CONFIG_ANT_EVALUATION_KEY=y&amp;rdquo; specified in the &amp;ldquo;child_image\ant_rpc.conf&amp;rdquo; file. Quite strange.&lt;br /&gt;Or is this how it should be?&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713878626411v2.png" alt=" " /&gt;&lt;br /&gt;That is, there is still some nonsense with the Ant+ key.&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp;No, I have an empty line there, no key.&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define CONFIG_ANT_LICENSE_KEY &amp;quot;&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I really like your tips, I see that they bring me closer to a solution!&amp;nbsp;Please help me solve the problem! I previously worked on Arduino, so I have no experience with NCS.&lt;br /&gt;&lt;br /&gt;I will look forward to your help.&lt;/p&gt;
&lt;p&gt;Sincerely, Victor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/480057?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 17:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13e3a022-d089-4a9a-8a05-f7b87fee7641</guid><dc:creator>sread</dc:creator><description>&lt;p&gt;Hello, I am from the ANT team.&amp;nbsp;I&amp;#39;d like to check two things first to help diagnose your issue.&lt;/p&gt;
&lt;p&gt;1. In the ANT folder, ie.&amp;nbsp;C:\ncs\v2.6.0\ant, please run a &amp;quot;git status&amp;quot; and make sure that there are no local changes to the repository that might be affecting what is passed to the ant_init() function.&lt;/p&gt;
&lt;p&gt;2. Ensure the license key is propagating correctly through Kconfig. One way to double check this is to check the autoconf.h file that is generated as part of the build. For nRF5340 network core, this file is located at this relative path:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;hrm_tx\build\ant_rpc\zephyr\include\generated\autoconf.h&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can you confirm&amp;nbsp;the following is being set as expected?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CONFIG_ANT_LICENSE_KEY&lt;em&gt; &amp;quot;license-string&amp;quot;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The string that follows &lt;span&gt;CONFIG_ANT_LICENSE_KEY is&amp;nbsp;&lt;/span&gt;passed directly to the initialization function and should exactly match the evaluation key defined here:&amp;nbsp;&lt;a href="https://github.com/ant-nrfconnect/sdk-ant/blob/main/init/Kconfig#L13"&gt;https://github.com/ant-nrfconnect/sdk-ant/blob/main/init/Kconfig#L13&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479977?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 12:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d946398-1c61-43ac-948a-42fdddbfa56e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;In this particular case I recommend to ask for support on&amp;nbsp;&lt;a href="https://www.thisisant.com/"&gt;https://www.thisisant.com/&lt;/a&gt;&amp;nbsp;, they are the ones that both&amp;nbsp;develop the ANT stack and licensing, and should be best able to look into your problems with&amp;nbsp;-NRF_EINVAL (ANT License Key argument is invalid).&lt;/p&gt;
&lt;p&gt;Maybe you can see a difference between our views when buildling:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713787482302v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479972?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 11:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60eaa07e-0259-4a66-8ffc-8b31a388c506</guid><dc:creator>Vint1k</dc:creator><description>&lt;p&gt;I built your project, tried to run it on my board - I get the same error &amp;quot;&amp;lt;err&amp;gt; ant_init: ant_stack_init() failed: -22&amp;quot;, &amp;quot;&amp;lt;err&amp;gt; ant_rpc_net: cmd handler missing cb&amp;quot;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713785884788v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also tried running it in debug mode.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713786033877v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The program stops at this point.&lt;/p&gt;
&lt;p&gt;I have a big request to ask you - if you don&amp;rsquo;t know how to help me with this problem, please refer me to another employee of yours.&lt;br /&gt;I really don&amp;#39;t want to ask new questions, but I have to, since I bought a NEW board and can&amp;#39;t run the example code, I don&amp;#39;t think it should be this way.&lt;/p&gt;
&lt;p&gt;I will look forward to your help.&lt;br /&gt;Sincerely, Victor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479965?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 11:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71f829c5-1876-4b0a-a2d7-f86e8e92fc38</guid><dc:creator>Vint1k</dc:creator><description>&lt;p&gt;Good afternoon.&lt;br /&gt;&lt;br /&gt;For some reason I did not receive a notification, so I did not notice your message.&lt;br /&gt;DropMeFiles is a very popular file sharing service (it&amp;rsquo;s been around for over 10 years). Honestly, I don&amp;#39;t know why you&amp;nbsp;consider it&amp;#39;s dangerous.&lt;br /&gt;I didn&amp;#39;t know about the ability to upload files directly to the forum.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hrm_5F00_tx.zip"&gt;devzone.nordicsemi.com/.../hrm_5F00_tx.zip&lt;/a&gt;&lt;br /&gt;Now I&amp;rsquo;ll check your file to see if it works for me.&lt;br /&gt;And you, please, check my file.&lt;/p&gt;
&lt;p&gt;Thank you very much for your quick response.&lt;br /&gt;Sincerely, Victor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479294?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 16:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d238b07c-95b5-4677-9540-7095776ad127</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Please drag and drop any files you want so send to me in text box you are replying. Unfortunately the page you are using is marked as Dangerous and I am not able to download from it. Though here are my files:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5658.sample.zip"&gt;devzone.nordicsemi.com/.../5658.sample.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479287?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 15:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3ea3d6a-926b-439c-9342-ff4c233ead9f</guid><dc:creator>Vint1k</dc:creator><description>&lt;p&gt;Good afternoon.&lt;br /&gt;Thank you for your quick response.&lt;br /&gt;&lt;br /&gt;The whole point here is that at the moment (see my steps above) I am NOT using my Ant+ key (I use CONFIG_ANT_EVALUATION_KEY=y). So I don&amp;#39;t really understand how it can be invalid.&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/110228/problems-with-running-the-hrm-example-ant/479286"]Edit: You can try to zip your project with the change to &amp;quot;&lt;span&gt;child_image/ant_rpc.conf&amp;quot; and I can try to run it here.&lt;/span&gt;[/quote]
&lt;p&gt;I would be grateful to you. Let&amp;#39;s check.&lt;br /&gt;I zipped the project file and uploaded it on DropMeFiles:&lt;br /&gt;&lt;a id="" href="https://dropmefiles.com/dMHKK"&gt;https://dropmefiles.com/dMHKK&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;By the way, maybe let&amp;#39;s do the opposite? You managed to launch the project. Maybe you can zip it and send it to me, and I&amp;#39;ll try to load it onto my nRF53 board&lt;br /&gt;&lt;br /&gt;Thank you!&lt;br /&gt;&lt;span&gt;Sincerely, Victor.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479286?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 15:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90611e9-60ea-4645-a86b-d471806dbd76</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You can try to delete the build folder and re-compile to check if that helps. The last error you&amp;nbsp;shared is due to -NRF_EINVAL if the ANT License Key argument is invalid, from the ant_interface.h:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/******************************* RE/INITIALIZATION API *******************/

 /** @brief This function checks for a valid license key and initializes the ANT stack (including stack variables). It must be executed prior to any wireless protocol activity.
 *          By default, it will be called during kernel initialization by ANT for nRF Connect SDK initialization code.
 *
 * @warning This is an internal glue function intended for SYS_INIT, it is not necessary to call it directly. This function is only meaningful on processor cores used for radio communication and may have a dummy implementation on multicore SoC&amp;#39;s.
 *
 * @param[in] aucLicenseKey is a pointer to an ANT License Key. This key is managed via the :kconfig:option:`CONFIG_ANT_LICENSE_KEY`.
 *
 * @retval  0 Success
 * @retval  -NRF_EPERM if the stack is not enabled
 * @retval  -NRF_EINVAL if the ANT License Key argument is invalid
 */
ant_err_t ant_stack_init (const uint8_t *aucLicenseKey);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So not something I can help you with directly, you would need to reach out to thisisant.com if there is problem with your license key.&lt;/p&gt;
&lt;p&gt;Edit: You can try to zip your project with the change to &amp;quot;&lt;span&gt;child_image/ant_rpc.conf&amp;quot; and I can try to run it here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479239?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 13:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ba99670-741c-42af-8ba6-b7cef8cf86ec</guid><dc:creator>Vint1k</dc:creator><description>[quote userid="2111" url="~/f/nordic-q-a/110228/problems-with-running-the-hrm-example-ant/479140"]I have tried to recreate what you are doing, but it seems to work here:[/quote]
&lt;p&gt;It&amp;#39;s good that it works for you, but it doesn&amp;#39;t solve my problem.&lt;br /&gt;I recently bought a NEW nRF5340-DK, I&amp;#39;m trying to run the usual example, showing my steps step by step - and it doesn&amp;#39;t work. I turn to you for help, and you say: &amp;ldquo;Everything works for me.&amp;rdquo; Tell me, as a Nordic employee, what should I do in this situation? How should I react to the fact that it works for you, but not for me? My task is to run on my board.&lt;br /&gt;I DEFINITELY need to use Ant+ technology and that&amp;#39;s why I bought the nRF 53 series board because they are the only ones that support Ant+ in your new development environment (NCS).&lt;/p&gt;
&lt;p&gt;I am asking for help in the hope that you will help me resolve my issue. If I do something wrong, correct me, tell me how to do it. If it doesn&amp;rsquo;t work for me specifically, tell me, maybe I should reinstall something.&lt;/p&gt;
&lt;p&gt;With all due respect to you and the time you spend on my questions, your answer did not bring me any closer to solving the problem. I really hope for a constructive response aimed at helping me with my question. At the end of the day, my goal is not to get into an argument with anyone or prove that the board doesn&amp;#39;t work, but my goal is to RUN the Ant+ EXAMPLE CODE.&lt;/p&gt;
&lt;p&gt;Let us together try to solve this problem.&lt;br /&gt;For example, what does this error mean:&lt;br /&gt;&amp;lt;err&amp;gt; ant_init: ant_stack_init() failed: -22&lt;br /&gt;&amp;lt;err&amp;gt; ant_rpc_net: cmd handler missing cb&lt;br /&gt;I didn&amp;#39;t find the answer. I am sure that you, as an employee, have a better understanding of your own product. If you personally don&amp;rsquo;t know the answer to my question, let&amp;rsquo;s&amp;nbsp;ask an employee who can figure it out. After all, the one who programmed and wrote the Ant+ library for NCS.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/110228/problems-with-running-the-hrm-example-ant/479140"]An observation, I can see your have a very old nRF5340-PDK, which is no longer&amp;nbsp;supported, ref:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html&lt;/a&gt;&amp;nbsp;[/quote]
&lt;p&gt;As for the fact that I have &amp;ldquo;a very old nRF5340-PDK&amp;rdquo; - you are mistaken. I have a new nRF5340-DK (not PDK). Here&amp;#39;s a photo:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/2KNWsdg/image.png" /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/vhHV2Kg/image.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I sincerely ask you to help me with this question!&lt;br /&gt;I will look forward to your answer,&lt;br /&gt;Sincerely, Victor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479140?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 08:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35b9368a-2d64-4a51-a513-b385418036f7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I have tried to recreate what you are doing, but it seems to work here:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713342301869v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;An observation, I can see your have a very old nRF5340-PDK, which is no longer&amp;nbsp;supported, ref:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/479051?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 17:05:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4c30f07-c54b-4620-89f7-7915b71f8c09</guid><dc:creator>Vint1k</dc:creator><description>[quote userid="2111" url="~/f/nordic-q-a/110228/problems-with-running-the-hrm-example-ant/478945"]В качестве первого шага вы можете попытаться закомментировать параметр CONFIG_ANT_LICENSE_KEY и просто использовать CONFIG_ANT_EVALUATION_KEY=y в качестве проверки вашей среды сборки и аппаратного обеспечения. Есть ли разница, если вы измените существующий пример как есть (без создания нового приложения)?[/quote]
&lt;p&gt;That&amp;#39;s exactly what I do.&lt;br /&gt;Take a close look at the second screenshot I attached to my post above.&lt;br /&gt;This is the file &amp;quot;child_image/ant_rpc.conf&amp;quot;, I deleted the line with my ANT key (CONFIG_ANT_LICENSE_KEY), and also specified the parameter CONFIG_ANT_EVALUATION_KEY=y&lt;br /&gt;What am I doing wrong?&lt;br /&gt;&lt;br /&gt;Let&amp;#39;s go through the stages of creating a new project with you.&lt;br /&gt;1)&amp;nbsp;I create a new project, select &amp;quot;Copy a sample&amp;quot;,&amp;nbsp;I open it in a new VS window&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713285879917v1.png" alt=" " /&gt;&lt;br /&gt;2)&amp;nbsp;I go to the file &amp;quot;child_image/ant_rpc.conf&amp;quot;, there I change to &amp;quot;CONFIG_ANT_EVALUATION_KEY=y&amp;quot;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/Jc9yPgc/image.png" /&gt;&lt;br /&gt;3) Then I create a new build. Just select nRF5340DK and click &amp;quot;build&amp;quot;.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/gMdmq3W/image.png" /&gt;&lt;br /&gt;4)&amp;nbsp;The last step is I connect my board and click &amp;quot;Flash&amp;quot;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/HqLQMR6/image.png" /&gt;&lt;br /&gt;It writes to me, saying that the device is programmed. Should work, right?&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/GcrQGW2/image.png" /&gt;&lt;br /&gt;Interestingly, this time I didn&amp;#39;t get any errors. This is great!&lt;br /&gt;After waiting a couple of minutes, I still couldn&amp;#39;t find my board using the Garmin Edge device.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/fdCRSdQ/image.png" /&gt;&lt;br /&gt;I&amp;#39;ll translate: it says &amp;quot;To connect to the heart rate monitor, wear it&amp;quot;.&lt;br /&gt;At this time, an error related to Ant+ is written on VCOM0:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.ibb.co/kMfHQRn/image.png" /&gt;&lt;br /&gt;So what kind of error is this? Maybe my sequence of actions is incorrect? Maybe I&amp;#39;m missing something?&lt;br /&gt;&amp;lt;err&amp;gt; ant_init: ant_stack_init() failed: -22&lt;br /&gt;&amp;lt;err&amp;gt; ant_rpc_net: cmd handler missing cb&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with running the HRM example (ANT+)</title><link>https://devzone.nordicsemi.com/thread/478945?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 11:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15ced443-09d0-4398-a8ef-6c3d05062a72</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please check out the following information:&lt;br /&gt;&lt;a href="https://www.thisisant.com/APIassets/ANTnRFConnectDoc/doc/integration_notes.html#license-keys"&gt;https://www.thisisant.com/APIassets/ANTnRFConnectDoc/doc/integration_notes.html#license-keys&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the nRF5340 the following applies:&lt;/p&gt;
&lt;p&gt;&amp;quot;If using the dual core automatic child image, the radio-adjacent or network core image (cpunet) configuration file will be either child_image/ant_rpc.conf or child_image/hci_ipc.conf.&amp;quot;&lt;/p&gt;
&lt;p&gt;As a first step you can try to comment out the&amp;nbsp;CONFIG_ANT_LICENSE_KEY setting and just using CONFIG_ANT_EVALUATION_KEY=y as a check for your build environment and HW. Any difference if you modify the existing example as-is (without create a new application)?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>