<?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>LPC1768 programming problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/29868/lpc1768-programming-problem</link><description> 
Hello 
I program lpc1768 by bootloader;Now I want to work with jtag or jlink
but I cant. 
I heard that if I program the micro by bootloader then I can&amp;#39;t
program it with jtag or jlink unless I erase it with flash magic. 
Is it right?what&amp;#39;s the reason</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC1768 programming problem</title><link>https://community.arm.com/thread/106991?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2013 01:33:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b8c29c4d-fb1b-46fc-b428-8bbec4386623</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Flash Magic connects directly to the UART0 (of course with proper
RS-232 level shifters).&lt;/p&gt;

&lt;p&gt;
Have you checked the chapter about ISP in the processor
manual?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC1768 programming problem</title><link>https://community.arm.com/thread/81096?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2013 13:01:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d16c397b-4b7d-454d-94c7-f4db2a140adb</guid><dc:creator>very question</dc:creator><description>&lt;p&gt;&lt;p&gt;
thanks my friend&lt;br /&gt;
I use keil uvision 4.6 and I wrote NO_CRP in Asm tab in target
option&lt;br /&gt;
Do you have any schematic of flash magic circuit ?&lt;br /&gt;
Thanks in advance&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC1768 programming problem</title><link>https://community.arm.com/thread/68186?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2013 12:37:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7279049c-6434-4c42-9f6c-a19afdddbd97</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
It depends on your software.&lt;/p&gt;

&lt;p&gt;
If the boot loader was programmed with the code-protect activated,
then you need to fully erase the chip using Flash Magic.&lt;/p&gt;

&lt;p&gt;
Same if your boot loader contains any bug that changes clocks or
turns off the JTAG interface - that is a reason why it is often good
to have an intentional delay at start of program before starting to
do interesting things with the hardware - just so the JTAG adapter
can connect and stop the program before any bug locks up the
hardware.&lt;/p&gt;

&lt;p&gt;
My guess is that you must use Flash Magic because of code
protection.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>