<?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>Peripheral Registers Not Visible in Keil Debug Session (NRF52840)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128729/peripheral-registers-not-visible-in-keil-debug-session-nrf52840</link><description>Hi Nordic Support, 
 I am facing an issue where the peripheral registers are not visible in the Keil debugger during a debug session. Only the core registers are available, and I am unable to access peripheral registers through the System Viewer. 
 Development</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jul 2026 12:03:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128729/peripheral-registers-not-visible-in-keil-debug-session-nrf52840" /><item><title>RE: Peripheral Registers Not Visible in Keil Debug Session (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/569456?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2026 12:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9162d7e5-efb0-4768-ab6a-caebdbdfefa6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Rani&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re new to the Nordic development scene, I would strongly advice against using the nRF5 SDK and Keil, as the SDK supporting Keil at this point is very old and only in maintenance mode, with no new features being planned. Is there a specific reason you&amp;#39;re using Keil and the nRF5 SDK for development? See the post here for details:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For new designs and especially engineers new to the Nordic scene, we strongly recommend starting out with the nRF Connect SDK, which is the stable and up to date version we recommend for development. We have great introductory courses and documentation available to get you started with it.&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;&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: Peripheral Registers Not Visible in Keil Debug Session (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/569267?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2026 05:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36144293-e562-433c-a4e5-f3d6439fda3f</guid><dc:creator>Rani0</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to Nordic development and this is my first time using an nRF52840 with Keil MDK. I can see the CPU registers (R0&amp;ndash;R15, xPSR, etc.) and the Core Peripherals in the Registers window, but I cannot see the nRF52840 peripheral registers (GPIO, SPIM, TIMER, UARTE, SAADC, etc.) in the System Viewer.&lt;/p&gt;
&lt;p&gt;My setup:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;/span&gt;MCU: nRF52840_xxAA&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;/span&gt;IDE: Keil &amp;mu;Vision 5.43.1&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;/span&gt;Debugger: J-Link&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;/span&gt;Nordic Device Family Pack: 8.44.1 (also tested 8.40)&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;/span&gt;ARM CMSIS Pack: 5.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I verified that the &lt;span&gt;nrf52840.svd&lt;/span&gt;&amp;nbsp;file is present in the Nordic Device Family Pack, and I also tried loading the SVD manually through &lt;strong&gt;&lt;b&gt;&lt;span&gt;View &amp;rarr; System Viewer&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;, but only Core Peripherals are shown.&lt;/p&gt;
&lt;p&gt;The same example project works correctly in Segger Embedded Studio, where I can view all peripheral registers without any issues.&lt;/p&gt;
&lt;p&gt;Has anyone seen this issue with recent Keil/Nordic pack versions? Is there any additional configuration required to make the nRF52840 peripheral registers appear in the debugger?&lt;/p&gt;
&lt;p&gt;Thanks in advance for any guidance. I&amp;#39;m still getting familiar with the Nordic/Keil environment.&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Registers Not Visible in Keil Debug Session (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/569206?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2026 13:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96226d0c-84f0-4e0a-9cbb-9602b934b33f</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For Keil, the MDK is installed through the use of Packs. If you are able to build an SDK sample for the nRF52840, then you should most likely already have the correct Pack installed for the nRF52840. Otherwise the build is expected to fail, or at least you should have gotten an error or warning when opening the project. Please double check still that the packs are installed and updated, and/or that you are able to install/update, before you try again. Please also check that you have a valid Keil License (otherwise some functionality is not available.)&lt;/p&gt;
&lt;p&gt;Unfortunately, I was unable to check today in Keil uVision whether or not I could reproduce what you see. If needed, this is hopefully something we can check in our end next week. Let us know if you still do not manage to make it work.&lt;/p&gt;
&lt;p&gt;Have you previously seen the peripheral registers in the Keil debugger, with an nRF5 SDK project and an nRF device? Or, is this the first time you do this with an nRF device?&lt;/p&gt;
&lt;p&gt;Please note that if you are working on a new project, our recommendation is to use the new nRF Connect SDK, rather than the older and now in maintenance mode nRF5 SDK. For details, please se our&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;. To be honest, the last time I debugged a project in Keil is so long ago I cannot remember how peripheral registers were accessed, if at all.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Registers Not Visible in Keil Debug Session (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/569194?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2026 11:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65a4f5f1-adca-43b1-9074-73d50584d162</guid><dc:creator>Kristian R</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know for the nRF5 SDK, but for the NCS (zephyr-based) installation, the SVD file exists in e.g.:&lt;br /&gt;&lt;span style="white-space:pre;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre;"&gt;/opt/nordic/ncs/v3.4.0/modules/hal/nordic/nrfx/bsp/stable/mdk/nrf52840.svd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre;"&gt;You could take a look at this file: &lt;a id="" href="https://github.com/nrfconnect/sdk-hal_nordic/blob/main/nrfx/mdk/nrf52840.svd"&gt;https://github.com/nrfconnect/sdk-hal_nordic/blob/main/nrfx/mdk/nrf52840.svd&lt;/a&gt; , &lt;br /&gt;I believe it is the same.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Kristian from the VSCode extension developer team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>