Keil™, An ARM® Company

Discussion Forum

Could not stop ARM device?

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

DetailsMessage
Read-Only
Author
li Yu
Posted
4-Aug-2006 15:12
Toolset
ARM
New! Could not stop ARM device?
I am using ULINK to debug the LPC2132 board. They work well for some days. But now a problem appeared. Everytime I want to download code to FLASH, always get"Could not stop ARM device, please check your JTAG cable?" But JTAG can be detect on Option for device. I do not know what is wrong? Thanks in advance for any idea.
Read-Only
Author
li Yu
Posted
4-Aug-2006 16:12
Toolset
ARM
New! RE: Could not stop ARM device?
I just changed to another LPC2132 board, it works well. So it means something worong with trouble board instead of ULINK. The 2132 can be programmed by ISP and can run program when power on. IS the 2132 JTAG port damaged? I donot have idea what action cause it damage. Anyone has experience about it? thanks
Read-Only
Author
erik malund
Posted
4-Aug-2006 16:18
Toolset
ARM
New! RE: Could not stop ARM device?
have no experience with "your board" but have blown a JTAG or two by
1) hotplugging (takes many 'tries' to blow it that way)
2) missing ground between the two 'ends'

Erik
Read-Only
Author
li Yu
Posted
4-Aug-2006 16:34
Toolset
ARM
New! RE: Could not stop ARM device?
And I probe every JTAG pin signal.Only RCLK has nothing happen. RCLK is necessary? thanks
Read-Only
Author
Rene Don
Posted
7-Aug-2006 02:43
Toolset
ARM
New! RE: Could not stop ARM device?

JTAG will not be blown. It is just that the JTAG port can be disabled by "random" instructions in the FLASH for instance after a corrupt FLASH download... :-$

see http://www.keil.com/support/docs/3001.htm

Mess around a bit with the BOOT pins and resetting the device and it will work again.

Read-Only
Author
li Yu
Posted
8-Aug-2006 10:32
Toolset
ARM
New! RE: Could not stop ARM device?

But for LPC2132 device, I donot know how to enable boot pin...thanks for any more ideas...

Read-Only
Author
Rene Don
Posted
9-Aug-2006 01:32
Toolset
ARM
New! RE: Could not stop ARM device?

Disregard my previous answer.

There are however some remarks in the LPC2132 datasheet about the JTAG port. Did you follow them?

Read-Only
Author
li Yu
Posted
10-Aug-2006 11:26
Toolset
ARM
New! RE: Could not stop ARM device?

yes, I think I followed them. Now for the same circuit, one board has this problem and another one can work well with jtag. It looks hard to replace a LPC2132 and I am wondering from where can I buy and get it quickly in canada?

Read-Only
Author
Ed Healy
Posted
11-Aug-2006 08:43
Toolset
ARM
New! RE: Could not stop ARM device?

The following article may help:

http://www.keil.com/support/docs/2993.htm

Read-Only
Author
K K
Posted
11-Aug-2006 16:48
Toolset
ARM
New! RE: Could not stop ARM device?

I get the same error using the Keil Eval board for ST ARM9. It started when I changed the BBADR and NBBADR in the STR91x.s startup file. However after I changed them back, the error was still there.

As suggested by other users (for ARM7) I lowered the Max JTAG Clock to the minimum 5kHz and selected Use Reset at Startup. A reboot did not help either.

The JTAG is getting 3V and there is activity on all JTAG pins when attempting to Download to Flash.

I don't think this is a problem with regards to enabling/disabling the JTAG as there is activity on those pins.

Does anyone have any insight?

Thanks,
KK

Read-Only
Author
K K
Posted
11-Aug-2006 17:33
Toolset
ARM
New! RE: Could not stop ARM device?

I found the solution!
http://www.keil.com/support/docs/3215.htm

The 0.5s to 1.5s is a bit tricky.

But why do I get this error in the first place?

Read-Only
Author
li Yu
Posted
15-Aug-2006 12:02
Toolset
ARM
New! RE: Could not stop ARM device?

Thanks KK, and did you try it and succeed? I tried many times and always failed. Sigh...

Read-Only
Author
Kim Berthelsen
Posted
18-Aug-2006 07:18
Toolset
ARM
New! RE: Could not stop ARM device?

I had the same problem when i got some new 2138's (with them all) and my old one's, based upon 2132 worked fine. I've tried to change max. JTAG clock to 500kHz and it works. And then i changed i back again and it still works. I don't now the reason for this.

Read-Only
Author
K K
Posted
11-Sep-2006 16:53
Toolset
ARM
New! RE: Could not stop ARM device?

Yes originally the method I quoted earlier worked for me. However the problem has come back and I can't fix it. I'll have to take a look at the JTAG disabling thing...

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