<?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>uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/34456/uni-ds3-lpc2148-mcu-with-ulink2-config-fails</link><description> 
Hello , 

 
my SW Environment is 

 
-uvision 5 

 
My HW Environment is 

 
-Development Board : UNI-DS3 based on LPC2148 Board from
MicroElectronika 

 
-ULINK2 JTAG adapter from Keil 

 
My HW Setup : 
============= 
1- placing Jumpers J1-J7 to JTAG</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/150439?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 09:58:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9035d0e9-2b52-4a5e-b20f-ecc43aa99d3b</guid><dc:creator>nehal yousry</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello,&lt;br /&gt;
i need to know if &amp;quot;breakpoints is disabled in C-code and it has been
ignored in stepping too&amp;quot; is related to JTAG drivers or IDE
Debug-functionalities with JTAG HW&lt;/p&gt;

&lt;p&gt;
notes :&lt;br /&gt;
-stepping in Simlator works fine in C and Disassembly&lt;br /&gt;
-i checked related threads in forum but in vain&lt;/p&gt;

&lt;p&gt;
Many Thanks and Best Regards,&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/150025?ContentTypeID=1</link><pubDate>Sun, 21 Jun 2015 13:36:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:40428723-20a8-46fb-85d2-0a5718c62365</guid><dc:creator>nehal yousry</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello,&lt;/p&gt;

&lt;p&gt;
regarding J8,J9 position (it was in &amp;quot;CONNECT&amp;quot; position)&lt;br /&gt;
but it seems to me(from schematics) that p0.31 would not be low.&lt;/p&gt;

&lt;p&gt;
my update now&lt;/p&gt;

&lt;p&gt;
1- i replace MCU card itself with another one(problem seems to be
with old MCU)&lt;br /&gt;
2- remove jumpers J10 ,J8,J9(till now could not know what are their
effect to JTAG accessibility )&lt;br /&gt;
3- use ARMFlash to download program (due to strange behaviour when
use ULINK2 flash driver for programming)&lt;br /&gt;
4- finally use ULINK2 to attach to the program&lt;/p&gt;

&lt;p&gt;
it successfully attaches and start debugging (in disassembly
only)&lt;/p&gt;

&lt;p&gt;
anyway , it&amp;#39;s satisfied for me for now&lt;/p&gt;

&lt;p&gt;
Many thanks for help and Best Regards :) ,&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/149541?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 14:52:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:efd4f2b6-f14e-4d8c-b02f-465b3d30622a</guid><dc:creator>Gary Olson</dc:creator><description>&lt;p&gt;&lt;p&gt;
What is J8 and J9 position?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/14458/lpc2148-problem-with-jtag-nothing-works/"&gt;
&lt;a href="http://www.keil.com/forum/14458/lpc2148-problem-with-jtag-nothing-works/"&gt;www.keil.com/.../&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
According to that thread:&lt;/p&gt;

&lt;p&gt;
&amp;quot;Check the pin P0.31, if you pull them down at reset, JTAG pins
disabled&amp;quot;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/131517?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 12:30:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b28263b0-5e6e-4a60-affb-6ea896d5debb</guid><dc:creator>nehal yousry</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello,sorry for let u misunderstand&lt;/p&gt;

&lt;p&gt;
My first case is board position for j10 let jtag itself detected
but could not stop the cpu&lt;br /&gt;
But when I set j10 for vbus pos. Ulink issues &amp;quot;no jtag device
found&amp;quot;&lt;br /&gt;
So , position not affecting solution&lt;/p&gt;

&lt;p&gt;
Thanks and best regards&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/128949?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 13:54:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:12cdd106-cf93-42ae-904e-ebbd9ba66c65</guid><dc:creator>Gary Olson</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for letting us know you had success&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/117795?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 13:35:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aad0d655-4a3d-436a-bf20-36fa8fffedc1</guid><dc:creator>nehal yousry</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello ,&lt;br /&gt;
regarding J10 , the position that let JTAG Detected by ULINK-IDE is
the &amp;quot;BOARD&amp;quot; position&lt;/p&gt;

&lt;p&gt;
and changing it let JTAG not found by Debugger&lt;/p&gt;

&lt;p&gt;
Thanks ,&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/108268?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2015 17:28:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6abd27d1-eb32-475e-b854-112eb43b93e2</guid><dc:creator>Gary Olson</dc:creator><description>&lt;p&gt;&lt;p&gt;
I looked at this PDF&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://lib.chipdip.ru/247/DOC000247175.pdf"&gt;lib.chipdip.ru/.../DOC000247175.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
I do not see the JP10 shown on the schematic. I do see some sort
of multiplexer and wonder&lt;br /&gt;
if JP10 controls that. I would think the multiplexer has to
disconnect the Other programmer&lt;br /&gt;
when you want to use the JTAG. I would try changing JP10 to opposite
position. I think that might be called VBUS.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/117796?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2015 07:07:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f46d93cd-d83a-42f3-80b1-96c7b246544d</guid><dc:creator>nehal yousry</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello ,&lt;/p&gt;

&lt;p&gt;
Currently i neither use UART-based Flash Programmer nor UART as a
data channel,&lt;/p&gt;

&lt;p&gt;
can i conclude that i have to revise the Code security by LPC2148
and the board to assure which component affect JTAG Access and have
to erase the OCFlash to get the default settings&lt;/p&gt;

&lt;p&gt;
But if i reprogram the OCFLASH and try to attach ulink and start
debugging(without programming) , may it have the same problem of JTAG
access&lt;/p&gt;

&lt;p&gt;
Thanks ,&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/82631?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2015 06:37:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:23e08d1c-0f9e-4c1d-abb2-167486c85cc3</guid><dc:creator>nehal yousry</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello , thanks for responsive reply&lt;/p&gt;

&lt;p&gt;
Development kit has already a running program of blinking leds of
ucos-ii RTOS Demo ,&lt;/p&gt;

&lt;p&gt;
But how could this happen , you mean as a must-to-be board
settings or from the code itself&lt;/p&gt;

&lt;p&gt;
and how i can debug it while a program is already running ?(with
JTAG jumpers are already set )&lt;/p&gt;

&lt;p&gt;
ulink allows to fully Earse the on-chip ROM .so i tried to first
us ARMFLASH from Mikroelectronica to erase the chip , but fails .&lt;/p&gt;

&lt;p&gt;
so ,i have to use ULINK FLASH Programmer&lt;br /&gt;
Thanks,&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/108264?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 10:35:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a0a0c6f5-959f-4755-8a28-7fdfc3309d71</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
UART0 is the serial port used by the factory-supplied boot loader
of the NXP ARM chips, and lots of boards do support straps to
associate RS-232 handshake lines with the boot loader signals to
allow FlashMagic to automatically reset the chip and enter ISP
programming mode. So a serial cable on UART0 most definitely can
distrurb the boot sequence.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/93447?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 09:00:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dcf31d6e-95f6-49b1-ba91-c593199a90a7</guid><dc:creator>Gary Olson</dc:creator><description>&lt;p&gt;&lt;p&gt;
I have seen this happen on Keil Boards when a RS232 cable is
hooked to UART0( I think) and&lt;br /&gt;
one of the pins on the UART connector forces ISP condition. Then can
see that error&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uni-ds3 LPC2148  MCU with ULINK2 Config. Fails</title><link>https://community.arm.com/thread/63817?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 07:51:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:22a7269d-1ef6-47ed-84ab-0b15f711e691</guid><dc:creator>re yoReinhard Keil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Is this an empty device or a device that has already some firmware
in it? Firmware can disable access to the JTAG pins which would
result in such errors.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>