<?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>Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100528/generate-zip-file-for-fota-dfu</link><description>Hello , 
 i am using nrfutil tool and generate zip file but i am getting error which is mention in picture. i try ble_app_blinky code and generated ZIP file successfully, can you tell me how to solve this error 
 i am using 
 1 ..nRF5SDK1500a53641a sdk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jul 2023 08:06:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100528/generate-zip-file-for-fota-dfu" /><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/434614?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 08:06:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cbafbfd-ea81-4464-978a-75418d7448ad</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s great to know that all issues are resolved. Please feel free to close this ticket at your convenience then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/434594?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 07:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9b29c8a-6c0a-4efa-afb5-fe8dadbb3271</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hi Hieu ,&lt;/p&gt;
&lt;p&gt;Thank you so much for supporting me ,my all problem solve till now.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;DG&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/434531?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 17:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077c020e-925d-4743-89bb-1d79cc858c8d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
&lt;p&gt;My apologies for the late follow up. I have been on sick leave and could not work much.&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;case is likely one of this type:&lt;/p&gt;
[quote user="vthieu"]Rarely, but sometimes necessarily, understand what configurations are in used in the project configuration file (for SEGGER Embedded Studio projects).[/quote]
&lt;p&gt;You&amp;nbsp;likely are missing some preprocessor definitions.&amp;nbsp;You should review the preprocessor definition in the&amp;nbsp;nrf_crypto_aes_ctr example. Please review your project&amp;#39;s preprocessors settings to see which is missing, and update accordingly.&lt;/p&gt;
&lt;p&gt;To view and edit preprocessor definitions,&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go into Project&amp;nbsp;Options
&lt;ol&gt;
&lt;li&gt;By right click on the Project in the Project Explorer window&lt;/li&gt;
&lt;li&gt;Or by using the menu Project &amp;gt; Options (remember to move up/down until the options is being displayed for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;Project&lt;/em&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Go to Code &amp;gt; Preprocessors &amp;gt;&amp;nbsp;Preprocessor Definitions&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/432916?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 10:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14d22da3-74f2-4772-8b30-a4cd1e7b3ad8</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hi Hieu&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i am unable to solve this error can you tell how to solve it&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:0px;max-width:0px;" src="https://devzone.nordicsemi.com/resized-image/__size/NaNxNaN/__key/communityserver-components-multipleuploadfilemanager/f55ce60c_2D00_41b3_2D00_459a_2D00_93fb_2D00_bab783db0b80-79811-complete/pastedimage1687775645535v1.png" width="0" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:237px;max-width:454px;" height="237" src="https://devzone.nordicsemi.com/resized-image/__size/908x474/__key/communityserver-discussions-components-files/4/pastedimage1687775725747v2.png" width="454" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DG&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/432126?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 18:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fb4e493-d76a-4f72-b81e-ea93cc417def</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
[quote user="vthieu"]You might run into further&amp;nbsp;missing include files as you proceed. Simply search for where those files are in the SDK, and provide a relative path to the file&amp;#39;s containing folder.[/quote]
&lt;p&gt;The errors you have are still &amp;quot;No such file or directory&amp;quot; kind of errors. Unless it is some files not available in the SDK, please just repeat the steps I described above.&lt;/p&gt;
&lt;p&gt;Please also consider searching the issue on DevZone or on an internet search engine to see if someone has a better way around it.&lt;/p&gt;
&lt;p&gt;Lastly, please be informed that I am out of office and will not be able to reply for the next few days.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431873?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 06:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3deac0db-f822-41e8-b2c6-c8746f4bea4b</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hii Hieu,&lt;/p&gt;
&lt;p&gt;i am getting latest this error .can you guide me how to solve it .&lt;/p&gt;
&lt;p&gt;Building &amp;lsquo;ble_app_uart_pca10056_s140&amp;rsquo; from solution &amp;lsquo;ble_app_uart_pca10056_s140&amp;rsquo; in configuration &amp;lsquo;Release&amp;rsquo;&lt;br /&gt;1&amp;gt; Compiling &amp;lsquo;nrf_drv_uart.c&amp;rsquo;&lt;br /&gt;2&amp;gt; Compiling &amp;lsquo;nrfx_clock.c&amp;rsquo;&lt;br /&gt;3&amp;gt; Compiling &amp;lsquo;nrfx_gpiote.c&amp;rsquo;&lt;br /&gt;4&amp;gt; Compiling &amp;lsquo;nrf_drv_clock.c&amp;rsquo;&lt;br /&gt;5&amp;gt; Compiling &amp;lsquo;nrfx_power_clock.c&amp;rsquo;&lt;br /&gt;6&amp;gt; Compiling &amp;lsquo;nrfx_uart.c&amp;rsquo;&lt;br /&gt;7&amp;gt; Compiling &amp;lsquo;nrfx_prs.c&amp;rsquo;&lt;br /&gt;8&amp;gt; Compiling &amp;lsquo;nrfx_uarte.c&amp;rsquo;&lt;br /&gt;9&amp;gt; Compiling &amp;lsquo;mbedtls_backend_aes.c&amp;rsquo;&lt;br /&gt;10&amp;gt; Compiling &amp;lsquo;mbedtls_backend_aes_aead.c&amp;rsquo;&lt;br /&gt;11&amp;gt; Compiling &amp;lsquo;mbedtls_backend_ecc.c&amp;rsquo;&lt;br /&gt;12&amp;gt; Compiling &amp;lsquo;mbedtls_backend_ecdh.c&amp;rsquo;&lt;br /&gt;9&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_aes.c:45:10: fatal error: mbedtls/md.h: No such file or directory&lt;br /&gt;9&amp;gt; compilation terminated.&lt;br /&gt;11&amp;gt; In file included from ../../../../../../components/libraries/crypto/nrf_crypto_ecc.h:73,&lt;br /&gt;11&amp;gt; from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_ecc.c:49:&lt;br /&gt;11&amp;gt; ../../../../../../components/libraries/crypto/nrf_crypto_ecc_backend.h:56:10: fatal error: mbedtls_backend_ecc.h: No such file or directory&lt;br /&gt;11&amp;gt; compilation terminated.&lt;br /&gt;12&amp;gt; In file included from ../../../../../../components/libraries/crypto/nrf_crypto_ecc.h:73,&lt;br /&gt;12&amp;gt; from ../../../../../../components/libraries/crypto/nrf_crypto_ecdh.h:72,&lt;br /&gt;12&amp;gt; from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_ecdh.c:50:&lt;br /&gt;12&amp;gt; ../../../../../../components/libraries/crypto/nrf_crypto_ecc_backend.h:56:10: fatal error: mbedtls_backend_ecc.h: No such file or directory&lt;br /&gt;12&amp;gt; compilation terminated.&lt;br /&gt;10&amp;gt; In file included from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_aes_aead.c:46:&lt;br /&gt;10&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_aes_aead.h:57:10: fatal error: mbedtls/ccm.h: No such file or directory&lt;br /&gt;10&amp;gt; compilation terminated.&lt;br /&gt;Build failed&lt;/p&gt;
&lt;p&gt;&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/pastedimage1687242770846v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DG&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431587?ContentTypeID=1</link><pubDate>Sat, 17 Jun 2023 07:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e68f26d-465c-4a52-9a5c-b5b547fc6830</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hi Hieu ,&lt;/p&gt;
&lt;p&gt;can you guide me how to solve these error. in which file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:254px;max-width:254px;" alt=" " height="254" src="https://devzone.nordicsemi.com/resized-image/__size/508x508/__key/communityserver-discussions-components-files/4/pastedimage1686987019654v1.png" width="254" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:231px;max-width:440px;" height="231" src="https://devzone.nordicsemi.com/resized-image/__size/880x462/__key/communityserver-discussions-components-files/4/pastedimage1687006022101v1.png" width="440" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:268px;max-width:509px;" height="268" src="https://devzone.nordicsemi.com/resized-image/__size/1018x536/__key/communityserver-discussions-components-files/4/pastedimage1687006758429v2.png" width="509" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431586?ContentTypeID=1</link><pubDate>Sat, 17 Jun 2023 07:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8435a068-6441-4447-bb56-f7a66d3c83e0</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;now i am getting another error ,can you tell me what should add .and check this include directories&lt;/p&gt;
&lt;p&gt;c_user_include_directories=&amp;quot;../../../config;../../../../../../components;../../../../../../components/ble/ble_advertising;../../../../../../components/ble/ble_dtm;../../../../../../components/ble/ble_link_ctx_manager;../../../../../../components/ble/ble_racp;../../../../../../components/ble/ble_services/ble_ancs_c;../../../../../../components/ble/ble_services/ble_ans_c;../../../../../../components/ble/ble_services/ble_bas;../../../../../../components/ble/ble_services/ble_bas_c;../../../../../../components/ble/ble_services/ble_cscs;../../../../../../components/ble/ble_services/ble_cts_c;../../../../../../components/ble/ble_services/ble_dfu;../../../../../../components/ble/ble_services/ble_dis;../../../../../../components/ble/ble_services/ble_gls;../../../../../../components/ble/ble_services/ble_hids;../../../../../../components/ble/ble_services/ble_hrs;../../../../../../components/ble/ble_services/ble_hrs_c;../../../../../../components/ble/ble_services/ble_hts;../../../../../../components/ble/ble_services/ble_ias;../../../../../../components/ble/ble_services/ble_ias_c;../../../../../../components/ble/ble_services/ble_lbs;../../../../../../components/ble/ble_services/ble_lbs_c;../../../../../../components/ble/ble_services/ble_lls;../../../../../../components/ble/ble_services/ble_nus;../../../../../../components/ble/ble_services/ble_nus_c;../../../../../../components/ble/ble_services/ble_rscs;../../../../../../components/ble/ble_services/ble_rscs_c;../../../../../../components/ble/ble_services/ble_tps;../../../../../../components/ble/common;../../../../../../components/ble/nrf_ble_gatt;../../../../../../components/ble/nrf_ble_qwr;../../../../../../components/ble/peer_manager;../../../../../../components/boards;../../../../../../components/drivers_nrf/usbd;../../../../../../components/libraries/atomic;../../../../../../../../components/libraries/atomic_fifo;../../../../../../components/libraries/atomic_flags;../../../../../../components/libraries/balloc;../../../../../../components/libraries/bootloader/ble_dfu;../../../../../../components/libraries/bsp;../../../../../../../../components/libraries/button;../../../../../../components/libraries/cli;../../../../../../components/libraries/crc16;../../../../../../components/libraries/crc32;../../../../../../components/libraries/crypto;../../../../../../components/libraries/crypto/backend/cc310;../../../../../../components/libraries/crypto/backend/cc310_bl;../../../../../../components/libraries/crypto/backend/cifra;../../../../../../components/libraries/crypto/backend/mbedtls;../../../../../../components/libraries/crypto/backend/micro_ecc;../../../../../../components/libraries/crypto/backend/nrf_hw;../../../../../../components/libraries/crypto/backend/nrf_sw;../../../../../../components/libraries/crypto/backend/oberon;../../../../../../components/libraries/csense;../../../../../../components/libraries/csense_drv;../../../../../../components/libraries/delay;../../../../../../components/libraries/ecc;../../../../../../components/libraries/experimental_log;../../../../../../components/libraries/experimental_log/src;../../../../../../components/libraries/experimental_memobj;../../../../../../components/libraries/experimental_mpu;../../../../../../components/libraries/experimental_ringbuf;../../../../../../components/libraries/experimental_section_vars;../../../../../../components/libraries/experimental_stack_guard;../../../../../../components/libraries/experimental_task_manager;../../../../../../components/libraries/fds;../../../../../../../../components/libraries/fifo;../../../../../../components/libraries/fstorage;../../../../../../components/libraries/gfx;../../../../../../../../components/libraries/gpiote;../../../../../../components/libraries/hardfault;../../../../../../components/libraries/hardfault/nrf52;../../../../../../components/libraries/hci;../../../../../../components/libraries/led_softblink;../../../../../../components/libraries/low_power_pwm;../../../../../../components/libraries/mem_manager;../../../../../../components/libraries/mutex;../../../../../../components/libraries/pwm;../../../../../../components/libraries/pwr_mgmt;../../../../../../components/libraries/queue;../../../../../../components/libraries/scheduler;../../../../../../components/libraries/stack_info;../../../../../../components/libraries/sdcard;../../../../../../components/libraries/slip;../../../../../../components/libraries/sortlist;../../../../../../components/libraries/spi_mngr;../../../../../../components/libraries/strerror;../../../../../../components/libraries/timer;../../../../../../components/libraries/twi_mngr;../../../../../../components/libraries/twi_sensor;../../../../../../../../components/libraries/uart;../../../../../../components/libraries/usbd;../../../../../../components/libraries/usbd/class/audio;../../../../../../components/libraries/usbd/class/cdc;../../../../../../components/libraries/usbd/class/cdc/acm;../../../../../../components/libraries/usbd/class/hid;../../../../../../components/libraries/usbd/class/hid/generic;../../../../../../components/libraries/usbd/class/hid/kbd;../../../../../../components/libraries/usbd/class/hid/mouse;../../../../../../components/libraries/usbd/class/msc;../../../../../../components/libraries/usbd/config;../../../../../../components/libraries/util;../../../../../../components/nfc/ndef/conn_hand_parser;../../../../../../components/nfc/ndef/conn_hand_parser/ac_rec_parser;../../../../../../components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser;../../../../../../components/nfc/ndef/conn_hand_parser/le_oob_rec_parser;../../../../../../components/nfc/ndef/connection_handover/ac_rec;../../../../../../components/nfc/ndef/connection_handover/ble_oob_advdata;../../../../../../components/nfc/ndef/connection_handover/ble_pair_lib;../../../../../../components/nfc/ndef/connection_handover/ble_pair_msg;../../../../../../components/nfc/ndef/connection_handover/common;../../../../../../components/nfc/ndef/connection_handover/ep_oob_rec;../../../../../../components/nfc/ndef/connection_handover/hs_rec;../../../../../../components/nfc/ndef/connection_handover/le_oob_rec;../../../../../../components/nfc/ndef/generic/message;../../../../../../components/nfc/ndef/generic/record;../../../../../../components/nfc/ndef/launchapp;../../../../../../components/nfc/ndef/parser/message;../../../../../../components/nfc/ndef/parser/record;../../../../../../components/nfc/ndef/text;../../../../../../components/nfc/ndef/uri;../../../../../../components/nfc/t2t_lib;../../../../../../components/nfc/t2t_lib/hal_t2t;../../../../../../components/nfc/t2t_parser;../../../../../../components/nfc/t4t_lib;../../../../../../components/nfc/t4t_lib/hal_t4t;../../../../../../components/nfc/t4t_parser/apdu;../../../../../../components/nfc/t4t_parser/cc_file;../../../../../../components/nfc/t4t_parser/hl_detection_procedure;../../../../../../components/nfc/t4t_parser/tlv;../../../../../../components/softdevice/common;../../../../../../components/softdevice/s140/headers;../../../../../../components/softdevice/s140/headers/nrf52;../../../../../../components/toolchain/cmsis/include;../../..;../../../../../../external/cifra_AES128-EAX;../../../../../../external/fprintf;../../../../../../external/mbedtls/include;../../../../../../external/micro-ecc/micro-ecc;../../../../../../external/nrf_cc310/include;../../../../../../external/nrf_oberon../../../../../../external/nrf_oberon/include;../../../../../../external/nrf_tls/mbedtls/nrf_crypto/config;../../../../../../external/segger_rtt;../../../../../../../../integration/nrfx;../../../../../../integration/nrfx/legacy;../../../../../../modules/nrfx;../../../../../../modules/nrfx/drivers/include;../../../../../../../../modules/nrfx/hal;../../../../../../modules/nrfx/mdk;../config&amp;quot;&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/pastedimage1686985337094v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431574?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 21:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:869b8f8d-89fc-4d89-8b33-634b8d3d1853</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
&lt;p&gt;Please also add these include folders:&lt;/p&gt;
&lt;p&gt;../../../../../../modules/nrfx for nrfx.h&lt;/p&gt;
&lt;p&gt;&lt;span&gt;../../../../../../&lt;/span&gt;integration/nrfx/legacy&lt;/p&gt;
&lt;p&gt;You might run into further&amp;nbsp;missing include files as you proceed. Simply search for where those files are in the SDK, and provide a relative path to the file&amp;#39;s containing folder.&lt;/p&gt;
&lt;p&gt;Also, if you are using the nRF5 SDK, please consider using the latest version, v17.1.0 instead.&lt;/p&gt;
&lt;p&gt;If you have strong reason to use v15.x.y, please consider using the latest version, v15.3.0.&lt;/p&gt;
&lt;p&gt;Otherwise, the nRF5 SDK is in &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;maintenance mode&lt;/a&gt;, and we encourage all new projects to be based on the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431405?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 06:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8886031c-8439-4a31-88de-5a02f2beab84</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;HI Hieu ,&lt;/p&gt;
&lt;p&gt;can you tell me what should add exactly .because i am adding path but still getting same error .i am sending you ble_uart and aes_ctr merge emproject file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:205px;max-width:390px;" alt=" " height="205" src="https://devzone.nordicsemi.com/resized-image/__size/780x410/__key/communityserver-discussions-components-files/4/pastedimage1686895934537v1.png" width="390" /&gt;&lt;/p&gt;
&lt;p&gt;Building &amp;lsquo;ble_app_uart_pca10056_s140&amp;rsquo; from solution &amp;lsquo;ble_app_uart_pca10056_s140&amp;rsquo; in configuration &amp;lsquo;Release&amp;rsquo;&lt;br /&gt;1&amp;gt; Assembling &amp;lsquo;thumb_crt0.s&amp;rsquo;&lt;br /&gt;2&amp;gt; Compiling &amp;lsquo;nrf_log_backend_serial.c&amp;rsquo;&lt;br /&gt;3&amp;gt; Compiling &amp;lsquo;nrf_log_backend_rtt.c&amp;rsquo;&lt;br /&gt;4&amp;gt; Compiling &amp;lsquo;nrf_log_backend_uart.c&amp;rsquo;&lt;br /&gt;5&amp;gt; Compiling &amp;lsquo;nrf_log_default_backends.c&amp;rsquo;&lt;br /&gt;6&amp;gt; Compiling &amp;lsquo;nrf_log_frontend.c&amp;rsquo;&lt;br /&gt;7&amp;gt; Compiling &amp;lsquo;nrf_log_str_formatter.c&amp;rsquo;&lt;br /&gt;8&amp;gt; Compiling &amp;lsquo;app_button.c&amp;rsquo;&lt;br /&gt;9&amp;gt; Compiling &amp;lsquo;app_error.c&amp;rsquo;&lt;br /&gt;10&amp;gt; Compiling &amp;lsquo;app_error_handler_gcc.c&amp;rsquo;&lt;br /&gt;11&amp;gt; Compiling &amp;lsquo;app_error_weak.c&amp;rsquo;&lt;br /&gt;12&amp;gt; Compiling &amp;lsquo;app_fifo.c&amp;rsquo;&lt;br /&gt;1&amp;gt; Compiling &amp;lsquo;app_scheduler.c&amp;rsquo;&lt;br /&gt;3&amp;gt; In file included from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\experimental_log\src\nrf_log_backend_rtt.c:46:&lt;br /&gt;3&amp;gt; ../../../../../../components/libraries/delay/nrf_delay.h:44:10: fatal error: nrfx.h: No such file or directory&lt;br /&gt;3&amp;gt; compilation terminated.&lt;br /&gt;4&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\experimental_log\src\nrf_log_backend_uart.c:45:10: fatal error: nrf_drv_uart.h: No such file or directory&lt;br /&gt;4&amp;gt; compilation terminated.&lt;br /&gt;Build failed&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_pca10056_5F00_s140_5F00_emproject.txt"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_pca10056_5F00_s140_5F00_emproject.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431295?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 13:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8680ca3e-ca3e-476b-9e4b-335e583395f1</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
&lt;p&gt;You will need to update the list of include directories. Please:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go into Project&amp;nbsp;Options
&lt;ol&gt;
&lt;li&gt;By right click on the Project in the Project Explorer window&lt;/li&gt;
&lt;li&gt;Or by using the menu Project &amp;gt; Options (remember to move up/down until the options is being displayed for the &lt;em&gt;Project&lt;/em&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Go to Code &amp;gt; Preprocessors &amp;gt; User include Directories&lt;/li&gt;
&lt;li&gt;Add the folders where the missing header files can be found to the list&lt;/li&gt;
&lt;/ol&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/pastedimage1686836825188v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431245?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 12:22:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a313ee-3aa5-4b16-a647-c24329d7701e</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Building &amp;lsquo;ble_app_uart_pca10056_s140&amp;rsquo; from solution &amp;lsquo;ble_app_uart_pca10056_s140&amp;rsquo; in configuration &amp;lsquo;Release&amp;rsquo;&lt;br /&gt;1&amp;gt; Compiling &amp;lsquo;nrf_log_backend_rtt.c&amp;rsquo;&lt;br /&gt;2&amp;gt; Compiling &amp;lsquo;nrf_log_backend_uart.c&amp;rsquo;&lt;br /&gt;3&amp;gt; Compiling &amp;lsquo;nrf_log_frontend.c&amp;rsquo;&lt;br /&gt;4&amp;gt; Compiling &amp;lsquo;nrf_log_default_backends.c&amp;rsquo;&lt;br /&gt;5&amp;gt; Compiling &amp;lsquo;nrf_log_str_formatter.c&amp;rsquo;&lt;br /&gt;6&amp;gt; Compiling &amp;lsquo;app_timer.c&amp;rsquo;&lt;br /&gt;7&amp;gt; Compiling &amp;lsquo;app_scheduler.c&amp;rsquo;&lt;br /&gt;8&amp;gt; Compiling &amp;lsquo;app_error_weak.c&amp;rsquo;&lt;br /&gt;9&amp;gt; Compiling &amp;lsquo;app_uart_fifo.c&amp;rsquo;&lt;br /&gt;10&amp;gt; Compiling &amp;lsquo;nrf_balloc.c&amp;rsquo;&lt;br /&gt;11&amp;gt; Compiling &amp;lsquo;nrf_atomic.c&amp;rsquo;&lt;br /&gt;12&amp;gt; Compiling &amp;lsquo;nrf_atfifo.c&amp;rsquo;&lt;br /&gt;1&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\experimental_log\src\nrf_log_backend_rtt.c:46:10: fatal error: nrf_delay.h: No such file or directory&lt;br /&gt;1&amp;gt; compilation terminated.&lt;br /&gt;9&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\uart\app_uart_fifo.c:43:10: fatal error: app_fifo.h: No such file or directory&lt;br /&gt;9&amp;gt; compilation terminated.&lt;br /&gt;2&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\experimental_log\src\nrf_log_backend_uart.c:45:10: fatal error: nrf_drv_uart.h: No such file or directory&lt;br /&gt;2&amp;gt; compilation terminated.&lt;br /&gt;6&amp;gt; C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\timer\app_timer.c:48:10: fatal error: nrf_delay.h: No such file or directory&lt;br /&gt;6&amp;gt; compilation terminated.&lt;br /&gt;Build failed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/431189?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 09:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22608a28-c56f-4f30-bd59-57bcb922d496</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hello Hieo,&lt;/p&gt;
&lt;p&gt;i am trying to combine ble_uart and AES_Ctr file but i am getting some error which in mention in&lt;/p&gt;
&lt;p&gt;picture ,can you tell me how to solve it.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:275px;max-width:530px;" alt=" " height="275" src="https://devzone.nordicsemi.com/resized-image/__size/1060x550/__key/communityserver-discussions-components-files/4/pastedimage1686820419280v1.png" width="530" /&gt;&lt;/p&gt;
&lt;p&gt;BR&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DG&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/430741?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2023 12:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3880c623-5c03-423d-84e9-9e7e7d30d084</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;DG, you might&amp;nbsp;have misunderstood me. By&amp;nbsp;&lt;/p&gt;
[quote user="vthieu"]&lt;p&gt;You can remove the SoftDevice Requirement by removing the --sd-req parameters from the command.&lt;/p&gt;
&lt;p&gt;However, this recommendation from me is not correct. I reviewed your reply and see that you already flashed the SoftDevice onto the DK. I am sorry about this.&lt;/p&gt;[/quote]
&lt;p&gt;I meant that --sd-req should not be removed.&lt;/p&gt;
[quote user="Ambimat Team"]&lt;p&gt;1. Is there a BLE code that already integrates AES CTR or any other form of AES? Our goal is to make sure that the communication between the mobile&amp;nbsp;phone and our hardware is encrypted.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We were following the methodology of integrating the&amp;nbsp;&lt;span&gt;nrf_crypto_aes_ctr_pca10056 with the BLE uart code. This is the place where we got stuck. We, furthermore, also want to integrate other services like the battery level and some others with our firmware. This is just FYI&amp;nbsp;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;If your goal is encryption of the message, then you should know that all BLE messages are encrypted when after pairing or bonding is done.&lt;/p&gt;
&lt;p&gt;We explain those concepts in &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/"&gt;the free Bluetooth Low Energy Fundamentals course in DevAcademy&lt;/a&gt;. The course is based on &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;the nRF Connect SDK&lt;/a&gt;. However, as you seem to be&amp;nbsp;starting a new project, I think it is also better for you to work with this SDK instead.&lt;/p&gt;
[quote user="Ambimat Team"]2. If we are to combine the two examples how should we go about doing this? We want to combine the BLE uart and the&amp;nbsp;nrf_crypto_aes_ctr_pca10056.&amp;nbsp;. On this same point we also understand that both these codes have a different project file and we are not sure how to combine them. Can you advice how to proceed forward on this?[/quote]
&lt;p&gt;My steps are usually as followed&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Understand the API calls in main.c.&lt;/li&gt;
&lt;li&gt;Understand what&amp;nbsp;source files and header files are used.&lt;/li&gt;
&lt;li&gt;Understand what configuration&amp;nbsp;are in used in sdk_config.h.&lt;/li&gt;
&lt;li&gt;Rarely, but sometimes necessarily, understand what configurations are in used in the project configuration file (for SEGGER Embedded Studio projects).&lt;/li&gt;
&lt;li&gt;Replicate the above understanding in the based project.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As you start out with the SDK,&amp;nbsp;each step can be intimidating, but please trust me that it will get better.&lt;/p&gt;
&lt;p&gt;Finally, please remember my recommendation to consider the nRF Connect SDK instead.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/430309?ContentTypeID=1</link><pubDate>Sat, 10 Jun 2023 12:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:507bff66-8c1e-4adc-9d68-d9fb0e0021dc</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;i removed --sd--req&amp;nbsp; from command then i got&amp;nbsp; some warning&amp;nbsp;&amp;nbsp;pc_nrfutil_legacy_v6.1.7.exe pkg generate [OPTIONS] ZIPFILE and i download nrfutls version V6.1.7 and try but i still got error which is Error: --sd-req required..&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:124px;max-width:575px;" height="124" src="https://devzone.nordicsemi.com/resized-image/__size/1150x248/__key/communityserver-discussions-components-files/4/pastedimage1686398728145v2.png" width="575" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;after install nrfutil version V6.1.7&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:108px;max-width:548px;" height="108" src="https://devzone.nordicsemi.com/resized-image/__size/1096x216/__key/communityserver-discussions-components-files/4/pastedimage1686398854872v5.png" width="548" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, we want to understand the following questions:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. Is there a BLE code that already integrates AES CTR or any other form of AES? Our goal is to make sure that the communication between the mobile&amp;nbsp;phone and our hardware is encrypted.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We were following the methodology of integrating the&amp;nbsp;&lt;span&gt;nrf_crypto_aes_ctr_pca10056 with the BLE uart code. This is the place where we got stuck. We, furthermore, also want to integrate other services like the battery level and some others with our firmware. This is just FYI&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. If we are to combine the two examples how should we go about doing this? We want to combine the BLE uart and the&amp;nbsp;nrf_crypto_aes_ctr_pca10056.&amp;nbsp;. On this same point we also understand that both these codes have a different project file and we are not sure how to combine them. Can you advice how to proceed forward on this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;DG&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/430263?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 13:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48790a87-f613-41bb-8e4c-a185583c135b</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;You can remove the SoftDevice Requirement by removing the --sd-req parameters from the command.&lt;/p&gt;
&lt;p&gt;However, this recommendation from me is not correct. I reviewed your reply and see that you already flashed the SoftDevice onto the DK. I am sorry about this.&lt;/p&gt;
&lt;p&gt;If you are using the SoftDevice, then the issue is most likely that the&amp;nbsp;nrf_crypto_aes_ctr_pca10056 example that you are using is not built to accommodate coexistence with the SoftDevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s refer to the Memory Layout of the SDK&amp;#39;s bootloader solution &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=9_1_3_5_0_7#lib_bootloader_memory"&gt;here&lt;/a&gt;. All the&amp;nbsp;addresses and pointers in that crypto application is built expecting&amp;nbsp;the application to locate at the MBR or the SoftDevice&amp;#39;s place. However,&amp;nbsp;when downloaded with DFU, it is not. Therefore, the application cannot work correctly.&lt;/p&gt;
&lt;p&gt;Technically, you can modify the example to start at a later address, like discussed in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37863/adding-ble-softdevice-to-an-existing-emstudio-project"&gt;this DevZone question&lt;/a&gt;. However, if I understand correctly, you are just evaluating the solutions, so I recommend you retry with a BLE example instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429998?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 12:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f0d378a-fc70-4160-b2a1-3d06cd560b14</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;nrfutil pkg generate --hw-version &amp;lt;hw_version&amp;gt; --sd-req &amp;lt;sd_version&amp;gt; --application &amp;lt;application_file&amp;gt; --application-version &amp;lt;app_version&amp;gt; --key-file &amp;lt;private.key&amp;gt; &amp;lt;output_zip_file&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i used this command for generate zip file and i am not using any soft device file .i used soft device file for generate dfu boatloader hex file .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429992?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 12:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ccfa7b2-ae9a-4e7c-89c2-923b1c5a2ce2</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;how can you tell me ?&amp;nbsp; (any command )&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429990?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 12:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd25ac1c-fa8e-44ac-968e-0522e2b3c194</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;It seems you have missed my recommendation:&lt;/p&gt;
[quote user="vthieu"]Please&amp;nbsp;try to&amp;nbsp;regenerate the package without SoftDevice Requirement.[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429944?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 10:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf11310-b9ac-4560-83e1-59f7d3715489</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;yes .&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;--sd-req 0xA9&amp;nbsp; no space .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i am running application without soft device .&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429924?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 09:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5332cdd-844c-4f79-95d9-68d823672980</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;i am follow steps&lt;/p&gt;
&lt;p&gt;1 . nrfutil.exe Keys generate private.key&amp;nbsp; &amp;nbsp;( generate private key using command )&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2&amp;nbsp; &amp;nbsp;nrfutil keys display --key pk --format code private.key --out_file public_key.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;( generate public key using&amp;nbsp; private key )&lt;/p&gt;
&lt;p&gt;3&amp;nbsp; create bootloader_dfu.hex&amp;nbsp; file using soft device hex file or secure bootloader file .&lt;/p&gt;
&lt;p&gt;4&amp;nbsp; now i dump bootloader_dfu.hex&amp;nbsp; into nrf52840 sdk&amp;nbsp; using j flash tool and now board into DFU mode&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5&amp;nbsp; now i generate zip file for ble_led&amp;nbsp; using command&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="text-align:justify;"&gt;nrfutil pkg generate --hw-version 52 --application-version 1 --application&amp;nbsp; &amp;nbsp; &amp;nbsp; ble_app_blinky_pca10056_s140.hex --sd-req 0xA9 --key-file private.key app_dfu_package.zip&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;6&amp;nbsp; now&amp;nbsp; i want dump zip file on board using nrf tool&amp;nbsp; and&amp;nbsp; i dump zip file on board and which is working&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ble_led properly.&lt;/p&gt;
&lt;p&gt;7&amp;nbsp; Now problem is generate another zip file for AES and dump into board using nrf tool but it is not&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; working. i generate zip file using this command&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;nrfutil pkg generate --h w-version 52 --application-version 1 --application&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:/Dharm_work/Backup_code/DFU/DeviceDownload/nRF5SDK1500a53641a/nRF5_SDK_15.0.0_a53641a/examples/crypto/nrf_crypto/aes/aes_ctr/pca10056/blank/ses/Output/Release/Exe/nrf_crypto_aes_ctr_pca10056.hex --sd-req 0xA9 --key-file private.key AES_Encrtpy.zip&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; 8. can you check your side and tell me why it is not working .&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;img height="245" src="https://devzone.nordicsemi.com/resized-image/__size/1328x490/__key/communityserver-discussions-components-files/4/pastedimage1686215437925v2.png" width="664" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429905?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 08:13:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45913d09-ca1c-4892-bf5e-8e9418988181</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
&lt;p&gt;I must say I am a little confused what is going on. Here I will try to explain what I understand, and give a recommendation based on that. However, please correct me if I am wrong.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You have now been able to generate the DFU ZIP package, which you had difficulty with in the opening post&lt;/li&gt;
&lt;li&gt;You then proceeded to these test steps&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Starting with erased nRF52840 DK (you said SDK, but I think you meant DK here)&lt;/li&gt;
&lt;li&gt;Flash only bootloader.hex&lt;/li&gt;
&lt;li&gt;Attempt DFU&lt;/li&gt;
&lt;li&gt;Had a failure&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Looking at your setup, I suspect that it is because of the --sd-req field in your command.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;examples you are testing with are applications that run without the SoftDevice. You have also programmed the SoC to not have any SoftDevice (bootloader only). Therefore, the DFU process would fail.&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;try to&amp;nbsp;regenerate the package without SoftDevice Requirement.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429794?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 13:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6925ebb0-cd6a-49e7-94ed-a58773b10264</guid><dc:creator>DG</dc:creator><description>&lt;p&gt;Hi Hieu&lt;/p&gt;
&lt;p&gt;i dump ble_led.zip file into nrf52840 using nrf connect tool .it is working fine but i generate AES_Encrypt.zip file and dump into nrf52840 sdk but it is not working. can you tell me why it is not working ? same normal_led.zip file not working&lt;/p&gt;
&lt;p&gt;1 . bootloader_dfu.hex file dump into nrf52840 sdk&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2 . nrfutil pkg generate --hw-version 52 --application-version 1 --application ble_app_blinky_pca10056_s140.hex --sd-req&amp;nbsp; &amp;nbsp; &amp;nbsp; 0xA9 --key-file private.key ble_led.zip&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;nrfutil pkg generate --hw-version 52 --application-version 1 --application&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C:/Dharm_work/Backup_code/DFU/DeviceDownload/nRF5SDK1500a53641a/nRF5_SDK_15.0.0_a53641a/examples/crypto/nrf_crypto/aes/aes_ctr/pca10056/blank/ses/Output/Release/Exe/nrf_crypto_aes_ctr_pca10056.hex --sd-req 0xA9 --key-file private.key AES_Encrtpy.zip&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i generated zip file using&amp;nbsp; this commands and once try your side alse&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;DG&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bootloader_5F00_dfu.hex"&gt;devzone.nordicsemi.com/.../bootloader_5F00_dfu.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_led.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_led.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/AES_5F00_Encrypt.zip"&gt;devzone.nordicsemi.com/.../AES_5F00_Encrypt.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/normal_5F00_led.zip"&gt;devzone.nordicsemi.com/.../normal_5F00_led.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Zip file for FOTA DFu</title><link>https://devzone.nordicsemi.com/thread/429773?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 12:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7851e55b-bbaf-4fde-a325-c641c64bb6b0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DG,&lt;/p&gt;
&lt;p&gt;I see that you are using a nrfutil version newer than v7.0.0. In such versions, you need to enable support for nRF5 SDK first. Have you done that?&lt;/p&gt;
&lt;p&gt;If not, please follow the instruction in this page:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_installing.html"&gt;https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_installing.html&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>