This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there a way to disable the SEGGER J-LINK OB support on the nRF52 DK while preserving UART communication?

Hello,

We are using an nRF52 DK as part of our QC process to send test commands to one of our devices and record responses. However, I think that the people running the tests are accidently re-programming the nRF52 DK board with some other firmware - probably while trying to use a real SEGGER-JLINK to reprogram some other device.

Is there a way to disable the SEGGER Jlink support so that the nRF52 DK will stop acting like a SEGGER-JLINK?

I saw this post

https://devzone.nordicsemi.com/f/nordic-q-a/41638/disable-segger-j-link-ob-debugger/162031#162031

But that will not work for us. We still need to be able to communicate with the nRF52DK overt UART, so I don't think we can completely disable the MCU.

It looks like cutting jumpers SB20 and SB21 will cut off the SWDIO and SWDCLK lines from the MCU. That seems ok, but not perfect. I guess it would prevent the board from being reprogrammed, but the board would still look like a SEGGER J-LINK, so the people running the tests might still get confused.

I know that it is possible to disable the mass storage device feature using the msddisable command, is there some command that we can send the MCU to disable the SEGGER-JLINK support?

thanks!

  • Hi

    I'm afraid I don't have any better suggestion than to cut SB20 and SB21 to stop the onboard nRF52832 from being reprogrammed. SEGGER provides the Interface MCU firmware, so we don't have any information on modifying it, and would not recommend doing so. When a J-Link device is connected it will have the ID printed on the board, so just paying attention to what J-Link device they're trying to flash is my best suggestion.

    I guess it's possible to flash the Interface MCU with firmware that makes it function strictly as a serial port, but you would have to ask SEGGER for help to do so.

    Best regards,

    Simon

Related