arm-elf-insight

Hi

I am trying to FLASH program my LPC2148. I managed to get the script file working and it downloads my .bin file to flash.

When i open up arm-elf-insight ir Connects to target successfully.

Also…what should my .bin file be??? maybe I got it wrong?

What should my GDB file look like? This is what it looks like now:

target remote localhost:3333

monitor reset

monitor sleep 500

monitor poll

monitor soft_reset_halt

monitor arm7_9 sw_bkpts enable

monitor flash probe 0

monitor flash erase 0 0 0

monitor flash write 0 lpc_uart.bin 0x0

monitor sleep 500

when i press RUN it doesnt let me debug!