This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Very limited write access through EmbSys Registers

I am using the EmbSys Registers Eclipse plug-in to view the nRF51822 register values. The majority of the registers allow read only. Why isn't the access set up so that more of the registers can be written to through EmbSys Registers UI? For example, I can't set a pin through GPIO->OUTSET because access is RO. Why isn't access RW?

Parents
  • Hi, I haven't noticed this before, but now I am seeing the same. I think it must be a format issue as Aryan mentioned. Same file is used by Keil, and the peripherals does not have the same restrictions there.

    I'm not sure whether this is a problem with the embsys plug-in or the SVD file. However, I tried to use the The Peripherals view included in the GNU ARM Eclipse plug-in. With this I was able to write to set the GPIO registers through the debugger.

    First step to to enable peripheral view is to install the packs manager. Then add the Nordic device family pack. This adds the 'Device' tab in the project settings where you can choose your Nordic chip variant.

    The peripheral view will be enabled on subsequent debug sessions as long as the device type is defined.

    image description

    Thanks for reporting this! I will include in the tutorial.

Reply
  • Hi, I haven't noticed this before, but now I am seeing the same. I think it must be a format issue as Aryan mentioned. Same file is used by Keil, and the peripherals does not have the same restrictions there.

    I'm not sure whether this is a problem with the embsys plug-in or the SVD file. However, I tried to use the The Peripherals view included in the GNU ARM Eclipse plug-in. With this I was able to write to set the GPIO registers through the debugger.

    First step to to enable peripheral view is to install the packs manager. Then add the Nordic device family pack. This adds the 'Device' tab in the project settings where you can choose your Nordic chip variant.

    The peripheral view will be enabled on subsequent debug sessions as long as the device type is defined.

    image description

    Thanks for reporting this! I will include in the tutorial.

Children
Related