--- In l..., "dreeker" wrote:
>
> Hi all,
>
> We have some problems starting up our project with a LPC2364. We use
> the IAR compiler. When starting the debugger the flash does not
> program. To do so we need to enable "use flash loader" (we use the
> default). When starting the debugger the flash is programmed but at the
> end of the programming we get the message "bad jtag connection" and we
> loose contact with the targetboard. Next, we have to stop the debugger,
> uncheck "use flash loader" and restart the debugger to be able to step
> through our programm. Can anybody tell me what we are doing wrong or
> what we should change? Thanks in advance.
>
> Greetings,
> Dreeke
>
May be a stupid question but are you using something like a USB to
JTAG device (like the yellow J-Link or the black J-Link?
If yes, what is your other hardware, is it the IAR starter Kit or..?
If no, that would explain your error message
You can also try Flash Magic for Flash download via serial port.
Bob