I initially tried Segger Embedded Studio for ARM and I clicked on connect to J link device, an error occured. I wasn't sure at that time. Then I used the nRF CONNECT for desktop. The device was getting detecting, so I tried to flash a sample program for blinking the peripheral LED. Again it was showing error. Then I tried using JLINK commander, but it was also not able to connect to the device. I tried to see the problem by giving the output to chatgpt. It is saying that the SoC is locked and I should unsecure it. I tried it but I can't unsecure it. I don't know where I am wrong.


One time I tried to flash the LED blink program through nRF connect app. I kept pressing on the reset button and I saw something flashing in the chip, even though it showed error in the connect app. The LED1 on the peripheral actually started blinking that time. I again tried to flash another program, then the written program got erased and the new program wasn't flashed. A day later, I tried to connect the usb cable to the nRF52833 side. When I used to connect it like that, the LED1, 2, 3 and 4 used to turn on when the respective button was pressed. Now when I connect on that side, the LEDs are not turning on anymore. It happened after the program got flashed.
It is showing error. Do I have to download anything?
