<?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>topic boot from SD-card in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/boot-from-SD-card/m-p/422643#M4625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TWR-VF65GS10 Rev. H is delivered with an SD card containing code that boots. I don't know what the code does apart from blink a few LEDs, but it is obviously operational.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have my own code and I would like to put it on the SD card so that it boots in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can make out, a header needs to be added to the code (IVT, DCD, Boot data structures). Also it looks like this image is copied to the SD card in a RAW format (no FAT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does one do this?&lt;/P&gt;&lt;P&gt;- is there some PC program that generates the header? (input A5 and M4 programs - output a bootable image)?&lt;/P&gt;&lt;P&gt;- how does one write RAW data to an SD card using a PC - the supplied card looks to have a small FAT partition and lots of unused space where presumably the bootable code is hiding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the SD card is probably the simplest method to use to start with (seeing that it can be programmed in another device) I expect that many people are using it for development work and so this must be a fairly standard procedure (some how).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 02:20:39 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2015-07-20T02:20:39Z</dc:date>
    <item>
      <title>boot from SD-card</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/boot-from-SD-card/m-p/422643#M4625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TWR-VF65GS10 Rev. H is delivered with an SD card containing code that boots. I don't know what the code does apart from blink a few LEDs, but it is obviously operational.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have my own code and I would like to put it on the SD card so that it boots in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can make out, a header needs to be added to the code (IVT, DCD, Boot data structures). Also it looks like this image is copied to the SD card in a RAW format (no FAT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does one do this?&lt;/P&gt;&lt;P&gt;- is there some PC program that generates the header? (input A5 and M4 programs - output a bootable image)?&lt;/P&gt;&lt;P&gt;- how does one write RAW data to an SD card using a PC - the supplied card looks to have a small FAT partition and lots of unused space where presumably the bootable code is hiding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the SD card is probably the simplest method to use to start with (seeing that it can be programmed in another device) I expect that many people are using it for development work and so this must be a fairly standard procedure (some how).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 02:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/boot-from-SD-card/m-p/422643#M4625</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-07-20T02:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: boot from SD-card</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/boot-from-SD-card/m-p/422644#M4626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Header can be compiled as a struct in your code.&lt;/P&gt;&lt;P&gt;I suggest you to refer to the&amp;nbsp; MQX bootloader example. The example already contains the IVT header.&lt;/P&gt;&lt;P&gt;I normally use Linux and the command dd to copy the raw data to the sd card. I think there is a tool that runs in windows and found in the MQX installation folder as well. (\tools\ddcopy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sd card you are using already has u-boot bootloader. You can use the bootloader to load the application from SD (found in FAT format) too.&lt;/P&gt;&lt;P&gt;This can be done using fatload and go commands in u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:48:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/boot-from-SD-card/m-p/422644#M4626</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-07-22T20:48:51Z</dc:date>
    </item>
  </channel>
</rss>

