Hi @yousefdessouki123
Based on the information provided, I understand that you are currently connecting the J-Link to the pin header marked with a purple rectangle in the image. This header is connected to the MK20 microcontroller running the OpenSDA firmware.
To flash the target MCU, you should instead connect the external debugger to the pin header marked with a blue rectangle in the image.
