<?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>ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104500/ant-secure-dfu-bootloader-problem</link><description>Hello everyone, I&amp;#39;m currently working on a wearable project involving ANT communication using nrf-52832 and nrf-52840 boards. In the last few days i was trying to add the possibility of OTA firmware update using ANT following the Nrf SDk example &amp;quot;ANT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Oct 2023 13:36:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104500/ant-secure-dfu-bootloader-problem" /><item><title>RE: ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/thread/449855?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 13:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69addfd1-498a-4b47-93c9-f640f1345959</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m glad that you resolved the issue :) Thanks for reporting it back.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/thread/449792?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 11:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271586ab-43c2-45c2-b504-5ea27972b73e</guid><dc:creator>Lorenzo_B</dc:creator><description>&lt;p&gt;I resolved the issue! I&amp;#39;ve explained it in the previous answer, i think the ticket can be closed.&lt;/p&gt;
&lt;p&gt;I am using a 64 bit Windows, i reinstalled 32 bit python and then installed using pip command nrfutil. I&amp;nbsp;recommend to install python 3.9 since using the last python version lead to many issues with nrfutil package.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/thread/449774?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 10:44:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5c343f2-7c83-464e-bbc0-d6bf3874da47</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Lorenzo,&amp;nbsp;&lt;br /&gt;I assume you are using a 32 bit Windows , correct ?&amp;nbsp;&lt;br /&gt;We will need to look at how you install nrfutil and how you install python and the antlib module.&amp;nbsp;&lt;br /&gt;Maybe you can try remove them and install again, make sure to use 32bit version&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/thread/449771?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 10:41:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6b2b0cb-19c2-40b2-b6be-2337c45aee61</guid><dc:creator>Lorenzo_B</dc:creator><description>&lt;p&gt;I managed to do OTA firmware pudate using ANT!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To overcome the problem of 32 bit ant library I&amp;#39;ve installed python 3.9 32 bit then installed nrfutil using pip command.&lt;/p&gt;
&lt;p&gt;The I followed nordic devzone tutorial about dfu secure (there is not a specific tutorial for ANT but the one for bluethoot could be a good guide)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/nrf5-sdk-v17-1-0-secure-dfu-hands-on-tutorial"&gt;nRF5 SDK v17.1.0 Secure DFU  Hands-on Tutorial&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To complete the dfu transfer i had to comment line 141 and 142 of dfu_transport_ant.py file that can be found&amp;nbsp;C:\Users\Name\AppData\Local\Programs\Python\Python39-32\Lib\site-packages\nordicsemi\dfu after&amp;nbsp;having nrfutil installed.&lt;/p&gt;
&lt;p&gt;I used a nrf52840 board (even if the ant_dfu_secure_example in the SDK are for pca10040 it is possible to use them with pca10056 with some memory adjustment on application and bootloader .em files).&lt;/p&gt;
&lt;p&gt;I used an ANt USB2 stick so idon&amp;#39;t know if it works with ant USBm stick.&lt;/p&gt;
&lt;p&gt;Thank for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/thread/449667?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 21:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:597e1533-0364-4c62-b4f6-1f732e09f660</guid><dc:creator>Lorenzo_B</dc:creator><description>&lt;p&gt;Hello, how can i tell the .py programs to run the win32 .dlll library instead of the win64? I try delteing the entire win64 folder containing the .dll file but the warining is still present.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also tried to comment the warining in the antdevice.py file line 68 but, again, it show up the moment i run the nrfutil command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Secure DFU Bootloader problem</title><link>https://devzone.nordicsemi.com/thread/449573?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 12:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66f1a306-60d3-4a40-9f8e-e97a6b8f3251</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Lorenzo,&amp;nbsp;&lt;br /&gt;Could you check&amp;nbsp;C:\Users\YOURUSERNAME\AppData\Local\Programs\Python\Python310\Lib\site-packages\antlib if you see win64 or win32&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/pastedimage1696941926945v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;From what I can see in the code it seems that it complains that the platform was&amp;nbsp;win32 but the dll was 64:&amp;nbsp;&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/pastedimage1696942690915v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>