I need to program the on-chip flash of LPC1313FBD48/01 device. I have connected the SWCLK and the SWDIO pins to the debug connector. The UART interface is connected to some other peripheral. I have some queries regarding the same:
Is it necessary to use ISP or IAP modes to program the flash or can it be done without that?
Also, if ISP mode is to be used, how is the UART interface to be used for this purpose?
Thanks and Regards,
If you have connected up the SWD signals, then you could debug using LPCXpresso IDE (or MCUXpresso IDE) plus a debug probe - such as LPC-Link2 : LPC-Link2|NXP
To make sure you have implement appropriate debug/reset circuitry, you might also want to check out the FAQ : Design Considerations for Debug
If you want to program using ISP, then you will probably want to look at a utility such as FlashMagic : Flash Magic - Welcome (external site).