Hi,
I am running Segger Embedded Studio (4.10a) to get used to the Nordic DK for the nRF52840. Now I have found, that the register display seems not to be able to show some of the SFRs. For example, if I activate the UICR group, I get the following registers: UNUSED0, UNUSED1, UNUSED2, UNUSED3, APPROTECT, NFCPINS, DEBUGCTRL and REGOUT0. But there are a lot more registers according the the manual, all missing registers are arrays:
NRFFW[0]-NRFFW[14], NRFHW[0]-NRFHW[11], CUSTOMER[0]-CUSTOMER[31] and PSELRESET[0]-PSELRESET[1]. The same applies to other SFR groups.
I have checked for the missing registers in the nrf52840.svd file which is part of the SDK 15.2.0 provided by Nordic, and found for example this entry:
<register>
<dim>0xF</dim>
<dimIncrement>0x4</dimIncrement>
<name>NRFFW[%s]</name>
<description>Description collection[n]: Reserved for Nordic firmware design</description>
<addressOffset>0x014</addressOffset>
<access>read-write</access>
<resetValue>0xFFFFFFFF</resetValue>
<fields>
<field>
<name>NRFFW</name>
<description>Reserved for Nordic firmware design</description>
<lsb>0</lsb>
<msb>31</msb>
</field>
</fields>
</register>
Since I don't know the syntax required for register arrays, I cannot know if this entry is correct and the SES has a bug here or if the register description is in error and how to fix it.
Regards
Dirk
I am running Segger Embedded Studio (4.10a) to get used to the Nordic DK for the nRF52840. Now I have found, that the register display seems not to be able to show some of the SFRs. For example, if I activate the UICR group, I get the following registers: UNUSED0, UNUSED1, UNUSED2, UNUSED3, APPROTECT, NFCPINS, DEBUGCTRL and REGOUT0. But there are a lot more registers according the the manual, all missing registers are arrays:
NRFFW[0]-NRFFW[14], NRFHW[0]-NRFHW[11], CUSTOMER[0]-CUSTOMER[31] and PSELRESET[0]-PSELRESET[1]. The same applies to other SFR groups.
I have checked for the missing registers in the nrf52840.svd file which is part of the SDK 15.2.0 provided by Nordic, and found for example this entry:
<register>
<dim>0xF</dim>
<dimIncrement>0x4</dimIncrement>
<name>NRFFW[%s]</name>
<description>Description collection[n]: Reserved for Nordic firmware design</description>
<addressOffset>0x014</addressOffset>
<access>read-write</access>
<resetValue>0xFFFFFFFF</resetValue>
<fields>
<field>
<name>NRFFW</name>
<description>Reserved for Nordic firmware design</description>
<lsb>0</lsb>
<msb>31</msb>
</field>
</fields>
</register>
Since I don't know the syntax required for register arrays, I cannot know if this entry is correct and the SES has a bug here or if the register description is in error and how to fix it.
Regards
Dirk
The post was edited 1 time, last by dzabel: Added SDK version number ().