# IAPy: NXP IAP Python module for GDB The purpose of this module is to patch in manual calls to the NXP IAP via GDB, for when your programming adapter of choice will for whatever reason not cooperate. Currently only sector erasing or calling the IAP directly is implemented. It is highly recommended to overfeed the watchdog and set the system clock to something stable like the FRO. Good luck, you'll need it. ## How to use ```gdb # load IAPy source iapy.py # erase sectors py iap_flash_sector_erase(0, 3) # load image as usual load ``` # Credits - [LPC54113 programming via OpenOCD](https://www.dlbeer.co.nz/articles/lpc54113_openocd/index.html) by Daniel Beer