Problems Programming Part 2
2004-10-15 by Paul Maddox (Mail LIsts)
Dear all, So, I've done some more trying, used a different USB->Serial converter and the same problem. Then I tried something else, the .hex file that comes with the S1(S2 or S3) example, and guess what, it works perfectly, *EVERY TIME*... Its also very very quick. So I tried again, create a new IAR project, include all the files, change the output type to be intel extended and change the extension to .hex, load the philips programmer, and blam, 1/3 of the way through, it dies.. Whats more, a bit of ferreting around reveals it also locks up the USB->Serial device. I've tried this with both debug and release versions of the output, same result, I can't get code from IAR into the LPC2106! So, there's something wrong with the way that IAR embedded workbench is generating the code. The output files are of a similar size (Iar = 5.7K and the included one is 6.3k) so whats going on? Why should the IAR output file be slower? Why should it crash it? Paul Maddox