Hello,
I am a junior developer currently working with the nRF52840. I have been developing and debugging successfully using the nRF52840 Evaluation Kit (DK) without any issues. However, I am now facing significant problems while trying to flash the firmware onto our company's newly developed custom board, which uses the same nRF52840 chip (PAN1770 module).
When I attempt to debug or download the firmware using SES on the custom board, it consistently fails with the following errors:

I have tried nrfjprog --recover, but the same "RAMCode failed" error recurs during the next download attempt.
Could you please provide guidance on what I should check? Are there any specific hardware or software configurations I might be missing for this custom board setup?
Thank you for your help.
Interestingly, when I use the nRF Connect Programmer app, it reports that the "Write" process was successful. However, despite the "Success" message, the code does not actually execute on the custom board.
In contrast, both the Terminal (nrfjprog) and Segger Embedded Studio consistently report a failure (RAMCode verification error).
For the custom board testing, I am intentionally using a minimalist, peripheral-only firmware that simply toggles a GPIO.(Based on the SDK's peripheral/blinky example)
Environment:
-
Device: nRF52840 (PAN1770 Module)
-
IDE: Segger Embedded Studio (SES) v7.32a