JLink read for new NRF52832 REV3 xxAA board

Hi~ I have a new NRF52832 REV3 xxAA board, and I need to read its SRAM value. However, when I use the JLink command to read it, I get 0. I have tried recover and eraseall, and still get 0. What should i do to obtain a normal bin file ?

Parents
  • Hi,

    Revision 3 of the DK use nRF5340 as onboard debugger. This should not matter in this case. However, it also uses revision 3 of the nRF52832, which was introduced with revision 2.2.0 of the DK. This has a difference that may be relevant here, as it has an improved access port protection where debugger access is blocked by default. If you are attempting to read the memory of a device with debugger access blocked you will have to do a full chip erase (including a SRAM erase) in order to disable debugger access. Could that be what has happened here? If not, perhaps you can describe in detail what you do so that I can attempt to reproduce on my end?

Reply
  • Hi,

    Revision 3 of the DK use nRF5340 as onboard debugger. This should not matter in this case. However, it also uses revision 3 of the nRF52832, which was introduced with revision 2.2.0 of the DK. This has a difference that may be relevant here, as it has an improved access port protection where debugger access is blocked by default. If you are attempting to read the memory of a device with debugger access blocked you will have to do a full chip erase (including a SRAM erase) in order to disable debugger access. Could that be what has happened here? If not, perhaps you can describe in detail what you do so that I can attempt to reproduce on my end?

Children
Related