With an ARM core already programmed, trying to re-program through JTAG using UV2 and a command line. The 1st pass always fails and returns 'Can't stop ARM'. Try again and it always works.
Preferably I'd like it to work on the first try, but if not, at least disable the error messages from coming up. This is a production environment and the oeprators have to acknowledge two error messages each time.
Are there command line options to suppress the error messages, or options in the project file that will do this?
Do you have a real reset chip, or do you reset the processor with a cheap but badly working RC delay? An RC delay doesn't play nice with the JTAG interface.
The JTAG reset is through the ULINK2.
Chip reset is through a 7414 with 1nF to gnd.
The error message is 'Flash Timeout'.
Before calling UV2 what state should the uP be in?
The Reset logic might be actually your problem. See: http://www.keil.com/support/docs/3375.htm