Discussion Forum

Re-programming through JTAG fails the 1st try, works the 2nd try

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
MM Perry
Posted
17-Dec-2007 15:11 GMT
Toolset
ARM
New! Re-programming through JTAG fails the 1st try, works the 2nd try

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?

Read-Only
Author
Per Westermark
Posted
17-Dec-2007 15:31 GMT
Toolset
ARM
New! RE: Re-programming through JTAG fails the 1st try, works the 2nd try

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.

Read-Only
Author
MM Perry
Posted
17-Dec-2007 16:17 GMT
Toolset
ARM
New! RE: Re-programming through JTAG fails the 1st try, works the 2nd try

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?

Read-Only
Author
Reinhard Keil
Posted
17-Dec-2007 16:34 GMT
Toolset
ARM
New! RE: Re-programming through JTAG fails the 1st try, works the 2nd try

The Reset logic might be actually your problem.
See: http://www.keil.com/support/docs/3375.htm

Next Thread | Thread List | Previous Thread Start a Thread | Settings