Programming the LPC1115 is not an easy thing if you're a beginner, mainly because it's not that easy to find tutorials.
Ladyada came to the rescue with this here. Unfortunately this example uses an Atmel chip.
I found another good writeup that got me going here.
Here's a working raspi bit banger openocd config file that put together from these 2 articles
LPCXpresso builds .afx files to convert i do the followingsource [find interface/raspberrypi2-native.cfg]
transport select swd
# LPC1115 LPCXpresso Target
# Use LPC1115 target
set WORKAREASIZE 0x4000
source [find target/lpc11xx.cfg]
adapter_nsrst_delay 100
adapter_nsrst_assert_width 100
init
targets
reset halt
flash probe 0
flash write_image erase blinky.bin 0x00000000
reset
shutdown
Code: Alles auswählen
arm-none-eabi-objcopy -O binary nxp_lpcxpresso_11c24_periph_blinky.axf blinky.bin
Code: Alles auswählen
arm-none-eabi-objcopy -I ihex -O binary ft1_2-1.11.hex ft1_2-1.11.bin
Code: Alles auswählen
sudo openocd -f openocd.cfg
Ich hoffe das hilft.