<?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>nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70674/nrf52840-sdk16---print-an-array-of-hex-values-using-nrf_log_hexdump_info</link><description>Hi everyone, 
 I want to serial print an array of bytes in hex format. The array size is 200bytes. I tried to use the NRF_LOG_HEXDUMP_INFO but it doesn&amp;#39;t print all the array, it prints just the first 72bytes 
 The second approach works fine. How I would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 13:15:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70674/nrf52840-sdk16---print-an-array-of-hex-values-using-nrf_log_hexdump_info" /><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/291798?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 13:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f1565c1-3f0d-4496-9f3f-16ee4d93ba1f</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Ok, I&amp;#39;ll try thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/291794?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 13:07:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93864c4b-4c3f-4599-a3c8-584c67017295</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to repeat the test with nRF5 SDK 17.0.2, if you have time. I tried to repeat the test now with SKD 16.0.0, but the message got capped at 167 bytes for some reason. I don&amp;#39;t remember if I used SDK 16 or 17 when it worked ( I thought it was with SDK 16 but not sure anymore)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290569?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 14:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:940f802f-a54e-44bc-b15c-1bcb0ea14a12</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;xmm interesting, I miss&amp;nbsp;something because it&amp;#39;s still don&amp;#39;t work for me. I don&amp;#39;t know if this is related, but I read the data from a .hex file and then I fill the read_raw_data buffer. Lastly I print the logs using the &amp;nbsp;NRF_LOG_HEXDUMP_INFO.&lt;/p&gt;
&lt;p&gt;This is the complete function&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;FRESULT ff_result;
#define read_payload 100
  static char read_raw_data[read_payload] = {0};
  UINT br = 0;

  // NA - Open the file to write
  ff_result = f_open(&amp;amp;file, &amp;quot;RAWDATA.hex&amp;quot;, FA_READ);
  if (ff_result != FR_OK) {
    NRF_LOG_INFO(&amp;quot;Unable to open file: %u&amp;quot;, ff_result);
    NRF_LOG_FLUSH();
    return;
  }

  ff_result = f_read(&amp;amp;file, read_raw_data, read_payload, &amp;amp;br);
  if (ff_result != FR_OK) {
    NRF_LOG_INFO(&amp;quot;\r\nUnable to read the file: %u&amp;quot;, ff_result);
    NRF_LOG_FLUSH();
    return;
  }

  // NA - Close the file
  ff_result = f_close(&amp;amp;file); // NA - The f_close function closes an open file. Ref: http://elm-chan.org/fsw/ff/doc/close.html
  if (ff_result != FR_OK) {
    NRF_LOG_ERROR(&amp;quot;\r\nUnable to close file: %u&amp;quot;, ff_result);
    NRF_LOG_FLUSH();
    return;
  }
  NRF_LOG_INFO(&amp;quot;Close the file&amp;quot;);

  // Print the data
  NRF_LOG_HEXDUMP_INFO(read_raw_data,read_payload);
  NRF_LOG_FLUSH();

}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_LOG_BACKEND_RTT_ENABLED 1

#define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64

#define NRF_LOG_BACKEND_UART_ENABLED 0

#define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 660

#define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 14

#define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20

#define NRF_LOG_MSGPOOL_ELEMENT_COUNT 40&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611238336335v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;With the current settings I receive the following&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611239585325v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also tried your example, however with the same results.. So I suppose that the it&amp;#39;s not something wrond with my function.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611239746315v7.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290500?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 12:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:514f36af-dcde-46e4-9e79-f7e3ddcf4863</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Increasing the size of the RTT buffers seem to do the trick:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611231831352v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290493?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 12:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:895c9649-635e-4d29-a1fb-761e86efa048</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Ok, that&amp;#39;s good to know, thanks for confirming. But were you using Putty with RTT or UART?&amp;nbsp; I guess it has something to do with the Jlink RTT settings. I will try to look into it. Maybe it would help to increase the RTT buffers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290488?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 12:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8931e84e-079a-459d-81f7-07aea0d297b7</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;No I don&amp;#39;t losing data thanks. I will proceed with UART.&lt;/p&gt;
&lt;p&gt;However I was wondering whyI lose data with RTT... but if this is complicated to investigate nevermind :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290480?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 11:53:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:531aee6c-09bc-4a00-8fbf-2b6be2d0d9c0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;So you are not losing logs if you use Putty, or did you meant to say that you are still losing logs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290477?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 11:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffbe4643-2408-4ff2-a8ef-f0c7d6ca4404</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/70674/nrf52840-sdk16---print-an-array-of-hex-values-using-nrf_log_hexdump_info/290410#290410"]Are you using RTT or UART[/quote]
&lt;p&gt;I am using RTT&lt;/p&gt;
&lt;p&gt;Indeed, I used Putty and I do not lose logs&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611229211885v2.png" alt=" " /&gt;&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/70674/nrf52840-sdk16---print-an-array-of-hex-values-using-nrf_log_hexdump_info/290410#290410"]Can you try to make&amp;nbsp; &amp;#39;read_raw_data&amp;#39; &amp;quot;static&amp;quot; instead[/quote]
&lt;p&gt;I did the&lt;span&gt;&amp;nbsp; &amp;#39;read_raw_data&amp;#39; &amp;quot;static&amp;quot;&amp;nbsp; but there is no effect on RTT backend&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290410?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 08:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ef0dc7-e41f-406d-8c14-5eb8d49aea25</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I should have tested this first. I think the NRF_LOG_PUSH() macro should be used like this: NRF_LOG_HEXDUMP_INFO(NRF_LOG_PUSH(read_raw_data),read_payload);. However, that just lead to corrupted data when I tested it. Can you try to make&amp;nbsp; &amp;#39;read_raw_data&amp;#39; &amp;quot;static&amp;quot; instead?&lt;/p&gt;
&lt;p&gt;I also observed lost logs when I used the RTT backend, but not with UART. Are you using RTT or UART?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C code&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    NRF_LOG_INFO(&amp;quot;-- Byte Array --&amp;quot;);
    static uint8_t hex_dump[] = {0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe,
        0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d,
        0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c,
        0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b,
        0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a,
        0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59,
        0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68,
        0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
        0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86,
        0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95,
        0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 0xa4,
        0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3,
        0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, 0xc0, 0xc1, 0xc2,
        0xc3, 0xc4, 0xc5, 0xc6, 0xc7};

    NRF_LOG_HEXDUMP_INFO(hex_dump, sizeof(hex_dump));&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UART log&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: -- Byte Array --
&amp;lt;info&amp;gt; app:  00 01 02 03 04 05 06 07|........
&amp;lt;info&amp;gt; app:  08 09 0A 0B 0C 0D 0E 0F|.  ......
&amp;lt;info&amp;gt; app:  10 11 12 13 14 15 16 17|........
&amp;lt;info&amp;gt; app:  18 19 1A 1B 1C 1D 1E 1F|........
&amp;lt;info&amp;gt; app:  20 21 22 23 24 25 26 27| !&amp;quot;#$%&amp;amp;&amp;#39;
&amp;lt;info&amp;gt; app:  28 29 2A 2B 2C 2D 2E 2F|()*+,-./
&amp;lt;info&amp;gt; app:  30 31 32 33 34 35 36 37|01234567
&amp;lt;info&amp;gt; app:  38 39 3A 3B 3C 3D 3E 3F|89:;&amp;lt;=&amp;gt;?
&amp;lt;info&amp;gt; app:  40 41 42 43 44 45 46 47|@ABCDEFG
&amp;lt;info&amp;gt; app:  48 49 4A 4B 4C 4D 4E 4F|HIJKLMNO
&amp;lt;info&amp;gt; app:  50 51 52 53 54 55 56 57|PQRSTUVW
&amp;lt;info&amp;gt; app:  58 59 5A 5B 5C 5D 5E 5F|XYZ[\]^_
&amp;lt;info&amp;gt; app:  60 61 62 63 64 65 66 67|`abcdefg
&amp;lt;info&amp;gt; app:  68 69 6A 6B 6C 6D 6E 6F|hijklmno
&amp;lt;info&amp;gt; app:  70 71 72 73 74 75 76 77|pqrstuvw
&amp;lt;info&amp;gt; app:  78 79 7A 7B 7C 7D 7E 7F|xyz{|}~.
&amp;lt;info&amp;gt; app:  80 81 82 83 84 85 86 87|........
&amp;lt;info&amp;gt; app:  88 89 8A 8B 8C 8D 8E 8F|........
&amp;lt;info&amp;gt; app:  90 91 92 93 94 95 96 97|........
&amp;lt;info&amp;gt; app:  98 99 9A 9B 9C 9D 9E 9F|........
&amp;lt;info&amp;gt; app:  A0 A1 A2 A3 A4 A5 A6 A7|........
&amp;lt;info&amp;gt; app:  A8 A9 AA AB AC AD AE AF|........
&amp;lt;info&amp;gt; app:  B0 B1 B2 B3 B4 B5 B6 B7|........
&amp;lt;info&amp;gt; app:  B8 B9 BA BB BC BD BE BF|........
&amp;lt;info&amp;gt; app:  C0 C1 C2 C3 C4 C5 C6 C7|........&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290326?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 15:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33764edc-5476-4e4a-8ae5-811dfe32c3ca</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Thank you Vidar,&lt;/p&gt;
&lt;p&gt;How can I use the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__log.html?cp=7_1_6_10_30_30#ga5cd6a091973b5f459618ea53c4e47d4e"&gt;NRF_LOG_PUSH()&lt;/a&gt;&lt;span&gt;&amp;nbsp;with the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrf__log.html?cp=7_5_0_6_11_30_16#ga8b3e3bc44c05013a9fbb27d08acebc9d"&gt;NRF_LOG_HEXDUMP_INFO&lt;/a&gt;?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290291?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bb75072-d4f9-4b86-88a9-a7d3553d1ef5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, I see the payload buffer is placed on stack as well. Please try to use the NRF_LOG_PUSH() macro to move it static memory as explained in the &lt;span class="item"&gt;&lt;a class="" title="Deferred processing" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_nrf_log.html?cp=7_1_3_27_0_1#lib_nrf_log_deferred"&gt;Deferred processing &lt;/a&gt;&lt;/span&gt;&lt;span class="item"&gt;section of the logger module. Although I would have expected NRF_LOG_FLUSH() to have the same effect.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290290?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbfceb79-5306-40a6-9d30-0ebfdb9f0e15</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Hi Vidar and thank you for your support,&lt;/p&gt;
&lt;p&gt;This merely solve the problem.. By increasing the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrf__log__config.html?cp=7_5_0_6_11_30_0_100#gab4ef180f32c4543beae00be4b140f6c1"&gt;NRF_LOG_MSGPOOL_ELEMENT_COUNT&amp;nbsp;&lt;/a&gt;&amp;nbsp;I can print &amp;quot;all&amp;quot; the buffer but some of the data are not get printed as shown below&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611151115176v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is how I call the function&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define read_payload 100
char read_raw_data[read_payload] = {0};

NRF_LOG_HEXDUMP_INFO(read_raw_data,read_payload);
NRF_LOG_FLUSH();&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 - Print an array of hex values using  NRF_LOG_HEXDUMP_INFO</title><link>https://devzone.nordicsemi.com/thread/290252?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 12:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40011b80-3350-444d-9156-82ee2599f772</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Nick,&lt;/p&gt;
&lt;p&gt;Please try to increase the NRF_LOG_MSGPOOL_ELEMENT_COUNT setting in sdk_config.h as Torbjørn suggested in this post: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/66041/nrf_log_hexdump_-raises-data-access-violation-fault-if-a-large-buffer-is-used"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/66041/nrf_log_hexdump_-raises-data-access-violation-fault-if-a-large-buffer-is-used.&amp;nbsp;&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>