<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Help: Could not stop ARM device!</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23426/help-could-not-stop-arm-device</link><description> 
Hello, 

 
I am facing a problem with the ULINK. 

 
I have my board with a custom made Soc with ARM7TDMI-S core. I
want to use the ULINK tool along with the keil debugger. When I
connect my device to the ulink and try to enter the debug mode it
gives</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Help: Could not stop ARM device!</title><link>https://community.arm.com/thread/114582?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2009 11:37:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dcdd6065-3ffc-4437-88ab-14866f584007</guid><dc:creator>Drew Blank</dc:creator><description>&lt;p&gt;&lt;p&gt;
I&amp;#39;m sorry, the &amp;quot;update target before debugging&amp;quot; check box under
Utilities is what tells the IDE to Flash your device when starting
the debugger.&lt;/p&gt;

&lt;p&gt;
The Load Application at Startup option loads the debug
information.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help: Could not stop ARM device!</title><link>https://community.arm.com/thread/101518?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2009 07:30:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6b71bed5-3fae-4197-ab91-03ee5c099f90</guid><dc:creator>Drew Blank</dc:creator><description>&lt;p&gt;&lt;p&gt;
Have you tried un-checking the Load Application at Startup box in
the &amp;quot;Options for Target -&amp;gt; Debug&amp;quot; tab? That will prevent the IDE
from trying to flash your device when starting the debugger.&lt;/p&gt;

&lt;p&gt;
I think you would still want to at least erase the chip before
entering debug mode. This would ensure that you are starting from a
reproducible state as opposed to a possible random state considering
this is a custom SoC. Being able to erase the device would also prove
that you dont have some sort of underlying hardware/connection
problem(s).&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help: Could not stop ARM device!</title><link>https://community.arm.com/thread/77036?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2009 20:41:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2cc74e86-e8f5-4708-b537-9c7d46dfaa3b</guid><dc:creator>Syed T</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi Drew,&lt;/p&gt;

&lt;p&gt;
Thanks so much for the reply.&lt;/p&gt;

&lt;p&gt;
To clarify, I am not trying to load the code in flash. Rather i
just want to enter into debug mode so that, initially i can test the
integrity of the core, peripherals and internal memory by just
reading the default values and writing a pattern and verify it.&lt;/p&gt;

&lt;p&gt;
What else do i need to do if i just need to enter in debug mode
from the keil tool.&lt;/p&gt;

&lt;p&gt;
Thanks in Advance.&lt;/p&gt;

&lt;p&gt;
Syed&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help: Could not stop ARM device!</title><link>https://community.arm.com/thread/53223?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2009 07:49:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c7e2c933-cf35-4143-b2ae-8128e4dcd313</guid><dc:creator>Drew Blank</dc:creator><description>&lt;p&gt;&lt;p&gt;
Here are some things to try:&lt;/p&gt;

&lt;p&gt;
1) try lowering the JTAG clock to 200kHz. I don&amp;#39;t think this will
solve your particular problem, but it seems to solve a lot of other
problems.&lt;/p&gt;

&lt;p&gt;
2) Try erasing your chip by doing a hard reset followed by a Flash
-&amp;gt; Erase. Details of this method can be found in this thread --
&lt;a href="http://www.keil.com/forum/docs/thread13650.asp"&gt;http://www.keil.com/forum/docs/thread13650.asp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
3) Try downloading flash magic and erasing your device via a com
port.&lt;/p&gt;

&lt;p&gt;
Once you have erased your chip, you should be able to flash it
successfully.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>