HI Sreenath P V
the out-of-factory LPCXpesso54628 demo board has CMSIS-DAP debug firmware, if it is corrupt during using, we can only use LPCScrypt to update it to CMSIS-DAP or Segger Jlink interface, which can support Linux system.
Please download LPCScrypt here:
LPCScrypt v2.1.0 | NXP
with NXP MCUXpresso IDE, the project can generate a elf file after a successful build. click on debug button, the elf file can be downloaded to Flash during launch.
Have a nice day,
Jennie