<?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>nrf52832_xxAB secure bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83831/nrf52832_xxab-secure-bootloader</link><description>Hello everyone, 
 Because of problem with availability we were forced to change our ready-for-production project from nRF52832_xxAA to nRF52832_xxAB which has 2x less FLASH and RAM memory. From application point of view it wasn&amp;#39;t a problem - we easily</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jan 2022 07:54:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83831/nrf52832_xxab-secure-bootloader" /><item><title>RE: nrf52832_xxAB secure bootloader</title><link>https://devzone.nordicsemi.com/thread/348631?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 07:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89574b43-c194-46f1-a6fc-916f65fd6ae2</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I have found the issue, the problem was that my Makefile had the following definitions:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;...
CFLAGS += -DNRF52
CFLAGS += -DNRF52832_XXAB
...

...
ASMFLAGS += -DNRF52
ASMFLAGS += -DNRF52832_XXAB
...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But it came out that &lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk&lt;/span&gt;/nrf.h &lt;/span&gt;has the following statement:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* Redefine &amp;quot;old&amp;quot; too-generic name NRF52 to NRF52832_XXAA to keep backwards compatibility. */
#if defined (NRF52)
    #ifndef NRF52832_XXAA
        #define NRF52832_XXAA
    #endif
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;which caused that patch for bootloader didn&amp;#39;t work and still took definitions for nRF52832_XXAA processor.&lt;/p&gt;
&lt;p&gt;Removing `NRF52` definition from CFLAGS and ASMFLAGS solved the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>