>>Or is there any other software or tool available to do it ?
NXP offers the unlimited/free-of-charge Eclipse based MUXpresso IDE (MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE) | NXP ) which has such a memory export function, e.g. as binary or S-19 file:
That works with every supported debug interface (LPC-Link, P&E, SEGGER).
If you need the Intel Hex format, you can convert the S19 into that format.
I hope this helps,
Erich
Can i use this file to program another LPC1788 ?
yes, see Using Eclipse to Program Binary Files to an Embedded Target | MCU on Eclipse
I hope this helps,
Erich