Hello, @Parth_911 .
I had a quick look at the example from 2.6.16 JN5189 SDK. For reference, from the release notes, the recommended IDE is MCUXpresso 11.10.0, but I've checked also on v24.12 [Build 148] [2025-01-10] and I can build and flash the binary fine.
Because of limited availability of JN5189 USB dongle, I'm using a JN5189 on a DK6 v3 EVK, see attached image:

I've checked the schematic and I can confirm that the UART is routed on the same pins for the DK6 and for the USB (PIO8 and PIO9), so the binary is compatible. Attaching the used binary.
I've checked with dk6prog on Windows and I can paste the output:
C:\Users\user>dk6prog listdev
This is an experimental utility. Use with caution!
List of available devices:
DEVICE ID: 0, VID: N/A, PID: N/A, Serial number: b'DN038ZGD', Description: b'DK6 Carrier Board', Address: 67330069, Backend: Backend.FTD2xx
C:\Users\user>dk6prog -d 0 info
This is an experimental utility. Use with caution!
Chip ID: 0x88888888
ROM Version: 0x0
MAC Address: 82:76:A7:04:00:8D:15:00
Detected DEVICE: JN5189
Memory Memory ID Base Address Length Sector Size Memory Type Access
----------------------------------------------------------------------------------------------
FLASH 0 0x0 0x9de00 0x200 FLASH All is available
PSECT 1 0x0 0x1e0 0x10 FLASH All is available
pFLASH 2 0x0 0x1e0 0x10 FLASH All is available
Config 3 0x9fc00 0x200 0x200 FLASH All is available
EFUSE 4 0x0 0x80 0x2 EFUSE (OTP) Write Enabled
ROM 5 0x3000000 0x20000 0x1 ROM Write Enabled
RAM0 6 0x4000000 0x16000 0x1 RAM Write Enabled
RAM1 7 0x4020000 0x10000 0x1 RAM Write Enabled
C:\Users\user>
C:\Users\user>dk6prog -d 0 erase 0 0x9de00
This is an experimental utility. Use with caution!
Erasing memory [####################################] 100%
C:\Users\user>dk6prog -d 0 write 0 C:\Users\user\Documents\MCUXpressoIDE_24.12.148\workspace\jn5189dk6_zigbee_coordinator_bm\Debug\jn5189dk6_zigbee_coordinator_bm.bin
This is an experimental utility. Use with caution!
Writing memory [####################################] 100%
Written 197152 bytes to memory ID 0 at address 0x0
C:\Users\user>
After this procedure, I can open a serial terminal like MobaXterm and I can see the output:
Unkown serial command
Commands Supported
******************
toggle - sends on\off toggle command
steer - opens permit join window
form - forms the network
find - makes a binding on a target which is identifying
factory reset - clears all data and starts afresh
soft reset - retains network configuration but resets the node
Unkown serial command
Commands Supported
******************
toggle - sends on\off toggle command
steer - opens permit join window
form - forms the network
find - makes a binding on a target which is identifying
factory reset - clears all data and starts afresh
soft reset - retains network configuration but resets the node
Unkown serial command
Commands Supported
******************
toggle - sends on\off toggle command
steer - opens permit join window
form - forms the network
find - makes a binding on a target which is identifying
factory reset - clears all data and starts afresh
soft reset - retains network configuration but resets the node
Can you please check on your side with the commands and the binary I provided?
BR,
Mihai