<?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>i.MX ProcessorsのトピックRe: Serial Download Example/Instructions or Tool?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147064#M366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll double check that..but (for example) when capturing the traffic for the MfgTool as it set up and loaded a Linux variant the first command to send was 020253FA855420000000000030000000...the reason I tried to put in DEADBEEF was to see what was going on since it didn't seem like the 00300000 wrote into the memory properly. &amp;nbsp;However, since this I have been able to set up RAM properly and write to it, copy it back and confirm it is correct and jump properly receiving the 88 88 88 88 code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2012 22:47:09 GMT</pubDate>
    <dc:creator>Michael_ng</dc:creator>
    <dc:date>2012-03-27T22:47:09Z</dc:date>
    <item>
      <title>Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147047#M349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to be able to use the serial download (micro usb for example) to boot new executables rather than loading them onto the micro SD...any guidance help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 00:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147047#M349</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-20T00:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147048#M350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use the MFG tool&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=IMXMFG_TOOL&amp;amp;appType=license&amp;amp;location=null" target="_blank"&gt;https://www.freescale.com/webapp/Download?colCode=IMXMFG_TOOL&amp;amp;appType=license&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 03:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147048#M350</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-03-20T03:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147049#M351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying you want to load code into RAM via the mfg. tool every time you make a change? Maybe you really want to boot via nfs mounted rfs? Or are you debugging kernel changes? Maybe you can give more details?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 19:41:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147049#M351</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2012-03-20T19:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147050#M352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes to your first question... We are building/porting a microkernel to the iMX53 and so are doing bare metal work.&amp;nbsp; On an M3 which we developed our microkernel on first, we load into flash from eclipse and run from there which is much quicker than installing a new image on the micro sd and booting it that way.&amp;nbsp; If we can go directly to memory that should work..network boot would likely work too if the bootloader takes care of setting up the drivers for ethernet the way it apparently does for usb and uart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 03:52:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147050#M352</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-21T03:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147051#M353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used the tool but the only options are to load the OS into one of the media (SD, eMMC...etc.)..what I Really want to do is to be able to skip that step and download via the serial connection straight to memory and have the OS start.&amp;nbsp; Also, when using the tool it seemed to work reasonably well for the first couple of steps and then gave me an error (Update Error 0x100).. I read the log but it was unclear to me what the issue was.&amp;nbsp; The other problem with the MfgTool is that it's Windows based and I'm doing my development on a Linux machine.&amp;nbsp; This is just another step in the process for trying to update the image.&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Yuri Muhin said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/serial-download-example-instructions-or-tool?groupUrl=imx53quickstartboard&amp;amp;commentId=4103961%3AComment%3A64058&amp;amp;xg_source=msg_com_gr_forum#4103961Comment63792"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Please use the MFG tool&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=IMXMFG_TOOL&amp;amp;appType=license&amp;amp;location=null" rel="nofollow" target="_blank"&gt;https://www.freescale.com/webapp/Download?colCode=IMXMFG_TOOL&amp;amp;a...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" rel="nofollow"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX5...&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 03:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147051#M353</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-21T03:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147052#M354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use uboot to load the kernel via the network ( tftpboot ) and run it? Or are you not wanting to run any code at all before your kernel? ( once set up, this would be easiest in my opinion )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've not used the mfg tool much, but I thought there were config files that basically ran linux commands, I think there were a couple commands needed to load the mfg. kernel to communicate with the tool, but once past that they were all linux commands, so you could create a custom config to just load your kernel. There should be docs with the tool describing this, and you could use one of the base configs, copy it and modify it for this...but I would think tftpboot would be easiest...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 11:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147052#M354</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2012-03-21T11:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147053#M355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The serial download protocol is documented in the System Boot guide of the reference manual.&lt;/P&gt;&lt;P&gt;You could possibly develop your own tool to simply initialize the memory, load the code, and execute it.&lt;/P&gt;&lt;P&gt;If your familiar with Python, I can send you an example that uses pyserial, so will use the serial port instead of USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that any file that is downloaded and executed through the serial download protocol must have a valid image vector table at the offset 0x0 of the binary. That one should have at least a valid header, entry and self address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 16:20:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147053#M355</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-03-21T16:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147054#M356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your post.&amp;nbsp; Yes!&amp;nbsp; Please send me the python example.&amp;nbsp; This is what I'm looking for.&amp;nbsp; I did look at the serial downloader protocol and in fact I used a USB protocol analyzer last night to capture the MfgTool's interaction with the board...it mapped out nicely (mostly) with the codes given in the serial downloader section and I'm much clearer on what I need to do in order to put an image straight into memory and execute.&lt;/P&gt;&lt;P&gt;I was able to identify the memory writes/ reads/ file writes and clearly identified the IVT header and the DCD that was used to initialize RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response and I look forward to getting a copy of the pyserial.&amp;nbsp; Is the example set up for the iMX53 already or just a starting point to tinker with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Florent Auger said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/serial-download-example-instructions-or-tool?groupUrl=imx53quickstartboard&amp;amp;commentId=4103961%3AComment%3A64143&amp;amp;xg_source=msg_com_gr_forum#4103961Comment64143"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;The serial download protocol is documented in the System Boot guide of the reference manual.&lt;/P&gt;&lt;P&gt;You could possibly develop your own tool to simply initialize the memory, load the code, and execute it.&lt;/P&gt;&lt;P&gt;If your familiar with Python, I can send you an example that uses pyserial, so will use the serial port instead of USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that any file that is downloaded and executed through the serial download protocol must have a valid image vector table at the offset 0x0 of the binary. That one should have at least a valid header, entry and self address.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 20:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147054#M356</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-21T20:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147055#M357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florent, please post the Python example.&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Florent Auger said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/serial-download-example-instructions-or-tool?groupUrl=imx53quickstartboard&amp;amp;commentId=4103961%3AComment%3A64086&amp;amp;xg_source=msg_com_gr_forum#4103961Comment64143"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;The serial download protocol is documented in the System Boot guide of the reference manual.&lt;/P&gt;&lt;P&gt;You could possibly develop your own tool to simply initialize the memory, load the code, and execute it.&lt;/P&gt;&lt;P&gt;If your familiar with Python, I can send you an example that uses pyserial, so will use the serial port instead of USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that any file that is downloaded and executed through the serial download protocol must have a valid image vector table at the offset 0x0 of the binary. That one should have at least a valid header, entry and self address.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 04:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147055#M357</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2012-03-22T04:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147056#M358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To explain what could be done with the Python script, I created that page in this new group:&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/group/tools-and-utilities/page/exercising-the-i-mx-serial-download-protocol-with-a-python-script" target="_blank"&gt;http://imxcommunity.org/group/tools-and-utilities/page/exercising-the-i-mx-serial-download-protocol-with-a-python-script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope it will help. Note, that the manufacturing tool or AdvancedToolKit could be used as well. I'll try to deal with this later on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 16:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147056#M358</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-03-22T16:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147057#M359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Florent...one last question though..on the new page you mention Bootstrap_protocol.py write_file memory_address file to download the executable img...is this still writing the SD card or other media?&amp;nbsp; This will still work as a quicker solution than pulling the card out and doing a dd from my Linux based system but not bypassing the SD media..just want to be clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the script!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Florent Auger said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/serial-download-example-instructions-or-tool?groupUrl=imx53quickstartboard&amp;amp;#4103961Comment64448"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;To explain what could be done with the Python script, I created that page in this new group:&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/group/tools-and-utilities/page/exercising-the-i-mx-serial-download-protocol-with-a-python-script" rel="nofollow" target="_blank"&gt;http://imxcommunity.org/group/tools-and-utilities/page/exercising-t...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope it will help. Note, that the manufacturing tool or AdvancedToolKit could be used as well. I'll try to deal with this later on.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 04:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147057#M359</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-23T04:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147058#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;The Serial Download Protocol can just write a memory location, that is memory mapped. A SD card requires a driver, and is not a memory directly accessible by the core. Therefore, you can't write directly to a SD, to a NAND flash, NOR flash, ...&lt;/P&gt;&lt;P&gt;This means that the write file must be done typically to a RAM location where the code will be executed: SDRAM, SRAM, internal RAM, NAND flash buffer,...&lt;/P&gt;&lt;P&gt;Actually, the file should be loaded at the same place than if it was loaded by the ROM code during boot. This address is the one given in the "Boot Data Structure" defined in the manual (7.6.1.2): "start: Absolute address of the image".&lt;/P&gt;&lt;P&gt;This is typically somewhere in the SDRAM, and hopefully the address where the code was linked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 10:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147058#M360</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-03-23T10:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147059#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting there on the tool...&amp;nbsp;&lt;SPAN&gt;I added a function to the script to set up the RAM needed starting with address 53FA8554, but every other write gives me the "unable to write" error? &amp;nbsp;I'm wondering if it's perhaps a timing issue? &amp;nbsp;I tried to put in a sleep for 1 second between the 1st and 2nd calls to write_mem but the 2nd call still gets the error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Florent Auger said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/serial-download-example-instructions-or-tool?groupUrl=imx53quickstartboard&amp;amp;#4103961Comment64514"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;The Serial Download Protocol can just write a memory location, that is memory mapped. A SD card requires a driver, and is not a memory directly accessible by the core. Therefore, you can't write directly to a SD, to a NAND flash, NOR flash, ...&lt;/P&gt;&lt;P&gt;This means that the write file must be done typically to a RAM location where the code will be executed: SDRAM, SRAM, internal RAM, NAND flash buffer,...&lt;/P&gt;&lt;P&gt;Actually, the file should be loaded at the same place than if it was loaded by the ROM code during boot. This address is the one given in the "Boot Data Structure" defined in the manual (7.6.1.2): "start: Absolute address of the image".&lt;/P&gt;&lt;P&gt;This is typically somewhere in the SDRAM, and hopefully the address where the code was linked.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 07:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147059#M361</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-26T07:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147060#M362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use hex number without starting with &lt;STRONG&gt;0x&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;python iMX*.py write_mem 0xd1002040 -32 cc058077&amp;nbsp;&amp;nbsp; =&amp;gt; nok&lt;/P&gt;&lt;P&gt;it must be:&lt;/P&gt;&lt;P&gt;python iMX*.py write_mem 0xd1002040 -32 &lt;STRONG&gt;0x&lt;/STRONG&gt;cc058077&amp;nbsp;&amp;nbsp; =&amp;gt; ok&lt;/P&gt;&lt;P&gt;otherwise you'll have to change the script to accept both.&lt;/P&gt;&lt;P&gt;0xD1002040 is part of the SDRAM chip select CSD1, is there any memory there? If not, you can not write there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a write, the i.MX sends an acknowledge, as long as it is received, it means the processor is ready for the next command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147060#M362</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-03-26T08:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147061#M363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that later about stripping the other 0x...thanks. &amp;nbsp;Yes, I think it's making sense now on the chip select. &amp;nbsp;I noticed the Mfg Tool does the write to addresses starting with 53fa8554 and moves through 63 and ends at 7000000 (RAM)...then that tool does a file write including the 0xd1002040 and other needed parts (IVT etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting to make sense...thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 16:30:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147061#M363</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-26T16:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147062#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write_mem 0x53fa8554 -32 0xDEADBEEF &amp;nbsp; &amp;nbsp;(for example)...the write says it works...&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;read_mem 0x53fa8554 -32 4 out.txt &amp;nbsp; &amp;nbsp;the result says:&lt;/P&gt;&lt;P&gt;00 28 00 20 &amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;CITE&gt;Florent Auger said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/serial-download-example-instructions-or-tool?groupUrl=imx53quickstartboard&amp;amp;commentId=4103961%3AComment%3A64727&amp;amp;xg_source=msg_com_gr_forum#4103961Comment64727"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;You can't use hex number without starting with &lt;STRONG&gt;0x&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;python iMX*.py write_mem 0xd1002040 -32 cc058077&amp;nbsp;&amp;nbsp; =&amp;gt; nok&lt;/P&gt;&lt;P&gt;it must be:&lt;/P&gt;&lt;P&gt;python iMX*.py write_mem 0xd1002040 -32 &lt;STRONG&gt;0x&lt;/STRONG&gt;cc058077&amp;nbsp;&amp;nbsp; =&amp;gt; ok&lt;/P&gt;&lt;P&gt;otherwise you'll have to change the script to accept both.&lt;/P&gt;&lt;P&gt;0xD1002040 is part of the SDRAM chip select CSD1, is there any memory there? If not, you can not write there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a write, the i.MX sends an acknowledge, as long as it is received, it means the processor is ready for the next command.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 16:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147062#M364</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-26T16:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147063#M365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's probably time to read the i.MX reference manual...&lt;/P&gt;&lt;P&gt;0x53FA8554 is a register where most of the bits are not writable !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 09:20:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147063#M365</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-03-27T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147064#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll double check that..but (for example) when capturing the traffic for the MfgTool as it set up and loaded a Linux variant the first command to send was 020253FA855420000000000030000000...the reason I tried to put in DEADBEEF was to see what was going on since it didn't seem like the 00300000 wrote into the memory properly. &amp;nbsp;However, since this I have been able to set up RAM properly and write to it, copy it back and confirm it is correct and jump properly receiving the 88 88 88 88 code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 22:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147064#M366</guid>
      <dc:creator>Michael_ng</dc:creator>
      <dc:date>2012-03-27T22:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147065#M367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is SDP (serial download protocol) Freescale proprietary protocol or an open source or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 04:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147065#M367</guid>
      <dc:creator>rajansrivastava</dc:creator>
      <dc:date>2013-01-21T04:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Serial Download Example/Instructions or Tool?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147066#M368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SDP protocol is adopted into i.MX ROM. Regarding the protocol description, you can get the information from SoC RM "8.8.2 Serial Download protocol".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 07:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serial-Download-Example-Instructions-or-Tool/m-p/147066#M368</guid>
      <dc:creator>lily_zhang</dc:creator>
      <dc:date>2013-01-21T07:50:03Z</dc:date>
    </item>
  </channel>
</rss>

