<?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>CodeWarrior for MCUのトピックField upgrades, for the non-technical</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Field-upgrades-for-the-non-technical/m-p/231804#M9133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to figure a way to allow the upgrade of HCS08/Kinetis firmware with as few user dependencies as possible.Ideally, all I would want to expose the user to is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Power off system.&lt;/LI&gt;&lt;LI&gt;Remove an SD card.&lt;/LI&gt;&lt;LI&gt;Put in a new SD card.&lt;/LI&gt;&lt;LI&gt;Power on system.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...based on the old concept used in early game devices and other equipment, where the software is essentially an EPROM (or OT-PROM) fitted to a pluggable PCB - but with the crucial difference that what I would like to do is to have a bootloader on the MCU that will take the contents of the SD card and programme it to internal FLASH. Boot sequence being something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check card is inserted (if not, boot normally.)&lt;/LI&gt;&lt;LI&gt;Search card for file with a specific name, which contains a serial number, a target code, and the checksum of a firmware image.&lt;UL&gt;&lt;LI&gt;Serial number is checked against something in FLASH, to see if this software is newer than what's running.&lt;/LI&gt;&lt;LI&gt;Target code is essentially a way of saying "suitable for this device" - so it doesn't try loading Kinetis firmware onto an HCS08, for example.&lt;/LI&gt;&lt;LI&gt;Checksum is compared with calculated checksum of firmware image on SD card.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Assuming all of the above pass, new firmware is loaded into FLASH, system re-starts. Otherwise, boot from existing firmware.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I know that Erich Styger has Processor Expert beans for SD card access and a FAT filesystem, but is there a reference design/recipe for something like this that can be worked from, rather than re-inventing the wheel?&lt;/P&gt;&lt;P&gt;The idea is that devices would be incorporated into interactive art exhibits, with upgrades being possible for people with zero technical knowledge, and without having to lug a computer and/or cables around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 22:00:47 GMT</pubDate>
    <dc:creator>Smiffytech</dc:creator>
    <dc:date>2013-01-21T22:00:47Z</dc:date>
    <item>
      <title>Field upgrades, for the non-technical</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Field-upgrades-for-the-non-technical/m-p/231804#M9133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to figure a way to allow the upgrade of HCS08/Kinetis firmware with as few user dependencies as possible.Ideally, all I would want to expose the user to is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Power off system.&lt;/LI&gt;&lt;LI&gt;Remove an SD card.&lt;/LI&gt;&lt;LI&gt;Put in a new SD card.&lt;/LI&gt;&lt;LI&gt;Power on system.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...based on the old concept used in early game devices and other equipment, where the software is essentially an EPROM (or OT-PROM) fitted to a pluggable PCB - but with the crucial difference that what I would like to do is to have a bootloader on the MCU that will take the contents of the SD card and programme it to internal FLASH. Boot sequence being something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check card is inserted (if not, boot normally.)&lt;/LI&gt;&lt;LI&gt;Search card for file with a specific name, which contains a serial number, a target code, and the checksum of a firmware image.&lt;UL&gt;&lt;LI&gt;Serial number is checked against something in FLASH, to see if this software is newer than what's running.&lt;/LI&gt;&lt;LI&gt;Target code is essentially a way of saying "suitable for this device" - so it doesn't try loading Kinetis firmware onto an HCS08, for example.&lt;/LI&gt;&lt;LI&gt;Checksum is compared with calculated checksum of firmware image on SD card.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Assuming all of the above pass, new firmware is loaded into FLASH, system re-starts. Otherwise, boot from existing firmware.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I know that Erich Styger has Processor Expert beans for SD card access and a FAT filesystem, but is there a reference design/recipe for something like this that can be worked from, rather than re-inventing the wheel?&lt;/P&gt;&lt;P&gt;The idea is that devices would be incorporated into interactive art exhibits, with upgrades being possible for people with zero technical knowledge, and without having to lug a computer and/or cables around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 22:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Field-upgrades-for-the-non-technical/m-p/231804#M9133</guid>
      <dc:creator>Smiffytech</dc:creator>
      <dc:date>2013-01-21T22:00:47Z</dc:date>
    </item>
  </channel>
</rss>

