i am using vs code for programing and flashing the code.
I have previously run all led blinking code, printing code in serial monitor given by nordic academy then board inbuilt led`s were blinking and successfully printing on com port as per code written. the last code i performed in nrf52840 dk board successfully was uart communication code (https://github.com/NordicDeveloperAcademy/ncs-fund/blob/main/v2.x.x/lesson5/fund_less5_exer1_solution/src/main.c) for that the physical connection was:-
nrf52840 dk USB_to_serial
po.06 RX
po.08 TX
Po.00 GND
As nrf52840 dk has two uart interface uart0 and uart1 that`s why i just wanted to check that uart1 is also working or not so to do that i just replaced uart1 in place of uart0. for referance i have attached below image also.
and flashed the program in board but led`s were not blinking on sending 0,1,2,3from uart interface (USB_to_serial interface).
[ here i have done one wrong thing that i didn`t change the physical pin connection for uart1]
to confirm that is there any thing wrong with that code , i ran the simple led blinking code ( which was from nordic academy ) but nothing was happening .
so i uploaded other sample code but in response nothing was happening.
so the problem is that code is uploading successfully but not executing . i don`t why this happening , is it stuck in any mode.
( link for code which i used all of them were fro here https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x).