<?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>LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80030/location-of-nr51_erratas-h</link><description>Hello again Nordic World, 
 We have been using a couple of the Nordic dev boards (PCA10028, PCA10040) as uart central devices in our test system for a while and have just recently run into a problem. I inadvertently overwrote their programming with our</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Oct 2021 07:41:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80030/location-of-nr51_erratas-h" /><item><title>RE: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/332488?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 07:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0c20a03-3202-43ba-bebd-0d97bda7e044</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1&lt;/p&gt;
&lt;p&gt;a) You should also be able to flash the SoftDevice onto the board as long as you erase it between writes. Can you post what exactly the &amp;quot;download failed&amp;quot; error says?&lt;/p&gt;
&lt;p&gt;b) Yes, erratas.h files should be included.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;The erratas.h file won&amp;#39;t&amp;nbsp;be included in the SDK at all. It is part of the Device family pack in Keil, and not in the SDK.&lt;/p&gt;
&lt;p&gt;b) The No such file or directory is caused by the nrf51_erratas.h header not being found for example. Any other errors you need an explanation for?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/332016?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 18:41:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf1a452-8d52-49e1-9df6-c523f500afc2</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hello again Simonr,&lt;/p&gt;
&lt;p&gt;It seems that I have confused you more than clarify my questions.&amp;nbsp; So let me try again.&lt;/p&gt;
&lt;p&gt;1a.) This problem began when I was trying to reprogram 10028 and 10040 boards that I had inadvertently corrupted with the wrong code.&amp;nbsp; In the process of trying to correct, I was unable to download the SD to either board.&amp;nbsp; Non-descriptive error messages stating that either the erase or the download failed occurred.&amp;nbsp; Those messages ending in the phrases &amp;quot;... Cortex M0&amp;quot;, or &amp;quot;... Cortex M4&amp;quot; depending, of course, on which board I was attempting to reprogram.&amp;nbsp; I found I can download SD&amp;#39;s, but only after an nrfjprog --recover.&amp;nbsp; However, subsequent SD download attempt will fail if not proceeded by another nrfjprog --recover.&amp;nbsp; So the fundamental questions;. Is this normal, is the SD protected from erasure on these boards? Or is there something wrong with my projects for these boards that is causing these errors?&lt;/p&gt;
&lt;p&gt;1b.) ...protected from errant code generation when proceeding to newer Nordic devices and SDK&amp;#39;s.&lt;/p&gt;
&lt;p&gt;2.) Both the working and non-working SDK folders sit at the same directory level.&amp;nbsp; The only difference is when they were downloaded and installed on my computer, and perhaps the version of Keil that was installed at those times. Why would one include the erratas, and one not?&amp;nbsp; Why would one exhibit the error/warning posted above, and one not?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2a) Thank you for this I will run it by Arm/Keil support.&lt;/p&gt;
&lt;p&gt;2b) ie what would be causing the above posted error and warning, missing files, or errant code in Arm provided files?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Robin @ T L&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/331848?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 08:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7625b30-96c7-4767-a3c3-66079a8092dd</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;a) Can you specify what you mean about erasure protection of the SoftDevice?&lt;/p&gt;
&lt;p&gt;b) You should indeed include the erratas.h file in your project. Not sure what you refer to the project being protected from.&lt;/p&gt;
&lt;p&gt;2. What is the difference between the &amp;quot;working&amp;quot; SDK path and the non-working one? If the non-working SDK is located further &amp;quot;down&amp;quot; the path than the working one, can you try moving it closer to the root (C:\ or D:\).&lt;/p&gt;
&lt;p&gt;a) I guess the MDK will need to check that the system_nrfxx.c file is supported by the SDK version used.&lt;/p&gt;
&lt;p&gt;b) This I&amp;#39;m not sure about unfortunately.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/331778?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 16:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b46b2ae-9e3e-459d-915c-5a38e5e8e908</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hello again Simonr,&lt;/p&gt;
&lt;p&gt;First of all, I recognize where the blame lies here, but need Nordic info to help resolve the issue correctly.&amp;nbsp; So, thank you again for your continued support.&amp;nbsp; I have Keil support work things from there end as well.&amp;nbsp; That said, let me rephrase, and reprioritize these questions a bit:&lt;/p&gt;
&lt;p&gt;1.) I have an SDK that seem to be working fine, but for the issue of subsequent downloads of the SD.&amp;nbsp; It does not call out the erratas.h file. So:&lt;/p&gt;
&lt;p&gt;a.) Is the issue of failed subsequent SD downloads normal due to some such feature as erasure protection?&lt;/p&gt;
&lt;p&gt;b.) Would my project be better protected if I were to update it to include the erratas?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.) The error and warning are posted above in my original post.&amp;nbsp; I believe the system_nrf51.c file in my &amp;quot;working&amp;quot; SDK path come from within that path, not the path you suggested.&lt;/p&gt;
&lt;p&gt;a.) What can I suggest to Arm/Keil support to correct this bug in their MDK install?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;b.) Is this just a pathing issue, or is there errant content in one or more of their provided source files?&lt;/p&gt;
&lt;p&gt;I hope this helps clarify what I need to insure my project is best configured for our next upgrade to a later Nordic device and SDK.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Robin @ TL&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: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/331451?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 08:54:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0110748-7f69-4551-8db7-e690f6191ed8</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, this should apply for the nRF51 as well, but you need to find the system_nrf51.c file instead of nrf52 for the device family pack you&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;It is not an issue that we at Nordic can resolve I&amp;#39;m afraid, as it is a bug in the MDK, specific to newer MDKs in the Keil IDE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What error/warning are you seeing with the SoftDevice? In Keil, you will need to flash the SoftDevice onto the board separately, and then the application onto the board afterwards.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/331363?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 14:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eea6ce7-b448-455d-9e69-0ec34d779950</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;The device is an NRF51.&amp;nbsp; Does the solution using the NRF52 pack still apply?&lt;/p&gt;
&lt;p&gt;Interesting fact though, the my original project does not call for the erratas include file at all.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can this be explained?&amp;nbsp; Same SDK (12.3.0), bit no callout of that file in any project file, and it builds, loads and runs perfectly, with the exception of the failing subsequent load of the SD, which is another question I need answered.&amp;nbsp; Is this normal operations Nordic Development Boards?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What about the above warning?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And finally, why all this only with a recently downloaded virgin SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LOCATION OF NR51_ERRATAS.H</title><link>https://devzone.nordicsemi.com/thread/331333?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 13:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c2b6d6-4a27-4ae5-bcd7-57d95d4c9b65</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Robin&lt;/p&gt;
&lt;p&gt;The nrfxx_erratas.h files should be located in&amp;nbsp;&lt;strong&gt;C:\Users\_USERNAME_\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.xx.x\Device\Include\&lt;/strong&gt;. In the past, this error has been caused by a bug of MDK-ARM. The MDK always copies &amp;#39;system_nrf5x.c&amp;#39; from the latest software pack, so even though you select the supported version it might try to use the newer one. One solution is to replace&amp;nbsp;&lt;strong&gt;RTE\Device\nRF52832_xxAA\system_nrf52.c&amp;nbsp;&lt;/strong&gt;using the system_nrf52.c file from the Software pack (Devicefamily pack) that the SDK you&amp;#39;re using supports.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>