<?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>Can replace a new MCU at execution board?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23379/can-replace-a-new-mcu-at-execution-board</link><description> 
Date : 28/02/2008 

 
To Keil Suport and LPC2103/MCB2103 user: 

 
Im a user that use the MCU of LPC2103, test with MCB2103
Evaluation Board, developed with Keil Software, communicate with
ULINK USB-JTAG Adapter. For now occur that &amp;quot;JTAG Communication</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Can replace a new MCU at execution board?</title><link>https://community.arm.com/thread/100330?ContentTypeID=1</link><pubDate>Sat, 22 Mar 2008 20:52:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce575911-3398-45a3-a920-202d2a165537</guid><dc:creator>Wong Kok Seng</dc:creator><description>&lt;p&gt;&lt;p&gt;
Is the part no. of MCU have any different?&lt;br /&gt;
After I change the a new LPC2103 MCU buy from Mouser.com, the result
that is also that&lt;/p&gt;

&lt;p&gt;
&amp;quot;No Target Device found&amp;quot;&lt;/p&gt;

&lt;p&gt;
Can anybody give any advice to me, thank you very much!!&lt;/p&gt;

&lt;p&gt;
Below link is the original LPC2103 part no. from Keil MCB2103
evaluation board&lt;br /&gt;

&lt;a href="http://i6.photobucket.com/albums/y234/xiaer85/keil/PartnoofLPC2103whereIbuyfromMouserc.jpg"&gt;i6.photobucket.com/.../PartnoofLPC2103whereIbuyfromMouserc.jpg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Below link is the LPC2103 part no. buy from Mouser.com&lt;br /&gt;

&lt;a href="http://i6.photobucket.com/albums/y234/xiaer85/keil/PartnoofLPC2103onMCB2103EvaluationB.jpg"&gt;i6.photobucket.com/.../PartnoofLPC2103onMCB2103EvaluationB.jpg&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can replace a new MCU at execution board?</title><link>https://community.arm.com/thread/76037?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2008 03:10:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ac30f578-9fe7-4e73-85d1-9426d9beac89</guid><dc:creator>Wong Kok Seng</dc:creator><description>&lt;p&gt;&lt;p&gt;
thank you mr. Per Westermark give me advice&lt;br /&gt;
Did the oscilloscope have any other ground reference besides this
pin, i.e. did the oscilloscope short this pin ground or to any other
potential?&lt;/p&gt;

&lt;p&gt;
==&amp;gt; No..&lt;/p&gt;

&lt;p&gt;
=======================================================&lt;/p&gt;

&lt;p&gt;
Have you checked if the crystal on the board oscillates? Of course
this test doesn&amp;#39;t mean anything if the processor defaults to an
internal RC oscillator until a program specifically reconfigures it
to use an external crystal.&lt;/p&gt;

&lt;p&gt;
==&amp;gt; the oscillator did funtion properly&lt;/p&gt;

&lt;p&gt;
=======================================================&lt;/p&gt;

&lt;p&gt;
Are there any I/O pins on the chip that should switch to specific
logic states when the processor is turned on, and before any program
changes them to outputs and forces them to high or low state? Are
there any indications that the processor do power up?&lt;/p&gt;

&lt;p&gt;
==&amp;gt; I just use the oscillator to check the mcu power VDD pin,
is tat have 1.8VDC and 3.3 VDC, the power supply voltage for cpu is
ok other jumper setting when on the evaluation is ok&lt;/p&gt;

&lt;p&gt;
=======================================================&lt;/p&gt;

&lt;p&gt;
So for now i just use the KEIL simulation funtion for develop&lt;/p&gt;

&lt;p&gt;
but i do met some problem when UART RX&lt;/p&gt;

&lt;p&gt;
is tat correct for like this UART RX?&lt;br /&gt;
I save the Uart buffer to one char array tat i declared&lt;br /&gt;
but some time will loss some byte, i try solve this problem few day,
but dint work...&lt;/p&gt;

&lt;p&gt;
the structure i try is tat i use my ps&amp;#39;s com2 keep send the data
to com1(as simulate for cpu UART RX)&lt;/p&gt;

&lt;p&gt;
/* initialize part */&lt;/p&gt;

&lt;p&gt;
void uart_init(void)&lt;br /&gt;
{ PINSEL0 = 0x5; /* enable UART TX and RX */ U0FCR = 0x7; /* FIFO
enable */ U0LCR = 0x83; /* DLAB on*/ U0DLM = 1; /* 9600, N, 8, 1
U0DLL = 135; /* 60Mhz PClk */ U0LCR = 0x3; /* DLAB on*/&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;
int main()&lt;br /&gt;
{ char chr[100]; int i=0;&lt;/p&gt;

&lt;p&gt;
uart_init();&lt;/p&gt;

&lt;p&gt;
while (1) { while(!(U0LSR &amp;amp; 0x1)); chr[i] = U0RBR; ++i;&lt;/p&gt;

&lt;p&gt;
if (i==100) PINSEL0 = 0x0; /* disable UART RX, TX functio */ }&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;
before execute, i will try type the keil debug simulation command
to let my PC comport be mcu UART RX.&lt;br /&gt;
=========================&lt;br /&gt;
mode com1 9600, 0, 8, 1&lt;br /&gt;
assign com1 &amp;lt;s0in&amp;gt; s0out&lt;br /&gt;
=========================&lt;/p&gt;

&lt;p&gt;
according above code i try, the data save in chr array always have
some miss save, i really dont know why, could not find out why&lt;/p&gt;

&lt;p&gt;
i try decrease my pc&amp;#39;s com2 TX sending interval time to slower,
but also happen the miss data&lt;/p&gt;

&lt;p&gt;
if i use hyperterminal(com1) rx the data from com2, its ok, no
problem...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can replace a new MCU at execution board?</title><link>https://community.arm.com/thread/51558?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2008 01:55:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7049bedd-2cc8-4939-8b34-e2403eb51c92</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Did the oscilloscope have any other ground reference besides this
pin, i.e. did the oscilloscope short this pin ground or to any other
potential?&lt;/p&gt;

&lt;p&gt;
I normally work in an environment where the test platform and the
oscilloscope are galvanically isolated from each other, so if I
connect a ground cable from the scope to the target, no current will
flow. This is required to be able to measure with any signal as
reference, without the need for using the A-B mode of the scope.&lt;/p&gt;

&lt;p&gt;
Have you checked if the crystal on the board oscillates? Of course
this test doesn&amp;#39;t mean anything if the processor defaults to an
internal RC oscillator until a program specifically reconfigures it
to use an external crystal.&lt;/p&gt;

&lt;p&gt;
Are there any I/O pins on the chip that should switch to specific
logic states when the processor is turned on, and before any program
changes them to outputs and forces them to high or low state? Are
there any indications that the processor do power up?&lt;/p&gt;

&lt;p&gt;
Note that unless you have decent equipment and a bit of
experience, it is far cheaper/quicker to buy a new board than to
spend the time and replace the chip. I assume that it is a LQFP48
chip on the board, since it has a VBAT signal.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>