[SOLVED] Could not read memory EFR32BG22CxxxF352

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Could not read memory EFR32BG22CxxxF352

    Good afternoon,

    I have been working with a BGM111 and JLink Commander for a couple of years now successfully but now that I am moving to BGM220 I am facing some trouble that I can`t help to understand.

    With an out of the box BGM111 I am able to connect to the microprocessor using device "EFR32BG1xxxxF256" and before running any programming command I check the MSC_STATUS (0x400E001C) register in order to ensure that the memory subsystem controller is not busy. Similarly, with an out of the box BGM220 I am able to connect to the microprocessor using device "EFR32BG22CxxxF352" but when it comes the time to read the MSC_REGISTER (0x4003001C) to ensure I can continue with programming commands I get a "Could not read memory" message. In that same session I am able to read flash or RAM memory without any trouble. But it is impossible to read that registers value.

    What I have already tried and did not work:
    • Use device "CORTEX-M33" instead of "EFR32BG22CxxxF352".
    • Update to version 7.66f (I usually work with 6.82c)
    • Use device "BGM220PC22WGA" (in version 7.66f) instead of "EFR32BG22CxxxF352".
    Is there something I am doing wrong or missing?

    I would really appreciate if you could help me.

    Thanks in advanced.

    Josu
  • For anyone interested on this issue I was able to solve the problem.

    It looks like in this model the clock must be enabled in order to be able to read these registers.

    To enable the clock write 1 in bit 17 of CMU_CLKEN1 register.
  • Hi Josu,
    Good to hear that you were able to solve this problem.

    Thank you for sharing your solution.

    BR
    Fabian
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.