<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC Microcontrollers中的主题 Re: Attempting to debug board causes chip to become bricked.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518222#M2565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Wed Nov 05 14:17:20 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I removed my modified board project and replaced it with the board project included in LPCOpen.&amp;nbsp; I am still having the same problem so I assume the board files are not to blame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the only difference I see between the webserver project that works and the webserver project that does not work is which workspace I am in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:32:39 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:32:39Z</dc:date>
    <item>
      <title>Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518218#M2561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Tue Nov 04 18:53:04 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a board that I am trying to run the webserver demo on from the LPCOpen library.&amp;nbsp; I have two workspaces, one with all the LPCOpen demo code and another where I copied just the webserver project into.&amp;nbsp; I can debug the webserver demo from the first workspace and everything works.&amp;nbsp; When I try to debug the webserver code from the other workspace the debug process freezes, LPCXpresso crashes, and the board becomes bricked.&amp;nbsp; I then have to use the FlashMagic program to clear the chip before I can program it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing that is different between the two workspaces is that I modified the board.c file in the workspace where the code crashes.&amp;nbsp; Other than that I don't seem to have any leads on what is causing the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error that pops up is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15: Target error from Commit Flash write&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System rejected access at location 0x400FC040 - verify Population of memory and peripherals&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15: Target error from Read Memory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot complete transaction, even after slowing speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the console when the process fails:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Debug Driver v7.4 (Sep&amp;nbsp; 8 2014 17:48:23 - crt_emu_cm3_nxp build 21)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: HID64HS12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Packet delay: 0&amp;nbsp; Poll delay: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loaded LPC175x_6x_512.cfx: LPC175x_6x (512K) Sep 15 2014 17:39:55&amp;nbsp; On-chip Flash Memory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP: LPC1769&amp;nbsp; Part ID: 0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v LPCXpresso Free License - Download limit is 256K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing 44048 bytes to address 0x00000000 in Flash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Erased/Wrote page&amp;nbsp; 0-7 with 32768 bytes in 4458msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Erased/Wrote page&amp;nbsp; 8-10 with 11280 bytes in 1562msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash Write Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash Program Summary: 44048 bytes in 6.02 seconds (7.14 KB/sec)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target error from Commit Flash write: Em(12). System rejected access at location 0x400FC040 - verify Population of memory and peripherals&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target error from Read Memory: Em(11). Cannot complete transaction, even after slowing speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$1 = 0xff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The target endianness is set automatically (currently little endian)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The GDB trace is:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;070,704 2-environment-cd "C:/Users/nick/Desktop/work stuff/code/Alto/webserver"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,720 2^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,720 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,720 3-gdb-set breakpoint pending on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,736 3^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,736 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,736 4-enable-pretty-printing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,751 4^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,751 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,751 5-gdb-set python print-stack none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,767 5^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,767 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,767 6-gdb-set print object on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,782 6^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,782 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,782 7-gdb-set print sevenbit-strings on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,798 7^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,798 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,798 8-gdb-set charset ISO-8859-1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,814 8^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,814 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,814 9-gdb-set auto-solib-add on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,829 9^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,829 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,829 10-file-exec-and-symbols --thread-group i1 "C:/Users/nick/Desktop/work stuff/code/Alto/webse\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rver/Debug/webserver.axf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,845 10^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,845 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,845 11set remotetimeout 60000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,860 &amp;amp;"set remotetimeout 60000\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,860 =cmd-param-changed,param="remotetimeout",value="60000"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,860 11^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,860 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;070,860 12-target-select extended-remote | crt_emu_cm3_nxp -msg-port=57914 -g -mi -2 -pLPC1769 -vend\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or=NXP -e0 -wire=hid -flash-driver=LPC175x_6x_512.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,328 =thread-group-started,id="i1",pid="42000"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,328 =thread-created,id="1",group-id="i1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,328 13-list-thread-groups --available&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,375 *stopped,frame={addr="0x1fff0ba6",func="??",args=[]},thread-id="1",stopped-threads="all"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,375 12^connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,375 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,375 13^error,msg="Can not fetch data now."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,375 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,375 14set mem inaccessible-by-default off&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,391 &amp;amp;"set mem inaccessible-by-default off\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,391 =cmd-param-changed,param="mem inaccessible-by-default",value="off"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,391 14^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,391 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,391 15mon ondisconnect cont&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,406 &amp;amp;"mon ondisconnect cont\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,422 15^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,422 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,422 16set arm force-mode thumb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,438 &amp;amp;"set arm force-mode thumb\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,438 =cmd-param-changed,param="arm force-mode",value="thumb"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,438 16^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,438 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,438 17-target-download&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,484 17+download,{section=".text",section-size="44040",total-size="431005"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,484 17+download,{section=".data",section-size="8",total-size="431005"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;071,985 18-list-thread-groups&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,620 17^error,msg="Error finishing flash operation"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,620 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,620 19-interpreter-exec console "mon capabilities"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,636 18^done,groups=[{id="i1",type="process",pid="42000",executable="C:\\Users\\nick\\Desktop\\wo\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rk stuff\\code\\Alto\\webserver\\Debug\\webserver.axf"}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,636 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,636 20-list-thread-groups i1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,651 19^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,651 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,651 21-interpreter-exec console "mon semihost enable"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,667 20^done,threads=[{id="1",target-id="Thread &amp;lt;main&amp;gt;",frame={level="0",addr="0x1fff0ba6",func="\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;??",args=[]},state="stopped"}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,667 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,682 21^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,682 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,698 22-interpreter-exec console "mon info,all"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,714 23-stack-info-depth --thread 1 11&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,807 22^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,807 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,994 23^done,depth="3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;078,994 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,026 24-data-list-register-names&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,026 25-stack-list-frames --thread 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,041 24^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12",\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"sp","lr","pc","","","","","","","","","","xpsr","","","","","","","","","","","","","","","","","",\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;","","","","","","","","","","","","","","","cycles"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,041 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,041 25^done,stack=[frame={level="0",addr="0x1fff0ba6",func="??"},frame={level="1",addr="0x1fff0c\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be",func="??"},frame={level="2",addr="0x1fff0cbe",func="??"}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,041 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,041 26-gdb-show --thread-group i1 language&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,057 26^done,value="auto"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,057 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,057 27-gdb-set --thread-group i1 language c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,072 27^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,072 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,072 28-interpreter-exec --thread-group i1 console "p/x (char)-1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,088 ~"$1 = 0xff\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,088 28^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,088 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,088 29-data-evaluate-expression --thread-group i1 "sizeof (void*)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,104 29^done,value="4"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,104 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,104 30-gdb-set --thread-group i1 language auto&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,119 30^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,119 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,120 31-interpreter-exec --thread-group i1 console "show endian"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,136 ~"The target endianness is set automatically (currently little endian)\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,136 31^done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,136 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,136 32-break-insert -t -f main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,261 32^error,msg="Cannot access memory at address 0x62a6"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,261 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,261 33-list-thread-groups&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,261 34-thread-info 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,276 33^done,groups=[{id="i1",type="process",pid="42000",executable="C:\\Users\\nick\\Desktop\\wo\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rk stuff\\code\\Alto\\webserver\\Debug\\webserver.axf"}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,276 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,276 34^done,threads=[{id="1",target-id="Thread &amp;lt;main&amp;gt;",frame={level="0",addr="0x1fff0ba6",func="\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;??",args=[]},state="stopped"}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,276 (gdb) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,276 35-gdb-exit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,292 35^exit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,292 =thread-exited,id="1",group-id="i1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;079,292 =thread-group-exited,id="i1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is some more useful information to describe the problem I am having I will provide it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518218#M2561</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518219#M2562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Nov 04 21:49:18 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please read this FAQ for regaining debug access, which also lists possible causes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fregaining-debug-access" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518219#M2562</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518220#M2563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Wed Nov 05 00:44:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nickogden&lt;/STRONG&gt;&lt;BR /&gt;If there is some more useful information to describe the problem I am having I will provide it.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;..schematic and changes in board.c...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518220#M2563</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518221#M2564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Wed Nov 05 14:03:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I read the FAQ.&amp;nbsp; That is how I found out how to use FlashMagic to recover debug access.&amp;nbsp; At this point I don't have any trouble regaining access to the board after it becomes bricked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I am having is that when I attempt debug the chip from my current workspace it will crash LPCXpresso and brick my board.&amp;nbsp; If I switch workspaces then everything works fine.&amp;nbsp; I would like to know what could cause this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518221#M2564</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518222#M2565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Wed Nov 05 14:17:20 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I removed my modified board project and replaced it with the board project included in LPCOpen.&amp;nbsp; I am still having the same problem so I assume the board files are not to blame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the only difference I see between the webserver project that works and the webserver project that does not work is which workspace I am in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518222#M2565</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518223#M2566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 05 14:55:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Try deleting the Debug (launch) configuration (*.launch files in your project) and then start another debug session. This will have the effect of resetting your configuration to the defaults.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that does not work, please post your non-working project(s)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518223#M2566</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518224#M2567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Wed Nov 05 16:32:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I deleted the debug.launch file and started another debug session.&amp;nbsp; Nothing has changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attatched my copy of the webserver project from LPCOpen.&amp;nbsp; It should be exactly the same as the one on the website, except I turned off DHCP and set the address to 192.168.112.250.&amp;nbsp; I doubt that is related to my problem though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518224#M2567</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518225#M2568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 05 18:29:42 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just imported your project (together with the chip and board projects from LPCOpen) and it works perfectly, every time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exactly which board are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518225#M2568</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518226#M2569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Wed Nov 05 18:41:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My project uses a custom LPC1769 board.&amp;nbsp; However, the same thing happens on other boards.&amp;nbsp; For example, I just now opened a new OM13000, connected it to my computer, and attempted to debug it.&amp;nbsp; The board is now bricked and it happened in exactly the same way as all the others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I am using the most recent version of LPCXpresso, 7.4.0, build 229.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518226#M2569</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518227#M2570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 05 21:58:15 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try what I did:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- open a new workspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- import your project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- import the chip and board projects from lpcopen&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518227#M2570</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to debug board causes chip to become bricked.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518228#M2571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nickogden on Wed Dec 10 14:23:29 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason the file iocon_17xx_40xx.h was not the same as the most recent version of LPCOpen.&amp;nbsp; These definitions for the pull-up/pull-down control were:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;#define IOCON_MODE_INACT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2/*!&amp;lt; No addition pin function */
#define IOCON_MODE_PULLDOWN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3/*!&amp;lt; Selects pull-down function */
#define IOCON_MODE_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0/*!&amp;lt; Selects pull-up function */
#define IOCON_MODE_REPEATER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1/*!&amp;lt; Selects pin repeater function */&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;#define IOCON_MODE_INACT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x2 &amp;lt;&amp;lt; 2)/*!&amp;lt; No addition pin function */
#define IOCON_MODE_PULLDOWN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x3 &amp;lt;&amp;lt; 2)/*!&amp;lt; Selects pull-down function */
#define IOCON_MODE_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x0 &amp;lt;&amp;lt; 2)/*!&amp;lt; Selects pull-up function */
#define IOCON_MODE_REPEATER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x1 &amp;lt;&amp;lt; 2)/*!&amp;lt; Selects pin repeater function */&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which was somehow causing the board to become bricked.&amp;nbsp; My guess is that the lack of the shift meant that one of the JTAG pins was being configured improperly.&amp;nbsp; At any rate, everything seems to be working now.&amp;nbsp; Thank you for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Attempting-to-debug-board-causes-chip-to-become-bricked/m-p/518228#M2571</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:42Z</dc:date>
    </item>
  </channel>
</rss>

