LPC flash utility vs.Jtag program differences

Hi,

I can program my lpc2148 with JTAG (using flash debug, it is programmed).

THe code runs as it should. If I create a hex file, and flash it using LPC flash utility, it does not act the same. Seems I need cspy selected to compile properly, since my code needs printf’s even in non debug mode.

FYI I use IAR 4.30.

If I program with Jtag, then read the hex, and ISP a different board with that hex, it does work.

I have tried many formats, mainly intel-extended, 32bit linear variant, seems I just don’t have some hex creation setting right.

Any ideas?

Thanks,

Steve