# Another LPC ISP question

**URL:** <https://community.sparkfun.com/t/another-lpc-isp-question/6357>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [February 1, 2008, 9:23pm UTC](https://community.sparkfun.com/t/another-lpc-isp-question/6357 "2008-02-01T21:23:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgriparis](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@tgriparis](https://community.sparkfun.com/u/tgriparis)\
**Post date:** [February 1, 2008, 9:23pm UTC](https://community.sparkfun.com/t/another-lpc-isp-question/6357/1 "2008-02-01T21:23:08Z")

</div>

Hi all,

I know I am probably missing something trivial but here goes:

I have been using IAR dev board (LPC2103) and IAR Kickstart SW. I am able to download and debug all my code properly using J-Link (JTAG). Then when I configure the compiler to output intel hex files, load them on flash magic, and try to download them on LPC using the serial port, my program does not run. I know flash magic properly connects to the mcu and erases/programms the flash, but loaded program simply does not run.

Do I have to set something in SW? Any programming musts that I am missing? Is it that I need to load my programm on specific flash location?

On a second note, should I be deleting all flash blocks? Will I endup with unusable device if I do so? If I dont delete all flash banks programm does not verify at the end of programming.

Thanks

TG

---

<div class="post-metadata">

**Author:** ![hostman](https://avatars.discourse-cdn.com/v4/letter/h/dc4da7/32.png) [@hostman](https://community.sparkfun.com/u/hostman)\
**Post date:** [February 10, 2008, 6:43pm UTC](https://community.sparkfun.com/t/another-lpc-isp-question/6357/2 "2008-02-10T18:43:26Z")

</div>

Hi,

I was wondering the same thing. (Except I can’t program correctly over JTAG…) Perhaps someone knows?

-Robert

---

<div class="post-metadata">

**Author:** ![leon\_heller](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/leon_heller/32/7602_2.png) [@leon\_heller](https://community.sparkfun.com/u/leon_heller)\
**Post date:** [February 10, 2008, 7:26pm UTC](https://community.sparkfun.com/t/another-lpc-isp-question/6357/3 "2008-02-10T19:26:40Z")

</div>

With the CrossWorks tools a special build option is required to create a ‘release’ file that will start from reset. You probably need something like that.

Leon
